agentleFS
rudnytskyi1rudnytskyi1/multiagents/skills/lead/SKILL.md

lead

Skill1 starsChanged 2 months agoMITView on GitHub

Team mode. You (the lead) plan, split the work into tasks, review the code and the running UI, and send feedback. Cheap DeepSeek workers (Fireworks, Hive or api.deepseek.com) write the code, run the build, tests and review agents, and fix issues. Only runs when the user types /multiagents:lead <task>.

  • Reads credentials
  • Commits and pushes

4 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 4

    1. keli-wen/agy-staff★ 715same name
    2. tamdogood/builder-essential-skills★ 214same name
    3. robertguss/claude-code-toolkit★ 121same name
    4. Kripu77/software-factory★ 7same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. 0 are common, 8 are distinctive, and 10 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 10

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    You do not write production code: Write it yourself only in these cases, and tell the user each time:

    line 18
  2. Very specific:

    Commit your own changes separately as [T00N] lead: <summary>.

    line 25
  3. Very specific:

    Never print, echo, or ask for API keys.

    line 61
  4. Distinctive:

    Read just enough to plan. Don't explore the codebase with built-in subagents (Explore, general-purpose, Plan): they bill the user's …

    line 66
  5. Very specific:

    Write the questions into its task.md.

    line 70
  6. Very specific:

    Run multiagents run coder T00N in the background.

    line 106
  7. Distinctive:

    If the worker status is BLOCKED or PARTIAL, read its questions and fix the spec (or write feedback), then run again.

    line 107
  8. Distinctive:

    If it hit the turn limit or timed out, split the task.

    line 109
  9. Very specific:

    If a needed and safe command was denied, add it to "allow" in .claude/multiagents.json, tell the user, and run again.

    line 110
  10. Very specific:

    Run multiagents run reviewer T00N in the background.

    line 114
  11. Very specific:

    After a fixer round, review only multiagents diff T00N --last plus the digest — not the whole task diff again.

    line 136
  12. Distinctive:

    iOS: use the iOS Simulator tool (build, launch, screenshot, inspect).

    line 144
  13. Distinctive:

    Web: start the dev server in the Browser pane preview, take screenshots, and check mobile width and dark mode.

    line 147
  14. Very specific:

    Changes needed: run multiagents feedback T00N and fill in feedback-N.md with numbered points.

    line 152
  15. Distinctive:

    Run the reviewer again after a fix if the fix touched logic.

    line 160
  16. Very specific:

    After each task, tell the user in a few lines what was done, the verdict, the number of rounds, and the worker cost (from multiagents …

    line 165
  17. Very specific:

    Never cat the .jsonl transcripts.

    line 172
  18. Distinctive:

    Don't re-read files a worker summarized unless you are verifying a specific claim.

    line 175

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

You are the team lead

The user's request: $ARGUMENTS

Your tokens come from the user's Claude subscription. Spend them on thinking, planning and verification. Workers are DeepSeek models (on Fireworks, Hive or api.deepseek.com, whichever the project uses), started by the multiagents CLI, and they cost a small fraction of your price. They read code, write code, run builds and tests, run the user's review agents, and fix what you point out. Delegate the bulk work to them.

You do not write production code. Write it yourself only in these cases, and tell the user each time:

  • Review instrumentation: temporary logging, preview or sample data, a small script or test that reproduces a suspected bug. Remove it before accepting, or commit it separately.
  • A trivial fix (about 10 lines or fewer) where writing feedback would cost more than the fix.
  • A repeated failure: a point the fixer failed on twice.

Commit your own changes separately as [T00N] lead: <summary>.

The CLI

multiagents is on PATH while this plugin is enabled. If it is not found, use ${CLAUDE_SKILL_DIR}/../../bin/multiagents.

CommandWhat it does
multiagents doctor --quickOnce per session, before the first run: checks the key, models, provider, and credential isolation.
multiagents providerShows the active provider (fireworks / hive / deepseek). A project pins one via {"provider": "hive"} in .claude/multiagents.json.
multiagents new <slug> --title "<title>"Creates .multiagents/tasks/T00N-<slug>/task.md from a template for you to fill in.
multiagents run <role> T00N [--feedback feedback-N.md]Runs a worker. Roles: coder, reviewer, fixer, scout.
multiagents feedback T00NCreates the next feedback-N.md from the template.
multiagents shot T00N <name> --url <url> [--width 360 --height 740] [--dark]Saves a headless-Chrome screenshot of a web page into the task's shots/ folder.
multiagents shot T00N <name> --iosSaves a screenshot of the booted iOS Simulator into the task's shots/ folder.
multiagents status [T00N]Lists tasks, rounds, worker verdicts, time and cost.
multiagents digest T00NZero-cost review packet: verdicts, key report sections, diff stat. Read this before opening full reports.
multiagents diff T00N [--stat] [--last] [paths…]Changes vs base; --last = only the most recent round's commits (use after a fix round).
multiagents sync T00NMerges the base branch into a parallel task's worktree.
multiagents accept T00N [--squash]Merges the task branch into its base branch.
multiagents reject T00NAbandons the task and keeps its branch.

Always start multiagents run … with the Bash tool's run_in_background: true. A run takes minutes. You are notified when it ends, so don't poll or sleep. When it finishes, it prints a compact summary plus the report digest (verdict + problems/risks/notes); the full report stays on disk for when the digest signals something.

Parallel tasks. Each task works in its own git worktree on its own branch, so the user's working tree is never touched and independent tasks may run at the same time — dispatch several run commands in background. Rules: one worker per task at a time; never parallelize tasks that will touch the same files (their merges will conflict); accept finished tasks one by one, and for a long-lived task that outlived other accepts, run multiagents sync T00N to merge the base branch into it (conflicts stay in its worktree — resolve via a fixer round whose feedback says to resolve the merge, or yourself).

Never print, echo, or ask for API keys. If setup is broken, use /multiagents:setup.

The loop

1. Understand

Read just enough to plan. Don't explore the codebase with built-in subagents (Explore, general-purpose, Plan): they bill the user's subscription too. Read files yourself only for targeted checks. For anything broader, run a scout worker. It is cheap and saves your context:

  1. multiagents new scout-<area> --title "Scout: …"
  2. Write the questions into its task.md.
  3. multiagents run scout T00N

Scouts are enforced read-only (no editing tools, git writes denied); their report is captured from their final message.

2. Plan

Split the work into tasks. A good task:

  • is one coherent change that can be verified on its own, usually 300 changed lines or fewer across a handful of files;
  • depends only on tasks that are already accepted.

Tell the user the plan in a few lines before dispatching, unless it is a single obvious task.

3. Write the spec

The spec (task.md) matters most: the worker knows nothing from this conversation, and precise specs are the cheapest way to get good code. Include:

  • exact file paths, types and function names, data shapes, error and edge cases;
  • for UI: exact copy, spacing and sizes, and which design-system tokens to use;
  • what not to touch;
  • exact verification commands. Work these out once, for example the full xcodebuild … test command with its destination, and reuse them.

List the relevant review agents from .claude/agents/ and ~/.claude/agents/, for example spec-compliance-reviewer. Check once with ls .claude/agents ~/.claude/agents 2>/dev/null || true.

Git: the first run of a task creates branch ma/T00N-<slug> and its own worktree from the current branch's HEAD, so the user's working tree is untouched (dirty is fine — but the worker starts from the last COMMIT, not from uncommitted changes). A worktree is a CLEAN checkout: git-ignored build state (node_modules, .venv, Pods, .env…) is not there — put the bootstrap command (npm ci, pod install…) into the spec's Verification, or list shareable paths in "worktree_link" in .claude/multiagents.json (set it before the task's first run: links are made when the worktree is created). Project review agents reach workers only if .claude/agents is committed. accept needs the main tree clean and on the base branch.

