Agent Workflow Builder
БесплатноБез исполняемых скриптовНе проверенBuild multi-agent AI workflows with orchestration, tool use, and state management
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
Agent Workflow Builder
The Agent Workflow Builder skill guides you through designing and implementing multi-agent AI systems that can plan, reason, use tools, and collaborate to accomplish complex tasks. Modern AI applications increasingly rely on agentic architectures where LLMs act as reasoning engines that orchestrate actions rather than just generate text.
This skill covers agent design patterns, tool integration, state management, error handling, and human-in-the-loop workflows. It helps you build robust agent systems that can handle real-world complexity while maintaining safety and controllability.
Whether you are building autonomous assistants, workflow automation, or complex reasoning systems, this skill ensures your agent architecture is well-designed and production-ready.
Core Workflows
Workflow 1: Design Agent Architecture
- Define the agent's scope:
- What tasks should it handle autonomously?
- What requires human approval?
- What is explicitly out of scope?
- Choose architecture pattern:
Pattern Description Use When Single Agent One LLM with tools Simple tasks, clear scope Router Agent Classifies and delegates Multiple distinct domains Sequential Chain Agents in order Pipeline processing Hierarchical Manager + worker agents Complex, decomposable tasks Collaborative Peer agents discussing Requires diverse expertise - Design tool set:
- What capabilities does the agent need?
- How are tools defined and documented?
- What are the safety boundaries?
- Plan state management:
- Conversation history
- Task state and progress
- External system state
- Document architecture decisions
Workflow 2: Implement Agent Loop
- Build core agent loop:
class Agent: def __init__(self, llm, tools, system_prompt): self.llm = llm self.tools = {t.name: t for t in tools} self.system_prompt = system_prompt async def run(self, user_input, max_steps=10): messages = [ {"role": "system", "content": self.system_prompt}, {"role": "user", "content": user_input} ] for step in range(max_steps): response = await self.llm.chat(messages, tools=self.tools) if response.tool_calls: # Execute tools for call in response.tool_calls: result = await self.execute_tool(call) messages.append({"role": "tool", "content": result}) else: # Final response return response.content raise MaxStepsExceeded() async def execute_tool(self, call): tool = self.tools[call.name] return await tool.execute(call.arguments) - Implement tools with clear interfaces
- Add error handling and retries
- Include logging and observability
- Test with diverse scenarios
Workflow 3: Build Multi-Agent System
- Define agent roles:
agents = { "planner": Agent( llm=gpt4, tools=[search, create_task], system_prompt="You decompose complex tasks into steps..." ), "researcher": Agent( llm=claude, tools=[web_search, read_document], system_prompt="You gather and synthesize information..." ), "executor": Agent( llm=gpt4, tools=[code_interpreter, file_system], system_prompt="You execute tasks and produce outputs..." ), "reviewer": Agent( llm=claude, tools=[validate, provide_feedback], system_prompt="You review work for quality and correctness..." ) } - Implement orchestration:
- How do agents communicate?
- Who decides what runs when?
- How is work passed between agents?
- Manage shared state:
- Task board or work queue
- Shared memory or context
- Artifact storage
- Handle failures gracefully
- Add human checkpoints where needed
Quick Reference
| Action | Command/Trigger |
|---|---|
| Design agent | "Design an agent for [task]" |
| Add tools | "What tools for [agent type]" |
| Build multi-agent | "Build multi-agent system for [goal]" |
| Handle errors | "Agent error handling patterns" |
| Add human-in-loop | "Add human approval to agent workflow" |
| Debug agent | "Debug agent workflow" |
Best Practices
Start Simple: Single agent with tools before multi-agent
- Prove value with minimal complexity
- Add agents only when necessary
- Each agent should have clear, distinct responsibility
Design Tools Carefully: Tools are the agent's hands
- Clear, descriptive names and documentation
- Well-defined input/output schemas
- Proper error handling an
Установить Agent Workflow Builder в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл Agent Workflow Builder?
Build multi-agent AI workflows with orchestration, tool use, and state management
Как установить скилл Agent Workflow Builder?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Agent Workflow Builder запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic