agentleFS
TokiDEVTokiDEV/team-skills/skills/team-protocol/SKILL.md

team-protocol

Skill1 starsChanged 2 months agoMITView on GitHub

Use when running any team-* skill (team-council, team-council-plan, team-kickoff, team-refactor) — dispatching its role agents, settling what they disagree on, or handing off at a CEO gate.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. Shehabov/ai-dev-crew★ 4same name
    2. vmobifystudio/app-dev-team★ 4same 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 repository6 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    One agent per role, dispatched in parallel: Never play the roles yourself in one context: one context gives one opinion wearing several …

    line 12
  2. Distinctive:

    Attribution: Every finding is credited to the role that made it, including what a role got from a specialist skill.

    line 15
  3. Distinctive:

    Every question the roles disagree on is settled by their positions after the last round:

    line 36
  4. Very specific:

    Put the count in the item's tags, counted positions only: 3–1, or 2–1 (+1 unbacked).

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

team-protocol

The rules every team-* skill shares. Each caller owns its roles, rounds and gate mapping; this skill owns how agents are dispatched, how their positions are counted, and how a run hands off. When a caller and this skill disagree, the caller wins for its own flow.

Dispatch

  • One agent per role, dispatched in parallel. Never play the roles yourself in one context: one context gives one opinion wearing several costumes, and you'll get "everyone agrees" with no tension.
  • Pass the model and budget from the caller's table to every dispatch.
  • Role overrides. Templates live in the caller's roles/. A project may override any of them with .council/role-overrides/role-<name>.md; the project file wins.
  • Attribution. Every finding is credited to the role that made it, including what a role got from a specialist skill.

Run folder

.council/runs/YYYY-MM-DD-<topic>/. Every agent writes its full output there. Later agents (Round 2, gate, synthesizer) read the files they need from it. The orchestrator reads only the synthesis file, plus the one-line replies.

Agent contract

Append this block to every dispatch prompt, with the budget, run folder and agent id filled in. Every turn re-reads the whole context, so context size × turns is the bill, and the orchestrator is the longest-lived context of all.

## How to work
- Budget: about <N> tool calls. Put several searches in one Bash call; Read a file once, whole.
- Write your full output to <run folder>/<agent id>.md.
- Reply with: the file path, one line per position, card or verdict (id + title), and any questions for the CEO. Nothing else.

A caller may add lines above the budget (team-refactor adds "Start from the Code Brief").

Counting positions

Every question the roles disagree on is settled by their positions after the last round:

  1. A position counts only if it carries checkable evidence: a file:line, a doc, a command's output, a measurement, or a quoted claim from another role that it refutes. The roles share one model and one brief, so a head count alone measures a shared prior, not independent evidence. An uncounted position is still shown, credited, on its card.
  2. Majority: more than half of the counted positions back one option. The question becomes a decision: the majority's option is recommended, the minority's option stays among the options, and its strongest case goes in against.
  3. No majority (1–1, 2–2, 1–1–1, 2–1–1, or nothing counted): the question becomes a tension, one side per position, with the synthesizer's suggested side recommended.
  4. A question is a decision or a tension, never both. If a tension's outcome would answer a decision, merge the decision into the tension.
  5. Put the count in the item's tags, counted positions only: 3–1, or 2–1 (+1 unbacked).

Handoff

Each CEO gate ends a session. Write the record the next phase needs, delete the run folder (anything worth keeping is in the record by then), and tell the user:

"/clear, then: <next command> <path>."

The next phase starts from that file, not from a context that holds the whole debate.

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.