Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.43 KB

File metadata and controls

36 lines (26 loc) · 1.43 KB

opencode-plugins

Community plugins for OpenCode.

Plugin What it does
strip-skills-catalog Removes the <available_skills> block from the system prompt. The skill tool stays callable on demand. Saves roughly 100–200 tokens per installed skill on every turn.
strip-fleet-only-blocks Removes <!-- fleet-only:start -->...<!-- fleet-only:end --> blocks from the system prompt. Useful when shared rules files cover both personal/dev and fleet-managed (cron, multi-bot) sessions.

Installing a plugin

Each plugin is a single TypeScript file. To use one:

  1. Clone or download this repo.
  2. Add the plugin path to your opencode.json plugin array:
    {
      "plugin": [
        "/absolute/path/to/opencode-plugins/strip-skills-catalog/index.ts"
      ]
    }
  3. Restart OpenCode. Plugin loading is logged at INFO level (opencode serve --log-level INFO).

See OpenCode plugin docs for details.

Contributing

PRs welcome. Each plugin should:

  • Live in its own directory with index.ts and a README.md documenting purpose, mechanism, and verification steps.
  • Use only the official @opencode-ai/plugin API surface — no monkey-patching the binary.
  • Document measured impact (tokens saved, behavior changed, etc.) and how a reader can verify it on their own setup.

License

MIT.