agentleFS
EIrwinEIrwin/agent-team-topologies/.claude/skills/topology/SKILL.md

topology

Skill4 starsChanged 10 months agoMITView on GitHub

This skill helps you select the right agent team topology for your task. When invoked with /topology, walk the user through a diagnostic questionnaire and recommend one of the 8 topology patterns. When the user invokes this skill, follow these steps exactly: Present all 4 questions at once using AskUserQuestion: 1. What's your goal? a) Discover / research — explore and understand the codebase b) Review code — check quality, security, or performance c) Debug — find root cause of…

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. ffsshhttiikk/opencode-agents-skills★ 2same name
    2. rana/skills★ 1same 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

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When the user invokes this skill, follow these steps exactly:

    line 7
  2. Distinctive:

    Quality gates modifier: If gates=yes, recommend adding Quality-Gated Delivery as a composable overlay on top of the primary topology.

    line 51
  3. Distinctive:

    If quality gates were requested, add a section:

    line 86
  4. Distinctive:

    After presenting the recommendation, ask: "Does this fit your situation, or would you like to adjust any of your answers?"

    line 99
  5. Distinctive:

    If the user's answers are ambiguous, present the two best-fit topologies and explain the tradeoff.

    line 116
  6. Distinctive:

    If the user skips questions, make reasonable assumptions and note them.

    line 117
  7. Distinctive:

    Always include at least one alternative recommendation.

    line 118

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

Topology Chooser

This skill helps you select the right agent team topology for your task. When invoked with /topology, walk the user through a diagnostic questionnaire and recommend one of the 8 topology patterns.

Instructions

When the user invokes this skill, follow these steps exactly:

Step 1: Ask the Diagnostic Questions

Present all 4 questions at once using AskUserQuestion:

  1. What's your goal? a) Discover / research — explore and understand the codebase b) Review code — check quality, security, or performance c) Debug — find root cause of an ambiguous issue d) Build a feature — implement a new feature spanning multiple areas e) Process a backlog — handle many small independent tasks f) Coordinate — manage a complex project with multiple workstreams
  2. Can the work be split into independent streams? a) Yes — tasks are fully independent, no shared files b) Mostly — some dependencies but largely parallel c) No — tasks are sequential or tightly coupled
  3. What's the risk level? a) Low — mistakes are easy to revert b) Medium — mistakes require some effort to fix c) High — mistakes could cause outages, data loss, or security issues
  4. Do you need quality gates? a) Yes — work must pass tests/lint/review before being accepted b) No — trust agents to self-validate

Step 2: Apply the Decision Tree

Map the user's answers to one of the 8 topologies:

GoalIndependenceRiskTopology
Discover/researchYes/MostlyAnyParallel Explorers
Review codeYes/MostlyAnyReview Board
DebugYes/MostlyAnyCompeting Hypotheses
Build featureYes/MostlyLow/MediumFeature Pod
Build featureAnyHighRisky Refactor
Build featureNoLow/MediumRisky Refactor (sequential safety)
Process backlogYesAnyTask Queue
CoordinateYes/MostlyAnyOrchestrator-Only
AnyNoAnyConsider single agent instead of a team

Quality gates modifier: If gates=yes, recommend adding Quality-Gated Delivery as a composable overlay on top of the primary topology.

Edge cases:

  • Discover + No independence → single Explorer agent (no team needed)
  • Review + No independence → sequential review (single agent with multiple passes)
  • Process + No independence → Risky Refactor (sequential pipeline)

Step 3: Present the Recommendation

Format your output like this:

## Recommendation: [Topology Name]

**Why this fits:** [2-3 sentences explaining why this topology matches their answers]

### Team Shape
[Description of team composition — lead + which agents]

### Spawn Prompt
Copy-paste this to get started:

[A ready-to-use prompt tailored to the topology, using the spawn prompts from the pattern cards]

### Pattern Card
Read the full pattern: [topologies/<name>/index.md]

### Alternatives
If this doesn't feel right:
- **[Alternative topology]** — better if [condition]
- **[Alternative topology]** — better if [condition]

For the spawn prompt, use the prompt template from the corresponding topology pattern card in topologies/<name>/index.md.

If quality gates were requested, add a section:

### Quality Gates
Layer Quality-Gated Delivery on top. Install hooks:
- `.claude/hooks/quality-gate.sh` — blocks task completion if tests/lint fail
- `.claude/hooks/idle-summary.sh` — requires structured summary before idle

See: [topologies/quality-gated/index.md]

Step 4: Offer to Refine

After presenting the recommendation, ask: "Does this fit your situation, or would you like to adjust any of your answers?"

The 8 Topologies (Reference)

TopologyBest ForPattern Card
Parallel ExplorersDiscovery, research, codebase mappingtopologies/parallel-explorers/
Review BoardCode review with distinct lensestopologies/review-board/
Competing HypothesesAmbiguous bugs, architectural decisionstopologies/competing-hypotheses/
Feature PodCross-layer feature deliverytopologies/feature-pod/
Risky RefactorHigh-risk changes needing plan approvaltopologies/risky-refactor/
Orchestrator-OnlyPure coordination, lead never codestopologies/orchestrator-only/
Quality-GatedEnforcing completion standards (composable)topologies/quality-gated/
Task QueueMany small independent taskstopologies/task-queue/

Notes

  • If the user's answers are ambiguous, present the two best-fit topologies and explain the tradeoff.
  • If the user skips questions, make reasonable assumptions and note them.
  • Always include at least one alternative recommendation.
  • The spawn prompt should be practical and complete — the user should be able to copy-paste it directly.

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.