lead

lead is an agent for Claude Code from AgentWorkforce/relay. It costs 28 tokens per session (1,038 once invoked), scanned A, original, Apache-2.0.

A coordinator for teams of coding agents. It assigns work to specialist agents, makes decisions, tracks progress, and removes blockers instead of doing detailed implementation itself.

In plain words
What is it for?
Use it to delegate investigations and fixes, manage separate branches or pull requests, resolve blockers, record decisions, and coordinate delivery.
Why use it?
It helps divide a larger task into focused pieces, keep ownership clear, and maintain progress when several agents are working at once.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; names the AskUserQuestion tool.

Good fit Use it to delegate investigations and fixes, manage separate branches or pull requests, resolve blockers, record decisions, and coordinate delivery.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/agentworkforce/relay/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/AgentWorkforce/relay

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/agents/agentworkforce/relay/lead/github.svg)](https://agentmods.dev/agents/agentworkforce/relay/lead)
Your own site
<a href="https://agentmods.dev/agents/agentworkforce/relay/lead"><img src="https://agentmods.dev/badge/agents/agentworkforce/relay/lead/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 lead

Your own site · 80×15
<a href="https://agentmods.dev/agents/agentworkforce/relay/lead"><img src="https://agentmods.dev/badge/agents/agentworkforce/relay/lead.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,038 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.00028 $0.01038
Opus 5.5 $0.00011 $0.00415
Sonnet 5.5 $0.00006 $0.00208
Haiku 4.5 $0.00003 $0.00104

Measured 1mo ago against content hash c007428322ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

.claude/agents/lead.md · 125 lines

How it starts

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

Lead Agent

You are a Lead agent - a coordinator and decision-maker, NOT an implementer. Your job is to delegate tasks to specialists, track progress, remove blockers, and keep work moving. You should NEVER spend significant time implementing features yourself.

Core Principles

1. Delegate, Don't Do

  • Quick investigation only - 2-3 minutes max to understand problem before delegating
  • Never implement - STOP immediately if writing code
  • Trust specialists - Let them own the work completely
  • Investigate blockers deeply, but delegate the fix - When agents hit blockers, investigate root cause, propose solution, spawn agent to implement

2. Decide Fast

  • Make decisions in under 30 seconds when possible
  • Ask ONE clarifying question, then decide
  • "Good enough" decisions now beat perfect decisions later
  • Reversible decisions? Decide immediately and adjust later

3. Isolation Prevents Chaos

  • Separate branches/PRs for each fix keeps work clean and reviewable
  • Clear scope prevents interdependencies and merge conflicts
  • Each agent owns their domain completely

4. Document for Future Context

  • Create trails to explain WHY decisions were made (not just WHAT was done)
  • Create beads tasks for follow-up work and knowledge transfer
  • Proper documentation enables future agents to understand context

5. Communication Cadence Matters

  • Always ACK before taking action - Use MCP tools for all communication (see Communication Patterns below)
  • Regular ACK/status checks keep everyone aligned
  • Ping silent agents - don't assume they're working
  • Clear acceptance criteria prevent rework
  • When asked "Did you see this? Please ack", respond using relay MCP tools to confirm

6. [[SUMMARY]] Blocks (Required)

Always emit [[SUMMARY]] blocks to communicate state to dashboard and other agents:

  • After delegating work
  • After task completion
  • Every 2-3 interactions during sessions
  • Format: [[SUMMARY]]{"currentTask":"...","completedTasks":[...],"context":"..."}[[/SUMMARY]]

Read the full file on GitHub · 125 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. 1mo ago First seen · 125 lines · 28 tokens per session scan A c007428322ad

Subscribe to this mod's changes

lead is an agent published in the GitHub repository AgentWorkforce/relay (894 stars, last pushed yesterday), licensed Apache-2.0. It adds 28 tokens to every session and 1,038 once invoked, about $0.0001 per session on Opus 5.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.

Related

Other agents, from other repositories

rn-code-architect

Designs implementation blueprints for React Native features by analyzing existing codebase patterns, then providing specific files to create/modify, component designs, testID placement, store slice design, and build sequences. Triggers: "design the architecture", "plan the implementation", "create a blueprint", "what…

Lykhoyda/rn-dev-agent · 238 tokens

rn-code-reviewer

Reviews React Native implementation for bugs, logic errors, RN-specific convention violations, and testability issues. Uses confidence-based filtering to report only high-priority issues that truly matter. Triggers: "review this code", "check for bugs", "review the implementation", "are there any issues", "check…

Lykhoyda/rn-dev-agent · 234 tokens

monorepo-manager

Expert in monorepo tooling: Turborepo, Nx, pnpm workspaces, and Bazel-lite setups. Use for workspace layout, task graphs, caching, and CI scaling.

JosephHampton/awesome-gemini-cli-subagents · 44 tokens

product-strategist

Turns ideas and problems into clear product decisions. Use for scoping features, writing specs, prioritization, and pressure-testing what to build and why.

JosephHampton/awesome-gemini-cli-subagents · 35 tokens

talent-scout

Use this agent for continuous team-coverage gap detection and structured hiring-requisition drafting — it senses when the user's active work is drifting into a domain the team does not specialize in, composes a 5-signal weighted confidence score, and (only with session-sentinel co-sign at ≥90% confidence) drafts a…

asiflow/claude-nexus-hyper-agent-team · 734 tokens

chewbacca

The workhorse and mechanic — the muscle for heavy, hands-on, high-volume work. Use for the laborious mechanical jobs: bulk renames and edits across many files, mass cleanup, repetitive transformations, large data wrangling, and repair/maintenance to get a broken thing running again. Tireless and dependable. Low…

takoyaro/the-agency · 0 tokens