This keeps a local git mirror of the OpenCode repository in your vendor directory so Claude can reference the codebase directly. You clone it once to vendor/opencode, then pull updates with git -C vendor/opencode pull --ff-only when needed. The key thing is keeping it gitignored so you never accidentally commit someone else's entire repo into yours. It's useful when you're building skills, plugins, or MCPs and want Claude to have the actual OpenCode source as context rather than just documentation. Simple setup, but easy to mess up if you forget the --ff-only flag or commit the mirror.
npx skills add https://github.com/different-ai/openwork --skill opencode-mirror