/engineering-advanced-skills:agent-designerfrom engineering-advanced-skills
Designs multi-agent system architectures with orchestration patterns, tool schemas, and performance evaluation. Use when building AI agent systems, designing agent workflows, creating tool schemas, or evaluating agent performance.
Ships in engineering-advanced-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A toolkit for designing, architecting, and evaluating multi-agent systems. It provides structured approaches to agent architecture patterns, tool design principles, communication strategies, and performance evaluation frameworks for building robust, scalable AI agent systems.
Before designing the system, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
tool_schema_generator.py emits).Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
Run from the skill folder. Without -o nothing is written to disk: each tool prints its summary (and --validate results) to stdout, or with --format json the full JSON report. -o PREFIX additionally writes PREFIX.json (and, with --format both, the extra files listed below), so point the prefix at a scratch directory. Progress lines go to stderr.
# 1. Pick a pattern, roles and topology from requirements (writes <prefix>.json, _diagram.mmd, _roadmap.json)
python scripts/agent_planner.py assets/sample_system_requirements.json -o /tmp/arch --format both
# 2. Generate OpenAI and Anthropic tool schemas and check each one has properties and validation rules
python scripts/tool_schema_generator.py assets/sample_tool_descriptions.json -o /tmp/tools --format both --validate
# 3. Evaluate a run from execution logs: success rate, latency, cost, error patterns, bottlenecks
python scripts/agent_evaluator.py assets/sample_execution_logs.json -o /tmp/perf --format both --detailed
| Tool | Input | What it gives you |
|---|---|---|
agent_planner.py | requirements JSON (goal, tasks, constraints, team) | pattern choice with rationale, agent roles, communication links, Mermaid diagram, phased roadmap |
tool_schema_generator.py | {"tools": [...]} descriptions | _openai.json (function objects: wrap each as {"type": "function", "function": ...}), _anthropic.json, examples, validation notes |
agent_evaluator.py | {"execution_logs": [...]} with per-task cost_usd, duration_ms, status, errors | health verdict, per-agent metrics, error patterns, bottlenecks, ranked recommendations |
Costs come only from the cost_usd field in the logs; the evaluator carries no model price list, so its numbers never go stale.
Exit codes (all three): 0 output written; 2 the input file is missing, is not valid JSON, is not a JSON object, or holds no usable records. These are generators, not gates: a POOR health verdict still exits 0, so read the report.
Done when: the chosen pattern is justified against the requirements (not just the planner's default), every tool schema has typed, described parameters and passes --validate, and the evaluator run on real logs has no unexplained critical bottleneck. Review the planner's topology by hand: a swarm of up to four agents is a full mesh; larger swarms get a ring of neighbour links (12 links for the six-agent sample, not 30).
Mistake: Splitting a task across a supervisor and five specialists when one agent with good tools would do. Why it happens: Agent diagrams look like architecture; a single loop looks too simple. Instead: Start with one agent and add a second only when context, permissions or parallelism demand it. Every hand-off costs tokens, latency and a new failure mode.
Mistake: Tools with one free-text input parameter and a description such as "does stuff with data".
Why it happens: Schemas get written after the code, as an afterthought.
Instead: Name and type every parameter, state units and limits, and describe when to call the tool and when not to. The model picks tools from these descriptions alone.
Mistake: Shipping because 90% of tasks completed, without looking at cost per task, latency or which agent caused the failures.
Why it happens: Success rate is the only number that is easy to read off.
Instead: Run agent_evaluator.py on real logs and act on the bottleneck list; a high success rate with a 2-minute median latency is still a failed design.
scripts/agent_planner.py, scripts/tool_schema_generator.py, scripts/agent_evaluator.py — the three CLIs above.assets/sample_*.json — runnable inputs for each tool; expected_outputs/ — reference outputs for those samples.references/usage-guide.md — longer walkthrough with input formats and SDK examples.Load the reference that matches the task — keep this file lean and pull detail on demand:
Covers:
Does NOT cover:
engineering/agent-workflow-designer for workflow execution)engineering/prompt-engineer-toolkit)engineering/mcp-server-builder)engineering/self-improving-agent)engineering/agent-workflow-designer — turn the chosen topology into a validated workflow DAG with cost estimates.engineering/agent-protocol — message and tool schema formats across MCP, OpenAI and A2A.engineering/mcp-server-builder — implement the tools whose schemas you generated here.engineering/observability-designer — decide what to trace and alert on for the agents you defined.assets/sample_execution_logs.json (opens in a new tab)assets/sample_system_requirements.json (opens in a new tab)assets/sample_tool_descriptions.json (opens in a new tab)expected_outputs/sample_agent_architecture.json (opens in a new tab)expected_outputs/sample_evaluation_report.json (opens in a new tab)expected_outputs/sample_tool_schemas.json (opens in a new tab)references/agent_architecture_patterns.md (opens in a new tab)references/core-capabilities.md (opens in a new tab)references/evaluation_methodology.md (opens in a new tab)references/tool_design_best_practices.md (opens in a new tab)references/troubleshooting-and-tool-reference.md (opens in a new tab)references/usage-guide.md (opens in a new tab)scripts/agent_evaluator.py (opens in a new tab)scripts/agent_planner.py (opens in a new tab)scripts/tool_schema_generator.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub borghei/claude-skills --plugin engineering-advanced-skills100 skills in this plugin
/a11y-auditStatic WCAG scan of HTML files (alt text, headings, labels, ARIA, lang, landmarks) and colour contrast checks for colour pairs or CSS. Use when auditing templates for accessibility, checking contrast, or adding an a11y gate to CI.
/agent-harnessTest and evaluation harness for AI agents — scenario suites, deterministic replay, regression diffing, cost and latency budgets. Use when agent quality is vibe-checked, before shipping a prompt or model change, or when evals drift.
/agenthubRuns a multi-agent job as a dependency graph: validates the DAG, tracks each agent's state on a board, then ranks and merges their outputs. Use when spawning parallel agents, monitoring a run, or merging results.
Other plugins' skills for the same job