Collaborating with Claude Code
"Delegate code implementation/review/debugging/alternatives to Claude Code via a JSON bridge script. Multi-turn via SESSION_ID."
Install in one line
CLI$ mfkvault install collaborating-with-claude-codeRequires the MFKVault CLI. Prefer MCP?
Free to install — no account needed
Copy the command below and paste into your agent.
Instant access • No coding needed • No account needed
What you get in 5 minutes
- Full skill code ready to install
- Works with 2 AI agents
- Lifetime updates included
Description
--- name: collaborating-with-claude-code description: "Delegate code implementation/review/debugging/alternatives to Claude Code via a JSON bridge script. Multi-turn via SESSION_ID." metadata: short-description: Use Claude Code as a collaborator --- # 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-s` as 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 to `stdout`. ## Context - Do **NOT** read the script unless you are modifying it; - Before running the script, ALWAYS use `python <script_loc> --help` to get the usage instructions. ## Usage - please always require claude code to fully understand the codebase before responding or making any changes. - Put collaborating-with-claude-code terminal commands in the background terminal. - Always review claude code's responses (or changes it makes) and make sure they are correct, constructive and complete. - When claude code asks clarifying questions in a multi-turn session, always respond to its questions in that session based on current situation. ## Default - **full access** (`--full-access`): use only in trusted repos/directories. - **extended thinking ON** (can disable via `--no-extended-thinking`). - **step mode AUTO** (can disable via `--step-mode off`). ## Output format The bridge prints JSON to `stdout`: ```json {"success": true, "SESSION_ID": "abc123", "agent_messages": "…Claude output…"} ``` ## Recommended delegation patterns - **Guided coding**: "Implement the code for [feature] following these specific steps/constraints." - **Second opinion**: "Propose an alternative approach and tradeoffs." - **Code review**: "Find bugs, race conditions, security issues; propose fixes." - **Test design**: "Write a test plan + edge cases; include example test code." - **Diff review**: "Review this patch; point out regressions and missing cases."
Security Status
Scanned
Passed automated security checks
Related AI Tools
More Career Boost tools you might like
ru-text — Russian Text Quality
FreeApplies professional Russian typography, grammar, and style rules to improve text quality across content types
/forge:工作流总入口
Free'Forge 工作流总入口。检查项目状态,推荐下一步该用哪个 skill。任何时候不知道下一步该干什么,就用 /forge。触发方式:用户说"forge"、"下一步"、"接下来做什么"、"继续"(在没有明确上下文时)。'
TypeScript React & Next.js Production Patterns
FreeProduction-grade TypeScript reference for React & Next.js covering type safety, component patterns, API validation, state management, and debugging
Charles Proxy Session Extractor
FreeExtracts HTTP/HTTPS request and response data from Charles Proxy session files (.chlsj format), including URLs, methods, status codes, headers, request bodies, and response bodies. Use when analyzing captured network traffic from Charles Proxy debug
Java Backend Interview Simulator
FreeSimulates realistic Java backend technical interviews with customizable interviewer styles and candidate levels for Chinese tech companies
AI News & Trends Intelligence
FreeFetches latest AI/ML news, trending open-source projects, and social media discussions from 75+ curated sources for comprehensive AI briefings