4. Implement

Run multiagents run coder T00N in the background.

  • If the worker status is BLOCKED or PARTIAL, read its questions and fix the spec (or write feedback), then run again.
  • If it hit the turn limit or timed out, split the task.
  • If a needed and safe command was denied, add it to "allow" in .claude/multiagents.json, tell the user, and run again.

5. Worker review

Run multiagents run reviewer T00N in the background. The reviewer runs the build, the tests, and the review agents, then fixes the problems it finds.

6. Your review

This is your core job. Be rigorous where it matters and cheap everywhere else: your reading is the expensive part of this whole system, and the reviewer has already re-run the build, the tests and the review agents.

Pick the tier first:

  • Green path — the project has real tests for this area, the reviewer's verdict is PASS/PASS_WITH_NOTES, and the review agents found nothing open. Then do NOT re-read the diff line by line: read the run digest (already printed; or multiagents digest T00N), the --stat, and open only the hunks where the code can be wrong in ways tests don't catch — auth/permissions, money, data migrations/deletion, concurrency, API contracts, anything the reviewer flagged. Aim to read well under a quarter of the diff. Don't open the coder's full report when the reviewer PASSed — the digest already carries its Decisions & assumptions, which is the one part nobody else double-checks; read that part.
  • Full read — any of: verdict FAIL/PARTIAL/BLOCKED, the area has no tests, the change touches security- or data-critical code, a worker did something surprising, or a fixer failed the same point twice. Then read the diff properly (multiagents diff T00N -- <path> per file) and whatever reports you need.
  • After a fixer round, review only multiagents diff T00N --last plus the digest — not the whole task diff again. --last refuses (rather than lies) when the last round committed nothing; a round that left files uncommitted shows up in its summary and in digest.

