collaborating-with-claude-code
Installation
SKILL.md
Collaborating with Claude Code
Use this skill for second opinions, code review, test design, or code implementations/alternatives. The bridge runs claude (Claude Code) non-interactively ("print" mode) and returns JSON.
The script is located at ~/.codex/skills/collaborating-with-claude-code/scripts/claude_code_bridge.py.
Timing
Claude Code often needs 1–2+ minutes per task.
- Prefer running the bridge directly (no
&); increase--timeout-sas needed (default: 1800s). - Do NOT redirect stdout to a file (e.g.
> /tmp/out.json). - By default, the bridge streams Claude's assistant text to
stderr, and prints only the final JSON envelope tostdout.
Context
- Do NOT read the script unless you are modifying it;
- Before running the script, ALWAYS use
python <script_loc> --helpto get the usage instructions.