frankxai/claude-skills-library
Overview
This skill teaches how to build production-ready multi-agent systems using OpenAI AgentKit and the Agents SDK, with practical patterns for orchestration, handoffs, routines, and monitoring. It focuses on 2025 best practices: lightweight specialized agents, explicit handoffs, observable workflows, and using the Agents SDK (not legacy Swarm) for production.
How this skill works
The skill inspects agent design, routine definitions, handoff mechanics, and end-to-end orchestration patterns, then maps them to concrete implementation and testing strategies. It covers triage, sequential, and parallel decomposition patterns, guidance on tool assignment, state/context passing, performance optimizations, and production observability. Code snippets and test strategies demonstrate how to implement handoffs, routines, and monitoring using the Agents SDK.
When to use it
- Building customer-facing workflows that need clear routing and specialist handling
- Designing multi-step pipelines where each step requires distinct expertise
- Breaking complex problems into parallel subtasks with a synthesis step
- Migrating legacy educational Swarm setups to production-ready Agents SDK
- Optimizing latency, cost, and observability for agent-driven systems
Best practices
- Keep agents small and single-responsibility with clear system prompts
- Define explicit handoff triggers, context payloads, and return paths
- Give each agent only the tools it needs; avoid full tool sets on every agent
- Design routines with entry/exit conditions, error handling, and success metrics
- Test agents in isolation, then integration and end-to-end scenarios; add observability and tracing early
Example use cases
- Customer service triage routing requests to refund, sales, or technical specialists
- Research pipelines: research_agent → analysis_agent → report_agent sequential flow
- Parallel analysis of large datasets with subtask agents and a synthesis agent
- Refund processing routine with verification, calculation, reversal, and confirmation steps
- Migration project replacing Swarm experiments with Agents SDK-based orchestrations
FAQ
Agents SDK is production-ready and supported for scalable deployments; Swarm is educational and not intended for production. Migrate legacy Swarm code to Agents SDK for reliability and observability.
How do I avoid circular handoffs?
Design clear hierarchy or state-based termination, implement explicit handoff conditions, and add loop detection in orchestrators to break cycles.
What metrics should I monitor first?
Start with agent-level task completion rate, handoff accuracy, tool call success rates, and end-to-end latency. Add cost-per-interaction and user satisfaction as you iterate.
11 skills
This skill guides building production-ready multi-agent systems with OpenAI AgentKit and Agents SDK, optimizing handoffs, routines, and orchestration.
This skill delivers evidence-based hypertrophy and strength guidance from 2025 science to optimize progression, volume, and technique for consistent gains.
This skill helps you master Framer workflows from design to production, including MCP integration, motion, and CMS for fast, polished web experiences.
This skill channels disciplined laconic Spartan wisdom to boost focus execution and resilience across work and life.
This skill helps you design and deploy MCP servers that enable standardized AI-to-data integrations across resources, tools, and prompts.
This skill helps you craft professional Suno AI v4/v4.5 songs with advanced prompt engineering and dynamic arrangement guidance.
This skill helps you design portable, framework-agnostic AI agents using Oracle's Open Agent Specification for cross-runtime deployment.
This skill channels Socratic inquiry and Stoic wisdom to help you examine life, clarify values, and pursue virtuous, thoughtful action.
This skill provides expert UI/UX guidance covering accessibility, design systems, research, and inclusive 2025 best practices to deliver user-centered
This skill guides Oracle Cloud Infrastructure deployments, optimizing architecture, security, and cost with OCI best practices and enterprise-ready patterns.
This skill delivers evidence-based nutrition guidance from 2025 research to optimize longevity, metabolic health, gut diversity, and nutrient-dense eating for