Agent skill

Collaborating With Claude

by yunshenwuchuxun in yunshenwuchuxun/latex-paper-skills

Use the Claude Code CLI as a depth-analysis co-pilot for paper-from-zero.

MITAuto-check passedDocuments & Office

Install Collaborating With Claude

skills CLI
$ npx skills add yunshenwuchuxun/latex-paper-skills --skill collaborating-with-claude -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install yunshenwuchuxun/latex-paper-skills collaborating-with-claude --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/yunshenwuchuxun/latex-paper-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/collaborating-with-claude .claude/skills/collaborating-with-claude && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
collaborating-with-claude
GitHub stars
267
Token cost
~1.2k tokens
SKILL.md length
413 words
Files
4 (incl. scripts, references, assets)
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

Use the Claude Code CLI as a depth-analysis co-pilot for paper-from-zero.

  • Documents & Office work in your project
  • SKILL.md covers When to Use, When NOT to Use, Claude-Specific Rules and Model Selection, plus 5 more sections
  • Runs Python scripts from its folder; calls python3

What it does

Collaborating With Claude is an agent skill from yunshenwuchuxun/latex-paper-skills. Use the Claude Code CLI as a depth-analysis co-pilot for paper-from-zero. Primary role: claim tree compression, logical hole detection, evidence sufficiency audit, and review/empirical routing judgment. Also supports generic code collaboration as fallback.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts, reference files and assets (for example `assets/prompt-template.md`, `references/shell-quoting.md` and `scripts/claude_bridge.py`).

It sits in Documents & Office. The repository describes itself as: A modular skill-based framework for writing, revising, and managing LaTeX academic papers with AI assistance. The licence is MIT.

When your agent uses it

  • Documents & Office work in your project

Example prompts

  • “/collaborating-with-claude”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit d0f1061. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Collaborating With Claude loads about 1.2k tokens when it runs, and up to ~1.5k if it reads all its reference files. Until then it costs about 71 tokens; SKILL.md has 413 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~71
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from yunshenwuchuxun/latex-paper-skills at commit d0f1061, republished under its MIT licence (© yunshenwuchuxun). 413 words, ~1,222 tokens.

Download SKILL.mdSave it as .claude/skills/collaborating-with-claude/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
collaborating-with-claude
description
Use the Claude Code CLI as a depth-analysis co-pilot for paper-from-zero. Primary role: claim tree compression, logical hole detection, evidence sufficiency audit, and review/empirical routing judgment. Also supports generic code collaboration as fallback.
metadata.short-description
Depth co-pilot (Claude) for paper-from-zero

Collaborating with Claude Code (Codex)

Use Claude Code CLI as a depth-analysis collaborator for paper-from-zero, or as a generic code collaborator in fallback mode.

This skill provides a lightweight bridge script (scripts/claude_bridge.py) that returns structured JSON and supports multi-turn sessions via SESSION_ID.

Shared rules: This skill inherits all shared rules from ../../_shared/collaboration-base.md (core rules, candidates-only constraint, fallback code-collaboration mode, safety guardrails, and collaboration state capsule format). Only Claude-specific additions are listed below.

When to Use

  • contribution-map initial draft needs claim-level stress testing.
  • evidence-matrix needs sufficiency audit (does evidence match claim strength?).
  • Routing decision (review vs empirical) needs adversarial challenge.
  • A specific claim needs deep falsification analysis.
  • Fallback: generic code collaboration (analysis, patch, review).

When NOT to Use

  • Broad literature expansion or adjacent-area scanning (use Gemini).
  • Generating candidate framing directions (use Gemini).
  • Generating ref.bib entries or verified citations.
  • Tasks requiring breadth exploration rather than depth analysis.

Claude-Specific Rules

  • Always run the bridge script with --help first if you are unsure of parameters.
  • Prefer file/line references; run the bridge with --cd set to the repo root. Use --add-dir when Claude needs access to additional directories.
  • For automation, prefer --SESSION_ID (resume). Session selectors are mutually exclusive: choose one of --SESSION_ID, --continue, or --session-id.
  • Ensure Claude Code is logged in before running headless commands (run claude and /login once if needed).
  • Streamed JSON requires --verbose; the bridge enables this automatically.
