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. |
Each plugin is a single TypeScript file. To use one:
- Clone or download this repo.
- Add the plugin path to your
opencode.jsonpluginarray:{ "plugin": [ "/absolute/path/to/opencode-plugins/strip-skills-catalog/index.ts" ] } - Restart OpenCode. Plugin loading is logged at INFO level (
opencode serve --log-level INFO).
See OpenCode plugin docs for details.
PRs welcome. Each plugin should:
- Live in its own directory with
index.tsand aREADME.mddocumenting purpose, mechanism, and verification steps. - Use only the official
@opencode-ai/pluginAPI 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.
MIT.