Collaborating with Claude Code
A bridge skill that delegates prototyping, debugging, and code review to the Claude Code CLI headlessly with session continuity.
Dev & CodingAdvanced★ 130⑂ 17AI score 9/10Last updated: Aug 17, 2026
What it does
- Wraps
claude --printinscripts/claude_bridge.py, streaming progress to stderr and returning structured JSON (SESSION_ID,agent_messages, cost, usage,tools_failed,permission_denials). - Supports multi-turn delegation via
SESSION_IDor--continue, with model aliases (haiku/sonnet/opus) plus--effort,--max-turns, and--max-budget-usdfor cost control. - Enforces read-only-first delegation (
--permission-mode planor--tools "Read,Glob,Grep"), granting writes only deliberately and preferably in an isolated worktree. - Documents the host-side approval trap: a sandboxed or classifier-gated host can silently deny the bridge call, and shows the allowlist fix.
Who it's for
- Developers who want an independent second opinion from another agent while they implement.
- Teams reviewing designs, edge cases, or test gaps in parallel with coding.
- Automation engineers who need per-run telemetry on cost and permission denials.
Examples
- Analyze the auth flow under
src/auth/inplanmode with no edits allowed. - Ask for a review of
login()insrc/auth.pyand require unified-diff-only output. - Turn 1 diagnoses a bug, then resume by
SESSION_IDto ask for a fix and edge cases.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/appautomaton/agent-designer/HEAD/skills/collaborating-with-claude/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/collaborating-with-claude folder from the GitHub repo appautomaton/agent-designer into my ~/.claude/skills/collaborating-with-claude/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/appautomaton/agent-designer.git /tmp/agent-designer && mkdir -p ~/.claude/skills && cp -r /tmp/agent-designer/skills/collaborating-with-claude ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Install the Claude Code CLI and log in (
claude, then/login), or exportANTHROPIC_API_KEY. - Clone the repo:
git clone https://github.com/appautomaton/agent-designer.git - Copy the skill:
mkdir -p ~/.claude/skills && cp -r agent-designer/skills/collaborating-with-claude ~/.claude/skills/ - Smoke test:
python3 ~/.claude/skills/collaborating-with-claude/scripts/claude_bridge.py --help - Pre-authorize the bridge: add
"Bash(python3 *collaborating-with-claude*bridge.py*)"topermissions.allowinsettings.json; sandboxed hosts also need the same pattern insandbox.excludedCommands. - Restart Claude Code and ask something like "delegate this code review to Claude Code CLI". For long runs, use background execution and a 600000 ms timeout.