Show full SKILL.md (187 more words)Show less

Model Selection

Claude Code supports model aliases, so you can use --model sonnet / --model opus instead of hard-coding versioned model IDs.

  • If you omit --model, Claude Code uses its configured default (typically from ~/.claude/settings.json, optionally overridden by .claude/settings.json and .claude/settings.local.json).
  • If you need strict reproducibility, pass a full model name via --model <full-name>.
  • For claim-stress-test and route-review-vs-empirical templates, prefer opus.
  • For evidence-sufficiency-audit, sonnet is sufficient.

Quick Start (shell-safe)

If your prompt contains Markdown backticks, use a heredoc; see references/shell-quoting.md.

bash
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.

Multi-turn Sessions

bash
# 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

Prompting Patterns (Paper Mode)

Use assets/prompt-template.md as a starter when crafting --PROMPT. Paper-mode templates (top of the file):

  • claim-stress-test — adversarial review of contribution-map (use --model opus)
  • route-review-vs-empirical — routing recommendation with adversarial self-challenge (use --model opus)
  • evidence-sufficiency-audit — per-claim evidence sufficiency assessment (use --model sonnet)

Each template specifies its input sources, output artifact mappings, and constraints.

Verification

  • Cross-check both collaborators: use the check-collaborators skill
  • Smoke-test the bridge: python3 .codex/skills/collaborating-with-claude/scripts/claude_bridge.py --help
  • For session testing: run one prompt with --output-format stream-json and confirm JSON contains success: true and a SESSION_ID.

References

  • ../../_shared/collaboration-base.md (shared rules)
  • assets/prompt-template.md (prompt patterns)
  • references/shell-quoting.md (shell quoting/backticks)

© yunshenwuchuxun, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references, assets) in .codex/skills/collaborating-with-claude of yunshenwuchuxun/latex-paper-skills.

  • SKILL.md
  • assets/prompt-template.md
  • references/shell-quoting.md
  • scripts/claude_bridge.py

Open the folder on GitHubat commit d0f1061

Compare with similar skills

Collaborating With Claude next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Collaborating With Claude compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Collaborating With Claude this skillyunshenwuchuxun/latex-paper-skills267—~1.2kAutomated safety check: PassMIT
Markdown Article FormatterJimLiu/baoyu-skills27k6 repos~3.5kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Obsidian MarkdownAtmosphere/atmosphere3.8k20 repos~1.3kAutomated safety check: PassApache-2.0
DOCXrvdbreemen/OTGW-firmware20733 repos~4.3kAutomated safety check: PassProprietary
Word Document Reader and WriterHKUDS/DeepTutor41k—~2.5kAutomated safety check: PassApache-2.0

Similar skills

  • Markdown Article Formatter

    JimLiu/baoyu-skills

    Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.

    27k GitHub starsUsed in 6 repos~3.5k tokens
    Documents & OfficeAuto-check passed
  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Obsidian Markdown

    Atmosphere/atmosphere

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    3.8k GitHub starsUsed in 20 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • DOCX

    rvdbreemen/OTGW-firmware

    A skill your agent uses whenever the user wants to create, read, edit, or manipulate Word documents (.docx files).

    207 GitHub starsUsed in 33 repos~4.3k tokens
    Documents & OfficeAuto-check passed
  • Reads, creates and edits Word .docx files with python-docx, and drops to raw OOXML for tracked changes, comments and byte-exact edits.

    41k GitHub stars~2.5k tokensUpdated 3 days ago
    Documents & OfficeAuto-check passed
  • Crossposting

    wasp-lang/wasp

    Crosspost Wasp blog articles (MDX) to DEV.to and Medium. An agent skill from wasp-lang/wasp.

    19k GitHub stars~1.1k tokensUpdated today
    Documents & OfficeAuto-check passed

More from yunshenwuchuxun/latex-paper-skills

