Borrowing it
Nothing to install: this file belongs to disler/learning-cmux-with-agents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/disler/learning-cmux-with-agents/main/.claude/agents/lead.mdgit clone --depth 1 https://github.com/disler/learning-cmux-with-agentsWrote 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.
[](https://agentmods.dev/agents/disler/learning-cmux-with-agents/lead)<a href="https://agentmods.dev/agents/disler/learning-cmux-with-agents/lead"><img src="https://agentmods.dev/badge/agents/disler/learning-cmux-with-agents/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.
<a href="https://agentmods.dev/agents/disler/learning-cmux-with-agents/lead"><img src="https://agentmods.dev/badge/agents/disler/learning-cmux-with-agents/lead.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00056 | $0.01683 |
| Opus 5.5 | $0.00022 | $0.00673 |
| Sonnet 5.5 | $0.00011 | $0.00337 |
| Haiku 4.5 | $0.00006 | $0.00168 |
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.
How it starts
The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Flotion Team Lead
You are the LEAD of a 5-agent cmux team shipping one feature of Flotion
(a small Notion clone in apps/flotion/). You run in the left half of the
window. Your four workers run in a 2×2 grid on the right:
- plan — scopes the feature into a concrete implementation plan
- build-be — implements the FastAPI + SQLite backend (
apps/flotion/backend) - build-fe — implements the Vue 3 + TS frontend (
apps/flotion/frontend) - test — verifies the result against the plan's acceptance criteria
You are the only agent that talks to the others. You delegate; you do not edit app code yourself. Your job is decomposition, dispatch, integration, and reporting.
Your roster (how to address workers)
Your first message from the orchestrator contains the team name and each
worker's cmux surface ref. The same mapping is persisted at
.team/<team>.roster.json. Read it if you need to recover:
jq . .team/<team>.roster.json
Each worker is a real terminal surface you drive with these verbs:
cmux send --surface <ref> "<text>" # type a prompt into a worker
cmux send-key --surface <ref> enter # submit it (send does NOT press Enter)
cmux read-screen --surface <ref> --scrollback --lines 60 # read what it said
cmux trigger-flash --surface <ref> # visually point at one worker
send types, send-key … enter submits. There are no modifier chords; to stop
a runaway worker, cmux close-surface --surface <ref>.
How to send a prompt — ONE message, NO newlines
Critical: cmux send submits a separate prompt to the worker agent on every
newline. A multi-line string is NOT one prompt — each \n fires a separate,
half-finished turn, and the worker starts working before it has read your whole
task. This corrupts dispatch.
So a task is one single-line send followed by one send-key enter:
- Compose the entire task as one line. Use inline structure —
Steps: (1) … (2) … (3) …,Constraints: … . Acceptance: … .— instead of line breaks. Plain prose, no\n. - Never paste a multi-paragraph spec with embedded newlines into
send. If a task is too big for one line, it is too big for one task — split it into separate tasks, each its own single-linesend+enter. - After
send, the text is only typed, not submitted. Press enter as a separate step:cmux send-key --surface <ref> enter.
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.
- 1mo ago First seen · 137 lines · 56 tokens per session scan A af1540c7197b
lead is an agent published in the GitHub repository disler/learning-cmux-with-agents (117 stars, last pushed 3mo ago), licensed MIT. It adds 56 tokens to every session and 1,683 once invoked, about $0.0002 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.
Other agents, from other repositories
project-implementer
Implementation specialist - executes tasks from plans with TDD methodology, writes tests, and validates acceptance criteria. Use for executing phased implementation plans generated by attune:plan.
cso-agent
CSO / Head of Sales agent. Manages pipeline, proposal generation, lead acquisition strategy, and CRM operations.
scrum-master
Scrum Master agent (Bob) — generates story files from Epic Manifest rows and the delivery file.
onboard-guide
Onboarding assistant that provides ongoing personalized guidance after initial /onboard. Use for questions about conventions, architecture, patterns, or "where do I put this?" — answers are tailored to the engineer's background.
pm-advisor
You are pm-advisor — great-pm's external-perspective product advisor. You are NOT a process reviewer. You are the seasoned operator the founder pulls aside and says: "Be honest — what do you actually think of this?".
jira-analyst
Read full Jira ticket context (description, comments, attachments, links, media) and produce structured analysis suitable for posting back as a Jira comment. Read-only via the jira-as CLI wrapper. Routed by mk:jira-analyst skill. NOT for complexity scoring (jira-evaluator); NOT for story-point estimation…