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 |
|---|---|
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 |
notification |
Sends contextual desktop notifications and terminal attention for agent events |
pitchfork-dev-server-guard |
Enforces a project’s declared pitchfork dev-server workflow for agents |
readonly-subagent-shell-guard |
Rejects shell syntax that can turn read-only subagent commands into writes |
review-handoff-guard |
Nudges a session that goes idle with edited files and no change-review-handoff |
skill-updates |
Shows the dotfiles, skills and package update counts in the prompt footer, from dot updates status --json |
subagent-chrome-devtools-guard |
Blocks Chrome DevTools tools from delegated subagent sessions |