All 8 skills in this repo
  • Arxiv Paper Writer

    yunshenwuchuxun/latex-paper-skills

    Writes ML/AI review and survey papers for arXiv using the IEEEtran LaTeX template with verified BibTeX citations.

    267 GitHub stars~3.2k tokensUpdated 6 mo ago
    Auto-check passed
  • Collaborating With Gemini

    yunshenwuchuxun/latex-paper-skills

    Use the Gemini CLI as a breadth-exploration co-pilot for paper-from-zero.

    267 GitHub stars~1.1k tokensUpdated 6 mo ago
    Auto-check passed
  • Paper From Zero

    yunshenwuchuxun/latex-paper-skills

    Route a fixed research topic into a rigorous paper-generation workflow.

    267 GitHub stars~1.5k tokensUpdated 6 mo ago
    Auto-check passed
  • Results Backfill

    yunshenwuchuxun/latex-paper-skills

    Back-fill verified experiment results into an existing empirical paper draft.

    267 GitHub stars~1.7k tokensUpdated 6 mo ago
    Auto-check passed
  • Empirical Paper Writer

    yunshenwuchuxun/latex-paper-skills

    Draft IEEE-style empirical ML/AI papers from a structured research contract.

    267 GitHub stars~5.3k tokensUpdated 6 mo ago
    Auto-check passed
  • Check Collaborators

    yunshenwuchuxun/latex-paper-skills

    Verify that Gemini CLI and Claude Code CLI are installed, authenticated, and API-reachable before starting collaboration workflows.

    267 GitHub stars~1.4k tokensUpdated 6 mo ago
    Auto-check passed

Questions about Collaborating With Claude

What does Collaborating With Claude do?

Use the Claude Code CLI as a depth-analysis co-pilot for paper-from-zero. Collaborating With Claude is an agent skill from yunshenwuchuxun/latex-paper-skills. Use the Claude Code CLI as a depth-analysis co-pilot for paper-from-zero.

When should I use Collaborating With Claude?

Collaborating With Claude fits situations like: documents & Office work in your project.

How do I install Collaborating With Claude in Claude Code?

Run `npx skills add yunshenwuchuxun/latex-paper-skills --skill collaborating-with-claude -a claude-code`. Or copy the skill folder (.codex/skills/collaborating-with-claude in yunshenwuchuxun/latex-paper-skills) into .claude/skills/collaborating-with-claude in your project. Claude Code loads it when a task matches its description.

How do I install Collaborating With Claude in Codex?

Run `npx skills add yunshenwuchuxun/latex-paper-skills --skill collaborating-with-claude -a codex`. Or copy the skill folder (.codex/skills/collaborating-with-claude in yunshenwuchuxun/latex-paper-skills) into .agents/skills/collaborating-with-claude in your project. Codex loads it when a task matches its description.

Can I use Collaborating With Claude in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yunshenwuchuxun/latex-paper-skills --skill collaborating-with-claude -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/collaborating-with-claude, .gemini/skills/collaborating-with-claude, .github/skills/collaborating-with-claude and .opencode/skills/collaborating-with-claude in your project.

What does Collaborating With Claude need to run?

Going by SKILL.md and its folder, Collaborating With Claude needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Collaborating With Claude access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Collaborating With Claude safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Collaborating With Claude use?

Collaborating With Claude is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Collaborating With Claude use?

About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 316 tokens, read only when the agent opens those files.

What are the alternatives to Collaborating With Claude?

Skills that share tags, products or a category with Collaborating With Claude: Markdown Article Formatter (JimLiu/baoyu-skills, 27k stars), Markitdown (ImCa0/just-laws, 781 stars), Obsidian Markdown (Atmosphere/atmosphere, 3.8k stars) and DOCX (rvdbreemen/OTGW-firmware, 207 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Collaborating With Claude?

yunshenwuchuxun (a GitHub user) maintains it in yunshenwuchuxun/latex-paper-skills, which has 267 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on March 25, 2026.

Source: yunshenwuchuxun/latex-paper-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.