Agent skill

Check Collaborators

by yunshenwuchuxun in yunshenwuchuxun/latex-paper-skills

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

MITAuto-check passedDocuments & Office

Install Check Collaborators

skills CLI
$ npx skills add yunshenwuchuxun/latex-paper-skills --skill check-collaborators -a claude-code

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

GitHub CLI
$ gh skill install yunshenwuchuxun/latex-paper-skills check-collaborators --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/check-collaborators .claude/skills/check-collaborators && 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
check-collaborators
GitHub stars
267
Token cost
~1.4k tokens
SKILL.md length
557 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

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

  • Documents & Office work in your project
  • SKILL.md covers When to use, When not to use, Inputs and Outputs, plus 4 more sections
  • Calls claude, gemini and npm; reaches docs.anthropic.com; needs GEMINI_API_KEY and GOOGLE_API_KEY

What it does

Check Collaborators is an agent skill from yunshenwuchuxun/latex-paper-skills. Verify that Gemini CLI and Claude Code CLI are installed, authenticated, and API-reachable before starting collaboration workflows.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

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

  • “/check-collaborators”

Requirements

  • Node.js
  • A credential in GEMINI_API_KEY
  • A credential in GOOGLE_API_KEY

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

    Shell commands in SKILL.md call:

    • claude
    • gemini
    • npm

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • docs.anthropic.com

    Also links to:

    • github.com

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

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GEMINI_API_KEY
    • GOOGLE_API_KEY

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

Context cost

Check Collaborators loads about 1.4k tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 557 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

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); files beside SKILL.md are not scanned.

SKILL.md

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