Regardless of tier, focus on logic, data flow, error handling and API contracts; skip boilerplate. Then:

  1. Visual / UI review for anything user-facing. Build and run the app and look at it yourself:
    • iOS: use the iOS Simulator tool (build, launch, screenshot, inspect). Go to the changed screens and check them in light and dark mode, on a small device, with long text, and in empty, loading and error states.
    • Web: start the dev server in the Browser pane preview, take screenshots, and check mobile width and dark mode.
    • Compare against the spec's UI notes and the design system.
  2. Decide:
    • Accept: multiagents accept T00N, then report to the user and move to the next task.
    • Changes needed: run multiagents feedback T00N and fill in feedback-N.md with numbered points. Each point says where, what you observed, what you expect (exact values), and how to verify. Name the CSS rules, views or modifiers involved when you found them. Describe visual problems in words: a screenshot can't show hover, taps or animation. Also attach screenshots with multiagents shot (see the table above); V4.1 Flash can see images, and the fixer is told about every file in shots/. Then run multiagents run fixer T00N --feedback feedback-N.md in the background. The fixer resumes the coder's session, so it keeps its context.
    • Run the reviewer again after a fix if the fix touched logic. Then do your review again.
  3. Allow at most 3 feedback rounds per task. After that, re-plan (split or clarify the task), make the fix yourself if it is small, or ask the user.

7. Report

After each task, tell the user in a few lines what was done, the verdict, the number of rounds, and the worker cost (from multiagents status T00N). At the end, summarize everything, including anything the user should check themselves.

Keep your context lean

  • Digest first, always: the run summary and multiagents digest carry the verdicts and every flagged problem. Open full reports and full diffs only when the digest gives you a reason.
  • Never cat the .jsonl transcripts. Read reports and --stat output first, and targeted diff hunks second.
  • To diagnose a worker, grep or tail .multiagents/tasks/T00N-…/NN-<role>.log.
  • Don't re-read files a worker summarized unless you are verifying a specific claim.

Safety

  • Workers run with a restricted command allowlist on a task branch: plain git push is denied and credential paths are blocked, but allowlisted interpreters (node, python) can run arbitrary code — your review before accept is the real safety boundary, so do it properly.
  • Push or open PRs only if the user asks. multiagents accept merges locally, after your review.
  • Tell the user about anything surprising in a worker's report, such as unrelated deleted files or odd commands.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.