New to Claude Skills? Learn how to install them →

alirezarezvani on GitHub

Agent Designer

Free

Design and evaluate multi-agent systems efficiently.

Get this skill

Free · Opens the source repo

What Agent Designer does

Agent Designer is a specialized skill for creating, generating, and evaluating multi-agent systems. It provides a structured approach to designing architectures based on specific requirements, allowing users to select from various orchestration patterns such as supervisor, swarm, and pipeline. By leveraging a deterministic scoring mechanism, the skill helps users avoid the pitfalls of subjective decision-making in architecture design, ensuring that the chosen pattern aligns with the defined goals and constraints.

The skill encompasses three main functionalities: architecture design, tool schema generation, and execution log evaluation. Users begin by defining their system requirements in JSON format, which the planner script processes to produce a comprehensive architecture design output. This includes a mermaid diagram for visual representation and an implementation roadmap to guide development. Next, users can generate provider-ready tool schemas from plain tool descriptions, ensuring that all schemas are validated before use, thus preventing runtime errors.

Once a multi-agent system is operational, the skill allows for thorough evaluation of execution logs. This analysis includes metrics on success rates, latency distributions, and cost breakdowns, identifying bottlenecks and providing optimization recommendations. The iterative verification loop ensures that users can refine their designs based on detailed evaluations, making the Agent Designer a robust tool for developers and designers working on complex multi-agent systems.

When to use it

Use this skill when you need to design a new multi-agent system, generate tool schemas, or evaluate the performance of existing agent logs.

When not to use it

This skill is not suitable for single-agent designs or for automating workflows with Claude Code; those tasks should utilize dedicated tools like workflow-builder or agent-workflow-designer.

What you can build with it

Designing a Research Automation System

When tasked with creating an agent architecture for automating research processes, use this skill to define requirements and generate a suitable design.

Generating Tool Schemas for Agents

If you have plain descriptions of tools for agents, this skill can convert them into validated schemas ready for deployment.

Evaluating Performance of Existing Agents

After running a multi-agent system, utilize the evaluation features to analyze logs for performance insights and optimization opportunities.

How to install Agent Designer

View source

1. Install with the skills CLI

npx skills add alirezarezvani/claude-skills/agent-designer --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by alirezarezvani

Agent Designer — Multi-Agent System Architecture

Design, schema-generate, and evaluate multi-agent systems with three deterministic tools. The scripts are the workflow — do not freehand an architecture when the planner can score one from requirements.

When to use

  • Designing a new multi-agent system from requirements (pattern choice, roles, comms)
  • Generating provider-ready tool schemas (Anthropic + OpenAI formats) from plain tool descriptions
  • Evaluating execution logs: success rate, latency distribution, cost, bottlenecks

When NOT to use: Claude Code Workflow-tool automations → workflow-builder; single-agent workflow scaffolds → agent-workflow-designer; multi-agent fan-out at runtime → agenthub.

Pattern decision table

ChooseWhenWatch out for
Single agentOne bounded task, < ~5 toolsDon't add agents you don't need
SupervisorCentral decomposition, specialists report backSupervisor becomes the bottleneck
PipelineStrictly sequential stages with handoffsRigid order; slowest stage gates throughput
HierarchicalMultiple org layers, > ~8 agentsCommunication overhead per level
SwarmParallel peers, fault tolerance over predictabilityHard to debug; needs consensus rules

The planner applies this scoring deterministically — run it rather than picking by feel.

Workflow

All paths relative to this skill folder. Each step's JSON output is the next step's design input.

1. Design the architecture

Write a requirements JSON (copy assets/sample_system_requirements.json — keys: goal, tasks[], constraints{max_response_time, budget_per_task, concurrent_tasks}, team_size):

python3 agent_planner.py requirements.json --format json -o arch

Emits arch.json with architecture_design (pattern, agents, communication links), mermaid_diagram, and implementation_roadmap. Read architecture_design.pattern and the per-agent role list; present the mermaid diagram to the user.

2. Generate tool schemas

Describe each agent's tools in plain JSON (copy assets/sample_tool_descriptions.json), then:

python3 tool_schema_generator.py tool_descriptions.json --validate -o tools

Emits tools.json (tool_schemas, validation_summary) plus provider-specific tools_anthropic.json / tools_openai.json. Gate: every tool must print ✓ Valid. Fix any invalid schema before proceeding — never hand an agent an unvalidated schema.

3. Evaluate execution logs

Once the system runs (or against assets/sample_execution_logs.json for a dry run):

python3 agent_evaluator.py execution_logs.json --detailed -o eval

Emits eval.json with summary, agent_metrics, bottleneck_analysis, error_analysis, cost_breakdown, sla_compliance, and optimization_recommendations, plus split files (eval_errors.json, eval_recommendations.json).

4. Verification loop

The design is not done until:

  1. tool_schema_generator.py --validate reports 0 invalid schemas.
  2. agent_evaluator.py on a pilot run reports 0 critical issues (the tool prints CRITICAL: N critical issues when found). If N > 0, apply the top item in eval_recommendations.json, re-run the pilot, and re-evaluate.
  3. Compare your outputs against expected_outputs/ to confirm the schema shape you're consuming hasn't drifted.

References

  • references/agent_architecture_patterns.md — pattern trade-offs in depth
  • references/tool_design_best_practices.md — schema, idempotency, error-handling rules
  • references/evaluation_methodology.md — metric definitions the evaluator implements

Frequently asked questions about Agent Designer

Similar skills