pass-the-baton: Skill for Claude Code

.claude/skills/install-baton/SKILL.md

install-baton is a skill for Claude Code from AaronCarney/pass-the-baton. It costs 45 tokens per session (1,596 once invoked), scanned B, original, MIT.

An interactive setup guide for installing Pass the Baton, an open-source tool that helps hand work between coding-agent sessions. It asks for project details and then runs the install script.

In plain words
What is it for?
Use it to install Pass the Baton, configure its BATON environment variables after a project layout change, and add optional statusline or directory setup.
Why use it?
It reduces setup mistakes by finding the right project, collecting required settings, and pausing before lasting changes such as statusline or scheduled-task configuration.

Skill for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: reads .claude/ paths; mentions Claude Code.

This is AaronCarney/pass-the-baton's own configuration. It tells Claude Code how to work on pass-the-baton itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pass-the-baton configures →

Part of the pass-the-baton plugin — 2 skills, 3 commands, 9 hooks shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to AaronCarney/pass-the-baton. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AaronCarney/pass-the-baton/main/.claude/skills/install-baton/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AaronCarney/pass-the-baton

Made for: Claude Code.

Or install pass-the-baton, the plugin that ships this one along with the rest of its 2 skills, 3 commands, 9 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for install-baton

README.md
[![agentmods](https://agentmods.dev/badge/skills/aaroncarney/pass-the-baton/install-baton/github.svg)](https://agentmods.dev/skills/aaroncarney/pass-the-baton/install-baton)
Your own site
<a href="https://agentmods.dev/skills/aaroncarney/pass-the-baton/install-baton"><img src="https://agentmods.dev/badge/skills/aaroncarney/pass-the-baton/install-baton/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for install-baton

Your own site · 80×15
<a href="https://agentmods.dev/skills/aaroncarney/pass-the-baton/install-baton"><img src="https://agentmods.dev/badge/skills/aaroncarney/pass-the-baton/install-baton.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,596 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.01596
Opus 5 $0.00023 $0.00798
Sonnet 5 $0.00009 $0.00319
Haiku 4.5 $0.00005 $0.00160

Measured 9d ago against content hash 3012c255f2be, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

install-baton scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

The statusline shim at `<repo>/assets/baton-pct.sh` emits `CTX:NN%` for use in `~/.claude/settings.json`'s `statusLine.command`. Read the user's current setting:
.claude/skills/install-baton/SKILL.md · 163 lines

How it starts

The opening of the file, as written. The whole thing — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Install Pass the Baton - First-time Setup Assistant

When to Use

  • User wants to install Pass the Baton into a project.
  • Re-configuring BATON_* env vars after a layout change.
  • Note: the fastest install is the Claude Code plugin (/plugin install pass-the-baton@pass-the-baton); use this skill when you also want the statusline indicator or interactive directory setup.

Process

Step 1: Locate the repo

Confirm the user has cloned the Pass the Baton repo. If they haven't, offer to clone it to ~/pass-the-baton:

git clone https://github.com/AaronCarney/pass-the-baton.git ~/pass-the-baton

If they have cloned it, ask for the absolute path. Treat that path as <repo> for the rest of the skill.

Step 2: Smart-detect the --target

The target is the project the user invoked Claude from - the repo where they spend Claude Code sessions - NOT the clone of Pass the Baton itself. Default: $PWD at skill invocation time. If $PWD is inside the Pass the Baton clone, walk up to the parent project or ask the user.

Step 2b: Present the 6 setup questions

Ask each in turn using your question UX. Defaults shown below. The prompt text is canonical - it matches tools/install.sh and docs/install.md verbatim (CI-enforced).

Q1 - BATON_DIR
Where should checkpoint state live? (BATON_DIR)
  This is the directory holding workstreams/, terminals/, and progress/.

Default: $TARGET/.baton

Q2 - BATON_PROGRESS_DIR
Where should progress files live? (BATON_PROGRESS_DIR)
  Resume injects the most recent file from here at SessionStart.

Default: $BATON_DIR/progress

Q3 - BATON_ARCHIVE_DIR
Where should pruned workstreams be archived? (BATON_ARCHIVE_DIR)
  Idle >7d records move here. Restore a known id with tools/restore-workstream.sh.

Default: $HOME/.local/share/baton

Q4 - BATON_PROJECT_DIR
What is the project root cron should operate on? (BATON_PROJECT_DIR)
  Cleanup-cron runs out-of-shell; needs this fixed at install time.

Read the full file on GitHub · 163 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 163 lines · 45 tokens per session scan B 3012c255f2be

Subscribe to this mod's changes

install-baton is a skill published in the GitHub repository AaronCarney/pass-the-baton (2 stars, last pushed 1mo ago), licensed MIT. It adds 45 tokens to every session and 1,596 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ideogram-ultra

Build Ideogram 4 (Ideogram Ultra) txt2img and img2img workflows with the local open-weights model, dual conditional/unconditional models with DualModelGuider, Qwen3-VL text encoder, and structured JSON ("compositional deconstruction") prompts for strong text rendering and layout control.

artokun/comfyui-mcp · 68 tokens

model-compatibility

Model family compatibility matrix covering loaders, resolutions, samplers, CFG, VAE, ControlNet, and LoRA compatibility for SD 1.5, SDXL, Flux, SD3, and video models.

artokun/comfyui-mcp · 47 tokens

flux-txt2img

Build Flux txt2img workflows with Flux.1 Dev (SRPO), Flux 2 Klein 9B, Turbo LoRAs, FluxGuidance, and DualCLIPLoader patterns.

artokun/comfyui-mcp · 44 tokens

panel-node-pack-sync

Keep the ComfyUI sidebar panel node-pack (comfyui-agent-panel) in step with the orchestrator after comfyui-mcp updates. Use this whenever the orchestrator was just updated (installcomfyui (action:"selfupdate"), npm i -g comfyui-mcp, a new version in the ENVIRONMENT line), when a panel/bridge command fails in a way…

artokun/comfyui-mcp · 206 tokens

civitai

Discover Civitai models with the BUILT-IN downloadmodel action:"searchcivitai" and install/generate them locally. Find a checkpoint/LoRA/embedding on Civitai, download it into ComfyUI, and use its trigger words. Optionally pair the official Civitai MCP for community features (images browsing, posting, collections).

artokun/comfyui-mcp · 76 tokens

chief-revenue-officer

Owns the revenue engine end to end: sales, monetization, pricing, customer success, retention, and partnerships. Use this for pricing and packaging decisions, sales strategy and coverage, forecast and pipeline health, churn and expansion, partner and channel strategy, or when marketing-sourced demand is not…

cbrock84/headcount · 80 tokens