agentleFS
itsmuskanagarwalitsmuskanagarwal/effective-agents-lab/skills/agent-architecture-advisor/SKILL.md

agent-architecture-advisor

Skill0 starsChanged 4 months agoMITView on GitHub

Use when the user is deciding how to architect an AI agent system — e.g. "should this be a single agent or multiple agents", "what pattern fits this use case", or "is this too complex for what we need". Encodes the Building Effective AI Agents playbook's decision framework as a consultation workflow, biased toward starting simple.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 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.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Name the tradeoff explicitly: Every recommendation should state what's being traded (token cost, latency, engineering time, auditability) — …

    line 20
  2. Distinctive:

    All four questions were asked and answered before any recommendation was made.

    line 28

≈ “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

Agent architecture advisor

A consultation workflow that encodes the playbook's own decision framework: four questions, then a pattern recommendation — biased toward the playbook's core lesson, "start simple, scale intelligently."

Workflow

  1. Ask the four questions, in order, before recommending anything:
    • Control: How much do you need to explain/audit every decision? (high: regulatory, financial, safety-critical / moderate: customer support, content / low: research, brainstorming)
    • Domain complexity: Single well-defined domain, multiple predictable domains, or open-ended/multi-domain?
    • Resources: What's the budget and time-to-market pressure? Multi-agent systems use roughly 10-15x more tokens than a single agent — this should be a real input to the decision, not an afterthought.
    • Domain expertise depth: Does this need deep specialized knowledge in one domain (favors Skills), or coordination across genuinely distinct domains (favors multi-agent)?
  2. Map answers to a recommendation using references/pattern-catalog.md — don't skip straight to a sophisticated architecture because it sounds more capable; match complexity to demonstrated need.
  3. Default to the simplest pattern that satisfies the control and domain-complexity answers. If a single agent with added Skills could plausibly meet the accuracy bar, recommend trying that before proposing multi-agent coordination.
  4. State the upgrade path, not just the current recommendation. Even a single-agent recommendation should note what signal would justify moving to the next tier (see references/decision-framework.md for the e-commerce 5-phase example of this in practice).
  5. Name the tradeoff explicitly. Every recommendation should state what's being traded (token cost, latency, engineering time, auditability) — not just what pattern to use.

Composition

Stand-alone advisory skill — typically the first skill consulted before building anything from this repo's patterns/ or agents/ directories.

Quality bar

  • All four questions were asked and answered before any recommendation was made.
  • The 10-15x token-cost consideration was explicitly weighed, not skipped.
  • The recommendation matches the simplest pattern that satisfies the stated constraints — no unjustified complexity.
  • An upgrade path (the signal that would justify more complexity later) is stated.

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.