Loading...
Loading...
Use the Claude Code CLI to consult Claude and delegate coding tasks for prototyping, debugging, and code review. Supports multi-turn sessions via SESSION_ID. Optimized for low-token, file/line-based handoff.
npx skill4agent add renocrypt/latex-arxiv-skill collaborating-with-claudescripts/claude_bridge.pySESSION_IDclaudescripts/claude_bridge.py--cdclaude--add-dir--helpSESSION_ID--SESSION_ID--SESSION_ID--continue--session-idtimeout_mssonnetopusclaude/login--verbose--model sonnet--model opus--model~/.claude/settings.json.claude/settings.json.claude/settings.local.json--model <full-name>`like/this`--PROMPT "..."references/shell-quoting.mdPROMPT="$(cat <<'EOF'
Review src/auth.py around login() and propose fixes.
OUTPUT: Unified Diff Patch ONLY.
EOF
)"
python3 .codex/skills/collaborating-with-claude/scripts/claude_bridge.py --cd "." --model sonnet --PROMPT "$PROMPT" --output-format stream-jsonsuccessSESSION_IDagent_messageserrorall_messages# Start a session
PROMPT="$(cat <<'EOF'
Analyze the bug in foo(). Keep it short.
EOF
)"
python3 .codex/skills/collaborating-with-claude/scripts/claude_bridge.py --cd "." --PROMPT "$PROMPT" --output-format stream-json
# Continue the same session
PROMPT="$(cat <<'EOF'
Now propose a minimal fix as Unified Diff Patch ONLY.
EOF
)"
python3 .codex/skills/collaborating-with-claude/scripts/claude_bridge.py --cd "." --SESSION_ID "<SESSION_ID>" --PROMPT "$PROMPT" --output-format stream-jsonassets/prompt-template.md--PROMPTOUTPUT: Unified Diff Patch ONLY. Strictly prohibit any actual modifications.python3 .codex/skills/collaborating-with-claude/scripts/claude_bridge.py --help--output-format stream-jsonsuccess: trueSESSION_ID--output-format textstream-jsonjson--SESSION_IDtextSESSION_ID[Claude Collaboration Capsule]
Goal:
Claude SESSION_ID:
Files/lines handed off:
Last ask:
Claude summary:
Next ask:assets/prompt-template.mdreferences/shell-quoting.md