Bridge Hooks banner
xiaolai xiaolai

Bridge Hooks

Development community

Description

--- description: Mirror .claude/settings.json hooks into .codex/hooks.json so Codex runs the same hook scripts on the overlapping events. allowed-tools: - Bash - Read --- # /cc-suite:bridge-hooks Translate the `hooks` section of `.claude/settings.json` into `.codex/hooks.json`. Only events that both tools support are mirrored: - `SessionStart` - `UserPromptSubmit` - `PreToolUse` - `PostToolUse` - `Stop` Claude-only events (`Notification`, `SubagentStop`, `SessionEnd`) are skipped with a

Installation

Installs to ~/.claude/skills/xiaolai-cc-suite-bridge-hooks/SKILL.md

Terminal
mkdir -p ~/.claude/skills/xiaolai-cc-suite-bridge-hooks && curl -fsSL https://raw.githubusercontent.com/xiaolai/cc-suite/HEAD/commands/bridge-hooks.md -o ~/.claude/skills/xiaolai-cc-suite-bridge-hooks/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository