academic-paper-helper
Use only when the user explicitly asks for help drafting or revising an AI/ML research paper in LaTeX, including structure,…
Use when you want Claude Code CLI as a second opinion for coding tasks such as design tradeoffs, debugging, or diff review, while keeping Codex as the primary implementer.
$ npx -y skills add cnfjlhj/ai-collab-playbook --skill collaborating-with-claude --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/collaborating-with-claudeContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when you want Claude Code CLI as a second opinion for coding tasks such as design tradeoffs, debugging, or diff review, while keeping Codex as the primary implementer.
name: collaborating-with-claude description: Use when you want Claude Code CLI as a second opinion for coding tasks such as design tradeoffs, debugging, or diff review, while keeping Codex as the primary implementer. metadata: short-description: Delegate to Claude Code CLI
Use Claude Code CLI as a collaborator while keeping Codex as the primary implementer.
This skill provides a lightweight bridge script (`scripts/claude_bridge.py`) that returns structured JSON and supports multi-turn sessions via `SESSION_ID`.
Claude Code supports model aliases, so you can use `--model sonnet` / `--model opus` instead of hard-coding versioned model IDs.
⚠️ If your prompt contains Markdown backticks (`` `like/this` ``), do **not** pass it directly via `--PROMPT "..."` (your shell may treat backticks as command substitution). Use a heredoc instead; see `references/shell-quoting.md`.
PROMPT="$(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-json
**Output:** JSON with `success`, `SESSION_ID`, `agent_messages`, and optional `error` / `all_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-json
Use `assets/prompt-template.md` as a starter when crafting `--PROMPT`.
Provide:
Avoid:
Append this to prompts when requesting code:
Keep this short block updated near the end of your reply while collaborating:
[Claude Collaboration Capsule] Goal: Claude SESSION_ID: Files/lines handed off: Last ask: Claude summary: Next ask:
Practical AI collaboration playbook for research, writing, reading, and coding: article, prompts, agent rules, and reusable skills.
Use only when the user explicitly asks for help drafting or revising an AI/ML research paper in LaTeX, including structure,…
Use when a task is ambiguous and needs deep multi-role planning with designer, inspiration, and reviewer perspectives before…
Use when you explicitly want a second local or SSH remote Codex CLI session to prototype, debug, or review code, while your…
Use when you want Gemini CLI as a second opinion for coding tasks such as prototyping, debugging, or diff review, while keeping…
Use when the user asks whether a skill exists, wants help finding or installing one, or asks how to extend agent capabilities…
Use when a mostly complete ML conference paper needs self-review, pre-submission QA, camera-ready checking, section-by-section…