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 |
|---|---|
agent-lint |
Runs the repository’s fallback lint commands after a successful agent run and holds any problems until the user sends or dismisses them |
ci-watch |
Follows the Herdr Workflow Watch state for the session’s checkout. Failures only reach the model when the user sends them |
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 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 |
pr-reviews |
Polls the review threads on the pull request for the session’s checkout. Threads only reach the model when the user sends them |
question-presentation-guard |
Rejects question tool calls that are not preceded by findings in chat |
readonly-subagent-shell-guard |
Rejects shell syntax that can turn read-only subagent commands into writes |
subagent-chrome-devtools-guard |
Blocks Chrome DevTools tools from delegated subagent sessions |