Use claude code hooks definition in opencode.
1 file for Claude Code and OpenCode: list-hooks .
.opencode/commands/list-hooks.md B 8 tok These files are romain325/opencode-hooks-plugin's own configuration — they tell Claude Code and OpenCode how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.