collaborating-with-claude-code
БесплатноБез исполняемых скриптовНе проверенDelegate code implementation/review/debugging/alternatives to Claude Code via a JSON bridge script. Multi-turn via SESSION_ID.
от ZhenHuangLab★ 40 звёзд на GitHubОб этом скилле
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.
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:
{"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."
Установить collaborating-with-claude-code в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл collaborating-with-claude-code?
Delegate code implementation/review/debugging/alternatives to Claude Code via a JSON bridge script. Multi-turn via SESSION_ID.
Как установить скилл collaborating-with-claude-code?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл collaborating-with-claude-code запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic