agentleFS
andreymudriandreymudri/fleetmates/skills/using-fleetmates/SKILL.md

using-fleetmates

Skill3 starsChanged 10 days agoMITView on GitHub

Use when starting any conversation or task - establishes how to find and use skills, and routes to the right process or fleet skill before anything else happens.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If any fails, take the inline path (executing-plans) and say why in one line.

    line 53
  2. Distinctive:

    When a fleet is eligible, never ask in prose.

    line 58
  3. Distinctive:

    If the user picks inline for eligible work, that is their call — take it without re-arguing.

    line 92
  4. Very specific:

    No teammate ever touches the main worktree.

    line 120
  5. Very specific:

    All run state lives in .fleetmates/<run-id>/, never only in an agent's head.

    line 122

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Using Fleetmates

This is the entrypoint. Read it before doing anything else this session — including answering a question, exploring the codebase, or checking a file.

The Rule

Invoke relevant skills BEFORE any response or action — including clarifying questions, exploring the codebase, or checking files.

Then announce "Using [skill] to [purpose]" and follow the skill exactly.

Skill Priority

Process skills set the approach; implementation skills carry it out. When both apply, the process skill goes first.

  • "Let's build X" → brainstorming first, then implementation skills.
  • "Fix this bug" → systematic-debugging first, then domain skills.

Routing

SituationSkill
Exploring an idea, unclear requirements, before any design or planbrainstorming
A plan or design has unresolved decisions, or the user asks to be grilledgrilling
Requirements are settled and a multi-step change needs a written planwriting-plans
A written plan exists and there's a git repo with 3+ disjoint tasks — run a fleetparallel-execution
A written plan exists but the work doesn't warrant a fleet — work it inlineexecuting-plans
A bug, test failure, or unexpected behavior, before proposing a fixsystematic-debugging
Implementing any feature or bugfix, before writing implementation codetest-driven-development
Feedback came back on your work, before acting on itreceiving-code-review
Implementation is complete and all tests pass — decide how to integratefinishing-a-development-branch
Creating or editing a skill, or verifying one works before deploymentwriting-skills
Spawn, list, message, scale, stop, or resume teammates in a running fleetfleet-lifecycle
Changing how the fleet runs — parallelism, model tier or effort per role, caveman outputfleetmates-config
A fleet phase finished and needs a verdict before the next phase startsphase-gate
Want to know what a running fleet is doing right nowfleet-supervision

Fleet or Solo

A fleet is eligible when all of these hold:

  • There is a written plan (or one can be written first).
  • The plan has three or more tasks that touch disjoint files.
  • The repo is a git repo — worktree isolation depends on it.

If any fails, take the inline path (executing-plans) and say why in one line. A two-task change costs more to orchestrate as a fleet than to just do.

Presenting the choice

When a fleet is eligible, never ask in prose. Prose hides the two things the decision turns on: how much runs at once, and what it costs to be wrong. Run the plan through init-run first so you have the real phase breakdown, then ask with AskUserQuestion, recommending fleet, with a preview showing that breakdown:

Fleet — 9 tasks, 3 phases          Inline — 9 tasks, sequential
                                   
  phase 1  T1 T2 T3 T4 T5 T6 T7      T1 -> T2 -> T3 -> T4 -> T5
           7 worktrees, parallel      -> T6 -> T7 -> T8 -> T9
    gate   test fileset ownership   
           review                     one worktree, this session
                                      you see every edit as it lands
  phase 2  T8                       
    gate   ...                      
                                    
  phase 3  T9                       
    gate   ...                      
                                    
  -> merged to run branch           -> committed as you go

Fill the preview from the actual init-run output — never a generic example. The gate rows come from the phase's own manifest checks, so the user sees what will actually run.

State these trade-offs in the option descriptions, not as decoration:

  • Fleet — wall-clock scales with the widest phase, not the task count. Each teammate is fresh, carrying only its own task's context. Cost multiplies by the number of teammates. You review at gates, not per edit.
  • Inline — one context, every edit visible as it happens, cheapest for small work. Wall-clock is the sum of every task, and later tasks inherit the accumulated context of earlier ones.

If the user picks inline for eligible work, that is their call — take it without re-arguing.

Red Flags

These thoughts mean STOP — you're rationalizing your way out of a skill check:

ThoughtReality
"This is just a simple question"Questions are tasks. Check for skills.
"I need more context first"Skill check comes BEFORE clarifying questions.
"Let me explore the codebase first"Skills tell you HOW to explore. Check first.
"The skill is overkill"Simple things become complex. Use it.
"I'll just do this one thing first"Check BEFORE doing anything.

Invoking the CLI

<fleetmates root> is where this plugin is installed: it is $CLAUDE_PLUGIN_ROOT when that variable is set (Claude Code), otherwise the directory two levels above this skill's own SKILL.md (dirname(dirname(<this skill's dir>))). --root is always the user's project repo. They are never the same directory. Every CLI call in every skill uses both:

node "<fleetmates root>/scripts/cli.mjs" <subcommand> --root <project root> ...

Invoking the CLI by a relative path fails as soon as the working directory isn't the plugin's own — which, installed via /plugin, it never is.

Non-negotiables

  • No teammate ever touches the main worktree. Only tm-integrator writes to the run branch.
  • Nothing is reported done without a recorded gate PASS.
  • All run state lives in .fleetmates/<run-id>/, never only in an agent's head.

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.