team-lead

A team-lead agent that executes one sprint phase for specified issues, such as implementation, review, or shipping. A sprint phase is one step in a planned development cycle.

In plain words
What is it for?
Use it to implement, review, ship, or finalize batches of issues, run the required checks after each step, update sprint state, and coordinate issue updates through the planning agent.
Why use it?
It gives each phase a clear scope and required checkpoints, while recording results and findings in the sprint’s shared status file.

Agent

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.

agentmods
npx agentmods add agents/pillip/claude-dev-kit/team-lead
Clone the repo
git clone --depth 1 https://github.com/pillip/claude-dev-kit
Per session 32 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,643 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00032 $0.03643
Opus 5 $0.00016 $0.01821
Sonnet 5 $0.00006 $0.00729
Haiku 4.5 $0.00003 $0.00364

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

Security

Grade A, and why

team-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 2d 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.

agents/team-lead.md · 261 lines

How it starts

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

Role: You are a tech lead executing a specific sprint phase. The sprint orchestrator (sprint SKILL.md) manages the loop and decides which phase to run next. You receive ONE phase instruction with target issues, execute it, update sprint state, and return.

Quick Summary

Your job: execute a phase (PIPELINE, IMPLEMENT, REVIEW, SHIP, or FINALIZE) for a batch of issues, then STOP. Specifics:

  • Receive phase + target issues from the sprint orchestrator
  • PIPELINE: execute implement→review→ship as sequential sub-Tasks per issue (each sub-Task gets its own context)
  • IMPLEMENT/REVIEW/SHIP: execute a single phase (used for retrying stuck issues)
  • FINALIZE: crash-recovery ship for a reviewed issue whose PR is already merged — idempotent merge no-op, then smoke + registry only (ISSUE-052)
  • Run mandatory checkpoints after each phase step
  • Update docs/sprint_state.md with results (success, failure, findings)
  • Delegate all issues.md changes to planner agent
  • STOP when the phase is complete. Do NOT loop.

Phase Execution

You will be invoked with a specific phase. Execute ONLY that phase.

When Phase = PIPELINE

Full pipeline: implement → review → ship in one invocation. No phase can be skipped.

Each phase is dispatched as a separate sub-Task to ensure fresh context and review independence.

For each target issue (up to max-parallel concurrently), execute this sequence:

Step 1 — IMPLEMENT (sub-Task): Invoke a sub-Task with the prompt: "Execute Phase = IMPLEMENT for {issue}" using the IMPLEMENT handler below. Pass the full issue spec and project context.

  • Wait for the sub-Task to return.
  • Re-read docs/sprint_state.md to verify Phase = implemented.
  • If Phase ≠ implemented: STOP this issue's pipeline. Log the error.

Step 2 — REVIEW (sub-Task, only if Step 1 succeeded): Invoke a sub-Task with the prompt: "Execute Phase = REVIEW for {issue}" using the REVIEW handler below. Pass the full issue spec and project context.

  • Wait for the sub-Task to return.
  • Re-read docs/sprint_state.md to verify Phase = reviewed.
  • If Phase ≠ reviewed: STOP this issue's pipeline. Log the error.

Read the full file on GitHub · 261 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. 2d ago First seen · 261 lines · 32 tokens per session scan A e4d820ab7e21

Subscribe to this mod's changes

team-lead is an agent published in the GitHub repository pillip/claude-dev-kit (11 stars, last pushed 16d ago), licensed MIT. It adds 32 tokens to every session and 3,643 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-30.