Download SKILL.mdSave it as .claude/skills/check-collaborators/SKILL.md (or your agent's skills folder).
name
check-collaborators
description
Verify that Gemini CLI and Claude Code CLI are installed, authenticated, and API-reachable before starting collaboration workflows.
metadata.short-description
Collaborator CLI health check

Collaborator CLI Health Check

When to use

  • Before starting any collaboration workflow that depends on Gemini or Claude Code.
  • When diagnosing CLI connectivity or authentication issues.
  • After installing or reconfiguring either CLI.

When not to use

  • Both CLIs are already confirmed working in the current session.
  • The task does not involve cross-agent collaboration.

Inputs

  • Current OS environment (auto-detected).

Outputs

  • Summary table: Collaborator x CLI / Version / Auth / API / Status.
  • Actionable remediation advice for any failed step.

Workflow

Run the Gemini and Claude detection chains in parallel where possible. For each collaborator, execute steps sequentially and short-circuit on the first failure — skip subsequent steps and mark the failure reason.

Step 0: Detect OS

Determine the platform to choose the correct binary-lookup command:

  • Windows (win32): use where
  • Unix/macOS: use which

Detect via uname -s 2>/dev/null (returns nothing or errors on Windows) or check $OSTYPE.


Gemini Detection Chain
1. CLI Exists
bash
# Unix
which gemini
# Windows
where gemini

Pass: command exits 0 and outputs a path. Fail: command not found — suggest: npm install -g @anthropic-ai/gemini-cli or see https://github.com/google-gemini/gemini-cli

2. Version
bash
timeout 15 bash -c 'GEMINI_CLI_NO_RELAUNCH=true gemini --version'

On Windows (no timeout command), run directly:

bash
GEMINI_CLI_NO_RELAUNCH=true gemini --version

GEMINI_CLI_NO_RELAUNCH=true is required to prevent the CLI from hanging.

Pass: output contains a version string (e.g., 0.32.1). Fail: timeout or no version output.

3. Auth

Check for any of the following (any one is sufficient):

  1. Environment variable GEMINI_API_KEY is set and non-empty.
  2. Environment variable GOOGLE_API_KEY is set and non-empty.
  3. File ~/.gemini/oauth_creds.json exists.
bash
[[ -n "$GEMINI_API_KEY" ]] || [[ -n "$GOOGLE_API_KEY" ]]
test -f "$HOME/.gemini/oauth_creds.json"

Pass: any one condition is true. Fail: none found — suggest: export GEMINI_API_KEY=<key> or run gemini interactively to complete OAuth.

4. API Connectivity
bash
timeout 30 gemini --prompt "Reply with exactly: HEALTH_OK"

Pass: stdout contains HEALTH_OK. Fail: timeout or no HEALTH_OK in output — suggest checking network, API key validity, or quota.

Note: Gemini CLI may emit warnings (e.g., skill conflict notices) in its output. These are benign and do not affect the health check. The pass/fail criterion is solely whether HEALTH_OK appears in stdout.


Claude Code Detection Chain
1. CLI Exists
bash
# Unix
which claude
# Windows
where claude

Pass: command exits 0 and outputs a path. Fail: command not found — suggest: npm install -g @anthropic-ai/claude-code or see https://docs.anthropic.com/en/docs/claude-code

Show full SKILL.md (225 more words)Show less
2. Version
bash
timeout 15 claude --version

Pass: output contains a version string (e.g., 2.1.74). Fail: timeout or no version output.

3. Auth
bash
claude auth status

Pass: output contains Logged in or JSON field loggedIn: true. Fail: not logged in — suggest: run claude interactively and use /login.

4. API Connectivity
bash
timeout 30 claude --print "Reply with exactly: HEALTH_OK" --output-format text --no-session-persistence --max-budget-usd 0.50

Pass: stdout contains HEALTH_OK. Fail: timeout or no HEALTH_OK — suggest checking API key, network, or account quota.

Note: --max-budget-usd must be at least 0.50. Lower values (e.g., 0.01, 0.05) cause immediate Exceeded budget errors because model inference has a minimum cost floor.


Output Format

Present a summary table after all checks:

| Collaborator | CLI | Version | Auth | API | Status    |
|--------------|-----|---------|------|-----|-----------|
| Gemini       | ✓/✗ | x.y.z   | ✓/✗  | ✓/✗ | Available / Failed |
| Claude Code  | ✓/✗ | x.y.z   | ✓/✗  | ✓/✗ | Available / Failed |
  • Use ✓ for passed steps, ✗ for failed steps, — for skipped steps (due to short-circuit).
  • Status is Available only if all 4 steps pass; otherwise Failed.
  • Version column shows the detected version string, or — if not reached.

For any failed step, append actionable remediation advice below the table:

### Issues Found

**Gemini — Auth failed**
No API key or OAuth credentials detected.
→ Set `GEMINI_API_KEY` environment variable, or run `gemini` to complete OAuth login.

**Claude Code — CLI not found**
Claude Code CLI is not installed.
→ Install: `npm install -g @anthropic-ai/claude-code`
→ Docs: https://docs.anthropic.com/en/docs/claude-code

If both collaborators pass all checks:

Both collaborators are available and ready for collaboration workflows.

Verification

  • Run this skill and confirm the summary table appears with correct status for each collaborator.

Safety and guardrails

  • Read-only checks only; no configuration files are modified.
  • API connectivity tests consume minimal tokens (~$0.01 per check).
  • Steps 2-4 spawn external CLI processes; run them outside sandbox (escalated permissions) to avoid hangs or EPERM errors.
  • On Windows, timeout may not be available; run commands directly and watch for hangs.
  • Gemini --version must use GEMINI_CLI_NO_RELAUNCH=true to prevent the CLI from relaunching itself.

© 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

Just SKILL.md in .codex/skills/check-collaborators of yunshenwuchuxun/latex-paper-skills.

Open the folder on GitHubat commit d0f1061

Compare with similar skills

Check Collaborators 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.

Check Collaborators compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Check Collaborators this skillyunshenwuchuxun/latex-paper-skills267—~1.4kAutomated 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 Claude

    yunshenwuchuxun/latex-paper-skills

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

    267 GitHub stars~1.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

Questions about Check Collaborators

What does Check Collaborators do?

Verify that Gemini CLI and Claude Code CLI are installed, authenticated, and API-reachable before starting collaboration workflows. Check Collaborators is an agent skill from yunshenwuchuxun/latex-paper-skills. Verify that Gemini CLI and Claude Code CLI are installed, authenticated, and API-reachable before starting collaboration workflows.

When should I use Check Collaborators?

Check Collaborators fits situations like: documents & Office work in your project.

How do I install Check Collaborators in Claude Code?

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

How do I install Check Collaborators in Codex?

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

Can I use Check Collaborators 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 check-collaborators -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/check-collaborators, .gemini/skills/check-collaborators, .github/skills/check-collaborators and .opencode/skills/check-collaborators in your project.

What does Check Collaborators need to run?

Going by SKILL.md and its folder, Check Collaborators needs the command-line tools its instructions call (claude, gemini and npm) and credentials named GEMINI_API_KEY and GOOGLE_API_KEY. Our summary lists: Node.js; A credential in GEMINI_API_KEY; A credential in GOOGLE_API_KEY.

Does Check Collaborators access the network?

SKILL.md names 2 domains. In commands or code: docs.anthropic.com; the agent is likely to contact it when it follows the instructions. As links in the text: github.com. This is read from the text; nothing was executed.

Is Check Collaborators 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. Review the folder before installing.

What licence does Check Collaborators use?

Check Collaborators 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 Check Collaborators use?

About 1.4k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Check Collaborators?

Skills that share tags, products or a category with Check Collaborators: 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 Check Collaborators?

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.