Skip to main content
skill CX Codex

collaborating-with-claude — Claude Code skill: install & use

collaborating-with-claude consults Claude Code CLI as an advisor for diff reviews and tradeoffs while your primary agent builds.

no license ★ 475 updated 2026-10-13

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add cnfjlhj/ai-collab-playbook --skill collaborating-with-claude -a claude-code
Open on GitHub

What collaborating-with-claude does

This skill routes inquiries to the Claude Code CLI using a helper script named scripts/claude_bridge.py. It returns structured JSON and retains conversation state across rounds using SESSION_ID. Claude acts strictly as an advisor here: file writes remain locked down, and the script enforces replies formatted exclusively as unified diff patches.

Execution works via --cd at the project root, passing file references rather than entire file dumps. Routine runs lean on the sonnet model alias, reserving opus strictly for tricky debugging or explicit requests.

Without prior terminal authentication via claude and /login, headless script execution will fail immediately.

What it helps with

  • gather a second opinion on architecture tradeoffs and edge cases
  • generate unified diff patches without modifying working directory files
  • review existing diffs for missing automated tests and edge bugs
  • maintain stateful multi-turn debugging sessions through a bridge script

Example prompts for the agent

  • Ask Claude via the bridge for a second opinion on src/auth.py
  • Request a unified diff patch from Claude to fix the bug in session s-12345

How to install collaborating-with-claude

1Skills CLI (Vercel)

npx skills add cnfjlhj/ai-collab-playbook --skill collaborating-with-claude -a claude-code

2Manually: put the files in place

~/.claude/skills/collaborating-with-claude/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/collaborating-with-claude/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about collaborating-with-claude

How do I install collaborating-with-claude in Claude Code?

Run npx skills add cnfjlhj/ai-collab-playbook --skill collaborating-with-claude -a claude-code in your terminal.

What does collaborating-with-claude do?

It runs Claude Code CLI as a secondary reviewer to inspect diffs and suggest patches via a Python bridge script.

What prerequisites are required before using the bridge?

You must log in interactively via claude beforehand so headless calls can authenticate without an interactive prompt.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set18

The whole set →
论文精读 论文精读 is a Claude Code prompt for reading English academic papers paragraph by paragraph, preserving the original text and providing a scholarly Chinese translation and analytical commentary. GP ChatGPT ★ 475repo stars research-lead-sidecar The research-lead-sidecar skill keeps the lead agent on the critical path while bounded side tasks go to subagents. Use it for research-led work where the lead still needs to own the final decisions. CX Codex +1 ★ 475repo stars spec-first-mvp The spec-first-mvp skill stops development before implementation and requires a short spec, a list of throwaway probes, and a go/no-go decision point. CX Codex +1 ★ 475repo stars collaborating-with-gemini collaborating-with-gemini connects Gemini CLI as a second opinion for diff inspection, bug analysis, and prototyping via a Python bridge. CX Codex +1 ★ 475repo stars collaborating-with-codex collaborating-with-codex is a Claude Code skill that sends bounded coding tasks to a separate local or SSH-based Codex CLI session. Claude Code retains final edits and verification. CX Codex +1 ★ 475repo stars question-refiner question-refiner transforms a vague research question into a structured deep-research brief. Asks clarifying questions, collects requirements for format, sources and scope, then generates a ready-to-use prompt. CX Codex +1 ★ 475repo stars paper-review-pipeline paper-review-pipeline is a Claude Code skill that reviews near-final ML conference papers section by section, prioritizes issues from P0 to P2, and drafts rebuttal responses. CX Codex +1 ★ 475repo stars paper2html paper2html converts academic papers from arXiv, LaTeX or PDF into self-contained Chinese reading pages with KaTeX math and verified evidence. CX Codex +1 ★ 475repo stars

Project sponsors

Companies that keep this analytics open