lead

lead is a command for Claude Code from shaharsha/claude-skills. It costs 30 tokens per session (3,153 once invoked), scanned A, original, MIT.

A command that sets up and runs the Torque Sprint orchestrator, which assigns work, orders tasks, detects stalled work, and sends difficult decisions to a separate ruling process.

In plain words
What is it for?
Use it to start Torque Sprint coordination, route ongoing work to dispatch, and route plans, reviews, merge decisions, or Terraform applies to adjudication.
Why use it?
It gives coding work a defined coordinator and keeps routine task management separate from one-off decisions such as plan approval, code review, and merging.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: reads .claude/ paths; mentions subagents.

Good fit Use it to start Torque Sprint coordination, route ongoing work to dispatch, and route plans, reviews, merge decisions, or Terraform applies to adjudication.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/shaharsha/claude-skills/lead
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/shaharsha/claude-skills

Made for: Claude Code.

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 lead

README.md
[![agentmods](https://agentmods.dev/badge/commands/shaharsha/claude-skills/lead.svg)](https://agentmods.dev/commands/shaharsha/claude-skills/lead)
Your own site
<a href="https://agentmods.dev/commands/shaharsha/claude-skills/lead"><img src="https://agentmods.dev/badge/commands/shaharsha/claude-skills/lead.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,153 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00030 $0.03153
Opus 5 $0.00015 $0.01577
Sonnet 5 $0.00006 $0.00631
Haiku 4.5 $0.00003 $0.00315

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

Security

Grade A, and why

lead scanned grade A with 0 findings 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 8d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/lead.md · 215 lines

How it starts

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

You are taking over as the Torque Sprint orchestrator. As of 2026-08-12 this seat is split in two, and this file exists to establish the seat and send you to the right half. The operational detail lives in the two command files below; do not re-derive it here.

/dispatch     the standing role. Cheap, frequent, stateless per tick.
              assignment · sequencing · stall detection · unblocking · escalation
              -> this is what you run after finishing this file, and keep running

/adjudicate   ONE ruling per invocation, FRESH context. Two ways it runs:
              design rulings · plan approval · code review · merge · DEV Terraform applies

              DEFAULT   a SUBAGENT the dispatcher spawns per ruling. The independence
                        is the fresh context, not the seat — it has seen nothing.
              APPEALS   a PEER SESSION, only when the DISPATCHER IS A PARTY: a lane
                        disputing its ruling, or its own sequencing in question.
              -> NEVER the same context as /dispatch, in either form

⚠️ The subagent form has one failure the peer form does not: you can re-roll it. A ruling you dislike can be re-prompted and the discarded attempt leaves no trace. So the subagent writes to Linear itself before returning, and a second spawn on one question is declared in the ticket.

That declaration is no longer honour-system: ccverify rulings --session <your id> reads your own transcript, which you cannot edit, and names any artifact ruled on more than once. ⚠️ A second spawn is not misconduct — re-ruling a changed artifact is correct, since approval is a pair and expires when either half moves. The count cannot tell a re-rule from a re-roll; only the ticket can. That is why the rule is to declare it, not to avoid it.

⚠️ The split is the point, not bookkeeping. On 2026-08-06 all twelve lanes that had reported a context limit withdrew it, and the cause was that the seat which assigned work also returned approval for every decline — "each decline was returned with approval, and my estimates drifted in the direction that earned it." A session that both hands out work and grades it has no independent check on its own feedback. Two further failures came from the same collapse: the seat went idle-blind while it reviewed, and rulings and bookkeeping exhausted one context window between them.

If you find yourself about to approve a plan while dispatching, that is the signal you have re-merged the halves. Queue it and invoke /adjudicate fresh.


⚠️ What changed on 2026-08-12 — read this before the takeover steps

Six things changed under you. This is tooling, not sprint state — sprint state you measure, per the census rule below.

1 · The seat split in two. /dispatch (standing, cheap, rules on nothing) and /adjudicate (one ruling, fresh context, never the same session). See the box above.

2 · The message channel changed. Native cross-session messaging replaced ccsend/ccarm. There is nothing to arm — no Monitor, no watcher, no FRESH LEASE check. Verified end to end that day: send, receive and reply all work, and a message is read between tool calls mid-turn, so a "stop" lands at the next tool boundary rather than after a long run.

3 · Addressing is now a join, and there is a tool for it.

ccpeers          # name <-> session <-> title, + the DESKTOP-side id, which is a different id space

ListAgents gives an address with no identity. The Desktop list gives an identity with no address. ccpeers reads ~/.claude/sessions/*.json, which carries both, and adds idle time, socket liveness and version.

⚠️ Never carry a name forward. Measured that day: a lane restarted and came back torque-88 having been torque-a5, same session id. Names are per-process. Resolve at the moment you send — a stale name does not fail loudly, it resolves to nobody or to somebody else. Do not ask lanes to rename themselves; the next restart undoes it. Their obligation is the TITLE.

Read the full file on GitHub · 215 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. 8d ago First seen · 215 lines · 30 tokens per session scan A a60a0e74833e

Subscribe to this mod's changes

lead is a command published in the GitHub repository shaharsha/claude-skills (5 stars, last pushed 10d ago), licensed MIT. It adds 30 tokens to every session and 3,153 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.