opencode-cc-hooksMinimal OpenCode plugin that bridges Claude Code hooks (PreToolUse, PostToolUse, UserPromptSubmit, Stop, PreCompact) to OpenCode's event system
0
30
7 in 7 days
19.8
Multi-signal model
5 months ago
2026-02-27
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-cc-hooks@1.0.0"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-cc-hooks@1.0.0"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D opencode-cc-hooksopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
No README provided
Missing documentation usually means the project is still early. Check the source repository for details.