agent-builder
Skill4 starsChanged 3 months agoMITView on GitHub
Design execution structure for decomposed processes: single agent or multi-agent topology. Load when user says "design an agent for this", "what agent structure do I need", "architect this", "should this be multi-agent", "what's the right execution structure", "agent topology", "how should agents be organized". Takes process-decomposer output as primary input. If triggered directly without a process entry, calls process-decomposer first.
59 other projects use a version of this.
Adopted by
Most recently taken up by
- DonyLeno/learn-claude-code-qwentheir own version, first seen Nov 15, 2026
- Techbible/skillstheir own version, first seen Nov 8, 2026
- truongpx396/learn-harness-engineering-by-building-mini-claude-codetheir own version, first seen Nov 8, 2026
- Chris-haha/learn-claude-code-javatheir own version, first seen Nov 8, 2026
- javiarmesto/ALDC-AL-Development-Collectiontheir own version, first seen Nov 2, 2026
- Mathews-Tom/armorytheir own version, first seen Nov 1, 2026
Used with
Projects with it also use workflow-builder, pdf and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Hussain-ElfalahSkillworkflow-builder
Also in 3 projects that use this
AnthropicSkillpdf
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
Also in 30 projects that use this
MicrosoftSkillmcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Also in 30 projects that use this
dragonflydbSkillbenchmark
Benchmark Dragonfly (and compare against Valkey/Redis) on local or remote cloud instances, then produce a performance + memory report with charts and a raw-data appendix. Use this whenever the user runs /benchmark, or asks to benchmark / load-test / measure throughput, QPS, latency, or memory efficiency of Dragonfly or another Redis-compatible server, to compare Dragonfly vs Valkey or Redis, or to generate a benchmark report. Trigger it even when the user just describes the goal ("see how fast Dragonfly is on this box", "compare memory per key vs Valkey") without saying the word "benchmark".
Also in 3 projects that use this
SentrySkillonboard
Onboard a service to sentry-options. Use when integrating a new service, creating schemas, or setting up the multi-repo sentry-options workflow.
Also in 3 projects that use this
OpenAISkillaudit
Audit or critique a product flow, journey, workflow, funnel, onboarding path, checkout path, settings path, screen, or multi-step product experience by capturing screenshots first, then reporting UX, design, and accessibility findings inline from that evidence. Use Figma only when the user explicitly asks for a board. Use when the user asks to audit, review, critique, inspect, assess, analyze, evaluate, or give feedback on a product experience.
Also in 3 projects that use this
Other versions59 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 59
- shareAI-lab/analysis_claude_code★ 80ksame name
- shareAI-lab/learn-claude-code★ 80ksame name
- NangoHQ/nango★ 13ksame name
- DenchHQ/DenchClaw★ 1.7ksame name
- DenchHQ/ironclaw★ 1.7ksame name
- block/berd★ 1ksame name
- Southclaws/storyden★ 348same name
- Mathews-Tom/armory★ 340same name
- FareedKhan-dev/claude-code-from-scratch★ 296same name
- wulawulu/learn-claude-code-rs★ 154same name
49 more not listed
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 repository125 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/agent-loom-routing.mdcCursor rule
- .cursor/rules/agent-loom-skills-index.mdcCursor rule
- adversarial-hatSkill
- agent-launcherSkill
- agent-loom-syncSkill
- agent-observabilitySkill
- agent-run-retroSkill
- agent-system-architectureSkill
- api-and-interface-designSkill
- api-deprecation-and-migrationSkill
- apply-paper-to-projectSkill
- app-security-hardeningSkill
- architectural-decision-logSkill
- assumption-mappingSkill
- brainstormingSkill
- browser-testing-with-devtoolsSkill
- business-modelingSkill
- ci-cd-and-automationSkill
- codebase-understandingSkill
- code-review-crspSkill
- code-simplificationSkill
- compress-skillSkill
- context-engineeringSkill
- create-agent-promptSkill
- cross-link-skillsSkill
- customer-discoverySkill
- debug-and-fixSkill
- deep-thinkingSkill
- dependency-mappingSkill
- deploy-anywhereSkill
- deprecate-skillSkill
- design-directionSkill
- design-reviewSkill
- design-systemSkill
- dynamic-routingSkill
- eval-judgeSkill
- eval-outputSkill
- eval-pipelineSkill
- eval-rubric-designSkill
- experimentationSkill
- experiment-backlogSkill
- experiment-readoutSkill
- experiment-runbookSkill
- experiment-specSkill
- fault-localizeSkill
- feature-specSkill
- fermiSkill
- first-principlesSkill
- frontend-designSkill
- generate-changelogSkill
- git-workflow-and-versioningSkill
- gsap-animationSkill
- harness-engineeringSkill
- harness-evolutionSkill
- harness-generationSkill
- idea-evaluationSkill
- idea-generationSkill
- implementation-planSkill
- improve-skillsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 2 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 54 edited versions we read keep these.
2
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
- Very specific: line 29
Never design an architecture without a process entry — call process-decomposer first if none exists.
- Very specific: line 30
Never make the architecture spec ephemeral — always persist to docs/architecture/.
- Very specific: line 31
Never design agents with overlapping responsibilities — clear boundaries are mandatory.
- Very specific: line 32
Always call create-agent-prompt for every agent in a multi-agent topology.
- Very specific: line 33
Always define failure handling for the orchestrator agent.
- Very specific: line 34
Never design harness files (manifest, eval interface, governance) — invoke harness-generation if docs/harness/manifest.json is absent …
- Very specific: line 42
Read the decomposed process from docs/processes/YYYY-MM-DD-<task>.md.
- Very specific: line 44
If no process entry exists and user triggered directly: call process-decomposer first.
- Very specific: line 71
Update the process entry's architecture_spec_ref field to link to this file.
- Very specific: line 75
If complexity_class = agent-chain, ensure harness v0 exists (harness-generation if missing), then invoke setup-evaluation (runs from …
- Distinctive: line 91
Don't over-architect: 2 agents is almost always better than 5.
- Distinctive: line 155
No changes — citation audit passed.
“Common” is measured: kept by at least 6 in 10 of the 54 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.
Files
Agent Builder
You are an Agent Architecture Designer. Given a decomposed process, you decide whether it needs a single agent or a multi-agent topology. For multi-agent, you design the topology, define each agent's boundaries, and specify handoff protocols. You persist the architecture spec for the learning loop. You never execute — you design.
Hard Rules
Never design an architecture without a process entry — call process-decomposer first if none exists.
Never make the architecture spec ephemeral — always persist to docs/architecture/.
Never design agents with overlapping responsibilities — clear boundaries are mandatory.
Always call create-agent-prompt for every agent in a multi-agent topology.
Always define failure handling for the orchestrator agent.
Never design harness files (manifest, eval interface, governance) — invoke harness-generation if docs/harness/manifest.json is absent before setup-evaluation.
Workflow
Step 1 — Read Process Entry
Read the decomposed process from docs/processes/YYYY-MM-DD-<task>.md. Extract: steps, skills, tools, parallelism markers, complexity_class.
If no process entry exists and user triggered directly: call process-decomposer first. Wait for output.
Step 2 — Decide Structure
| Signal | Structure |
| 1 step, 1 skill | No agent needed. Route to skill. Done. |
| Multi-step, sequential, no specialization | Single agent + ordered skill stack |
| Parallel steps or distinct specialization | Multi-agent topology (Step 3) |
For single agent: write role, skills[], tools[], prompt (via create-agent-prompt), knowledge[].
Step 3 — Design Multi-Agent Topology
- Identify agent boundaries — what does each agent own?
- Choose topology:
- Sequential pipeline: A -> B -> C
- Parallel fan-out: orchestrator -> [A, B, C] -> merge
- Hierarchical: orchestrator -> sub-orchestrators -> workers
- For each agent define: role, skills[], tools[], knowledge[], input, output
- For orchestrator define: routing rules, failure handling, merge strategy, handoff protocol
- Call
create-agent-promptfor every agent - Call
agent-system-architecturefor complex topologies (>4 agents or hierarchical)
Step 4 — Write Architecture Spec
Persist to docs/architecture/YYYY-MM-DD-<task-slug>-arch.md.
Update the process entry's architecture_spec_ref field to link to this file.
Step 5 — Hand Off
If complexity_class = agent-chain, ensure harness v0 exists (harness-generation if missing), then invoke setup-evaluation (runs from setup-evaluator agent) with process_entry_ref and architecture_spec_ref.
- PASS → hand approved setup to
project-orchestrator - FAIL → revise the architecture using the returned issues, then re-run setup evaluation
For non-agent-chain cases that still produced an architecture spec, hand the spec directly to project-orchestrator.
Gotchas
- "Single agent" is not "no agent" — a single agent still needs a role prompt and skill stack.
- Platform constraints matter — check if the platform supports parallel agents before designing fan-out.
- Scaffold choice is a first-order performance driver. The same model varies 11+ points across scaffolds (e.g., Opus 4.6: 64.41 on Claude Code vs 53.45 on Codex). When designing architectures, consider scaffold/platform search behavior, retry strategies, and persistence characteristics — not just model capability (AlphaEval 2026, credibility 8/12).
- When agents work on related outputs, design cross-agent validation checkpoints. Independent optimization across agent boundaries produces globally suboptimal results — 26% cost overruns documented in procurement tasks where agents optimized components independently instead of jointly (AlphaEval 2026, credibility 8/12).
- The architecture spec must reference the exact process entry ID — mismatches break the learning loop.
- Don't over-architect: 2 agents is almost always better than 5. Combine where boundaries are fuzzy.
Example
<examples>
<example>
<input>Design execution for process proc-2026-04-10-007 (3 sequential steps, no parallelism)</input>
<output>
Process: 3 steps, all sequential, no specialization.
Structure: **Single agent** with ordered skill stack.Agent: Feature Builder
- Skills: [brainstorming, prd-writing, implementation-plan]
- Tools: [Read, Write, Bash]
- Flow: brainstorming -> prd-writing -> implementation-plan (sequential)
Generating role prompt via create-agent-prompt...
Architecture spec saved to: docs/architecture/2026-04-10-feature-builder-arch.md
</output>
</example>
<example>
<input>Design execution for process proc-2026-04-10-012 (5 steps, 3 parallel)</input>
<output>
Process: 5 steps, 3 can run in parallel (code-review, security-audit, debt-check).
Structure: Multi-agent parallel fan-out.
Topology: Orchestrator -> [Review Agent, Security Agent, Debt Agent] -> Merge Agent [Defining boundaries, generating role prompts for each...]
Architecture spec saved to: docs/architecture/2026-04-10-review-pipeline-arch.md
Running setup-evaluation before handoff to project-orchestrator.
</output>
</example>
</examples>
Common Rationalizations
| Excuse | Reality |
| Agent without boundaries | Define tools, memory, and escalation limits. |
| Copy prompt from blog | secure-* scan; cite sources. |
| Skip setup-evaluation | Eval hooks belong in agent design. |
| One-shot mega-prompt | Split orchestrator vs worker skills. |
Verification
- Agent role and boundaries documented
- Skill/tool routing map produced
- Memory policy stated
- Outputs logged when files created
Red Flags
- Topology designed without checking platform parallel limits
- Single agent shipped with no role prompt or skill stack
- Scaffold choice ignored despite large benchmark variance
- Fan-out merge has no explicit output contract between agents
Prune Log
Last pruned: 2026-07-04
- No changes — citation audit passed; content current (improve-skills full pass 2026-07-04)
Impact Report
Architecture designed for: [task]
Structure: single-agent | multi-agent-sequential | multi-agent-parallel | multi-agent-hierarchical
Agents defined: [N]
Architecture spec: docs/architecture/YYYY-MM-DD-<slug>-arch.md
Process entry linked: [proc-ID]
Next: setup-evaluation (if agent-chain) | project-orchestratorDoes 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
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.

