agent-designer
Use when the user asks to design multi-agent systems, create agent architectures, define agent communication patterns, or build autonomous agent workflows.
What this skill does
# Agent Designer - Multi-Agent System Architecture **Tier:** POWERFUL **Category:** Engineering **Tags:** AI agents, architecture, system design, orchestration, multi-agent systems ## Overview Agent Designer is a comprehensive 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. ## Core Capabilities ### 1. Agent Architecture Patterns #### Single Agent Pattern - **Use Case:** Simple, focused tasks with clear boundaries - **Pros:** Minimal complexity, easy debugging, predictable behavior - **Cons:** Limited scalability, single point of failure - **Implementation:** Direct user-agent interaction with comprehensive tool access #### Supervisor Pattern - **Use Case:** Hierarchical task decomposition with centralized control - **Architecture:** One supervisor agent coordinating multiple specialist agents - **Pros:** Clear command structure, centralized decision making - **Cons:** Supervisor bottleneck, complex coordination logic - **Implementation:** Supervisor receives tasks, delegates to specialists, aggregates results #### Swarm Pattern - **Use Case:** Distributed problem solving with peer-to-peer collaboration - **Architecture:** Multiple autonomous agents with shared objectives - **Pros:** High parallelism, fault tolerance, emergent intelligence - **Cons:** Complex coordination, potential conflicts, harder to predict - **Implementation:** Agent discovery, consensus mechanisms, distributed task allocation #### Hierarchical Pattern - **Use Case:** Complex systems with multiple organizational layers - **Architecture:** Tree structure with managers and workers at different levels - **Pros:** Natural organizational mapping, clear responsibilities - **Cons:** Communication overhead, potential bottlenecks at each level - **Implementation:** Multi-level delegation with feedback loops #### Pipeline Pattern - **Use Case:** Sequential processing with specialized stages - **Architecture:** Agents arranged in processing pipeline - **Pros:** Clear data flow, specialized optimization per stage - **Cons:** Sequential bottlenecks, rigid processing order - **Implementation:** Message queues between stages, state handoffs ### 2. Agent Role Definition #### Role Specification Framework - **Identity:** Name, purpose statement, core competencies - **Responsibilities:** Primary tasks, decision boundaries, success criteria - **Capabilities:** Required tools, knowledge domains, processing limits - **Interfaces:** Input/output formats, communication protocols - **Constraints:** Security boundaries, resource limits, operational guidelines #### Common Agent Archetypes **Coordinator Agent** - Orchestrates multi-agent workflows - Makes high-level decisions and resource allocation - Monitors system health and performance - Handles escalations and conflict resolution **Specialist Agent** - Deep expertise in specific domain (code, data, research) - Optimized tools and knowledge for specialized tasks - High-quality output within narrow scope - Clear handoff protocols for out-of-scope requests **Interface Agent** - Handles external interactions (users, APIs, systems) - Protocol translation and format conversion - Authentication and authorization management - User experience optimization **Monitor Agent** - System health monitoring and alerting - Performance metrics collection and analysis - Anomaly detection and reporting - Compliance and audit trail maintenance ### 3. Tool Design Principles #### Schema Design - **Input Validation:** Strong typing, required vs optional parameters - **Output Consistency:** Standardized response formats, error handling - **Documentation:** Clear descriptions, usage examples, edge cases - **Versioning:** Backward compatibility, migration paths #### Error Handling Patterns - **Graceful Degradation:** Partial functionality when dependencies fail - **Retry Logic:** Exponential backoff, circuit breakers, max attempts - **Error Propagation:** Structured error responses, error classification - **Recovery Strategies:** Fallback methods, alternative approaches #### Idempotency Requirements - **Safe Operations:** Read operations with no side effects - **Idempotent Writes:** Same operation can be safely repeated - **State Management:** Version tracking, conflict resolution - **Atomicity:** All-or-nothing operation completion ### 4. Communication Patterns #### Message Passing - **Asynchronous Messaging:** Decoupled agents, message queues - **Message Format:** Structured payloads with metadata - **Delivery Guarantees:** At-least-once, exactly-once semantics - **Routing:** Direct messaging, publish-subscribe, broadcast #### Shared State - **State Stores:** Centralized data repositories - **Consistency Models:** Strong, eventual, weak consistency - **Access Patterns:** Read-heavy, write-heavy, mixed workloads - **Conflict Resolution:** Last-writer-wins, merge strategies #### Event-Driven Architecture - **Event Sourcing:** Immutable event logs, state reconstruction - **Event Types:** Domain events, system events, integration events - **Event Processing:** Real-time, batch, stream processing - **Event Schema:** Versioned event formats, backward compatibility ### 5. Guardrails and Safety #### Input Validation - **Schema Enforcement:** Required fields, type checking, format validation - **Content Filtering:** Harmful content detection, PII scrubbing - **Rate Limiting:** Request throttling, resource quotas - **Authentication:** Identity verification, authorization checks #### Output Filtering - **Content Moderation:** Harmful content removal, quality checks - **Consistency Validation:** Logic checks, constraint verification - **Formatting:** Standardized output formats, clean presentation - **Audit Logging:** Decision trails, compliance records #### Human-in-the-Loop - **Approval Workflows:** Critical decision checkpoints - **Escalation Triggers:** Confidence thresholds, risk assessment - **Override Mechanisms:** Human judgment precedence - **Feedback Loops:** Human corrections improve system behavior ### 6. Evaluation Frameworks #### Task Completion Metrics - **Success Rate:** Percentage of tasks completed successfully - **Partial Completion:** Progress measurement for complex tasks - **Task Classification:** Success criteria by task type - **Failure Analysis:** Root cause identification and categorization #### Quality Assessment - **Output Quality:** Accuracy, relevance, completeness measures - **Consistency:** Response variability across similar inputs - **Coherence:** Logical flow and internal consistency - **User Satisfaction:** Feedback scores, usage patterns #### Cost Analysis - **Token Usage:** Input/output token consumption per task - **API Costs:** External service usage and charges - **Compute Resources:** CPU, memory, storage utilization - **Time-to-Value:** Cost per successful task completion #### Latency Distribution - **Response Time:** End-to-end task completion time - **Processing Stages:** Bottleneck identification per stage - **Queue Times:** Wait times in processing pipelines - **Resource Contention:** Impact of concurrent operations ### 7. Orchestration Strategies #### Centralized Orchestration - **Workflow Engine:** Central coordinator manages all agents - **State Management:** Centralized workflow state tracking - **Decision Logic:** Complex routing and branching rules - **Monitoring:** Comprehensive visibility into all operations #### Decentralized Orchestration - **Peer-to-Peer:** Agents coordinate directly with each other - **Service Discovery:** Dynamic agent registration and lookup - **Consensus Protocols:** Distributed decision making - **Fault Tolerance:** No single point of failure #### Hybrid Approaches - **Domain Boundaries:** Centralized within domains, federated across - **Hierar
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.