Plugins
OpenCode lifecycle plugins defined in this repo.
Plugins provide context, evidence, or enforcement hooks for OpenCode. Server plugins are loaded from ~/.config/opencode/plugins/.
| Plugin | Description |
|---|---|
cli-tools |
Exposes everyday CLIs and Effect clients as typed Code Mode tools |
commit-context |
Injects session-attributed commit scope into commit command prompts |
context-capture |
Opt-in capture of the assembled starter context for token profiling |
env-protection |
Blocks direct access to .env files, and any extra secret files listed in env-protection.yml, to prevent leaking secrets |
generated-artifact-guard |
Blocks direct mutation of generated dotfiles artefacts |
mcp-repo-gate |
Per-repo MCP server gating for OpenCode |
notes-guard |
Blocks direct file access to the repository notes vault |
pitchfork-dev-server-guard |
Enforces a project’s declared pitchfork dev-server workflow for agents |
review-handoff-guard |
Nudges a session that goes idle with edited files and no change-review-handoff |
skill-updates |
Shows pending update and missing install counts in the prompt footer, from the dot daemon’s status file, or dot updates status --json while the daemon is down |
subagent-chrome-devtools-guard |
Blocks Chrome DevTools tools from delegated subagent sessions |