{ONE_LINE_TAGLINE} — clear value proposition in one sentence.
{2-3 sentences explaining the problem this plugin solves and who it's for. Be specific: "For opencode users who..."}
# Install globally (server + TUI)
opencode plugin @four-bytes/four-opencode-{PLUGIN} -gOr manually in ~/.config/opencode/opencode.json:
{
"plugin": ["file:///home/user/four-opencode-{PLUGIN}/dist/four-opencode-{PLUGIN}.js"]
}If the plugin has a TUI sidebar: also register in ~/.config/opencode/tui.json:
{
"plugin": [["/home/user/four-opencode-{PLUGIN}", { "enabled": true, "sidebar": true }]]
}Restart opencode after adding. For npm-distributed plugins, opencode plugin <name> -g handles both files automatically.
Sample .opencode/{plugin}.json:
{
"enabled": true
}| Field | Type | Default | Description |
|---|---|---|---|
enabled |
boolean | true |
Enable/disable the plugin |
| Tool | Token Savings | Description |
|---|---|---|
tool_name |
~XX% | What it does |
Use when: {When should an agent use this tool?}
| Param | Type | Default | Description |
|---|---|---|---|
param |
string | — | ... |
PRs welcome! See CONTRIBUTING.md for dev setup.
bun install
bun run build
bun testRequirements: Bun >= 1.0, opencode with plugin support.
Apache-2.0 — see LICENSE
If this plugin saves you tokens or time, consider leaving a ⭐ on GitHub.