Install directly from npm using bun x:
bun x gm-oc@latestThis command will automatically install gm-oc to the correct location for your platform and restart OpenCode to activate.
Windows and Unix:
git clone https://github.com/AnEntrypoint/gm-oc ~/.config/opencode/plugin && cd ~/.config/opencode/plugin && bun installWindows PowerShell:
git clone https://github.com/AnEntrypoint/gm-oc "\$env:APPDATA\opencode\plugin" && cd "\$env:APPDATA\opencode\plugin" && bun installWindows and Unix:
git clone https://github.com/AnEntrypoint/gm-oc .opencode/plugins && cd .opencode/plugins && bun install- MCP tools for code execution and search
- State machine agent policy (gm)
- Git enforcement on session idle
- AST analysis via thorns at session start
The plugin activates automatically on session start.