Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问clear审计通过

agent-workflow-builderAgent 工作流程构建器

Agent Skill

agent-workflow-builder 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

7,875

周安装

230

GitHub Stars

公开资料未说明

下载量

2,076
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-workflow-builder(Agent 工作流程构建器)
来源仓库:https://github.com/eddiebe147/claude-settings
仓库路径:skills/agent-workflow-builder
安装命令:
npx skills add https://github.com/eddiebe147/claude-settings --skill 'Agent Workflow Builder'
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/eddiebe147/claude-settings --skill 'Agent Workflow Builder'

简介

agent-workflow-builder 指导构建多代理 AI 系统,涵盖规划、推理、工具调用与协作机制设计。

  • 适用于需要构建复杂智能应用、集成多种工具并管理状态的场景。
  • 覆盖代理模式设计、错误处理、人机交互等关键环节,提升系统健壮性。
  • 通过结构化模板和最佳实践帮助用户快速落地真实世界的代理架构。
  • 使用前应明确任务复杂度与所需工具链,避免过度设计。

SKILL.md

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

  1. Define the agent's scope:

- What tasks should it handle autonomously? - What requires human approval? - What is explicitly out of scope?

  1. 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
  2. Design tool set:

- What capabilities does the agent need? - How are tools defined and documented? - What are the safety boundaries?

  1. Plan state management:

- Conversation history - Task state and progress - External system state

  1. Document architecture decisions

Workflow 2: Implement Agent Loop

  1. 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)
  2. Implement tools with clear interfaces
  3. Add error handling and retries
  4. Include logging and observability
  5. Test with diverse scenarios

Workflow 3: Build Multi-Agent System

  1. 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...")}
  2. Implement orchestration:

- How do agents communicate? - Who decides what runs when? - How is work passed between agents?

  1. Manage shared state:

- Task board or work queue - Shared memory or context - Artifact storage

  1. Handle failures gracefully
  2. Add human checkpoints where needed

Quick Reference

ActionCommand/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 and messages - Idempotent operations where possible

  • Limit Agent Autonomy: Constrain the blast radius

- Define what agents cannot do - Require approval for high-impact actions - Implement spending/rate limits - Log all actions for audit

  • Manage State Explicitly: Don't rely on LLM memory alone

- Persist conversation and task state - Summarize long contexts to fit windows - Track what has been tried/completed

  • Fail Gracefully: Agents will encounter errors

- Clear error messages for the agent to reason about - Retry logic with backoff - Fallback strategies - Human escalation paths

  • Observe Everything: Debugging agents is hard

- Log all LLM calls and tool invocations - Track reasoning chains and decisions - Measure success rates by task type

Advanced Techniques

ReAct Pattern (Reasoning + Acting)

Structure agent thinking explicitly:

REACT_PROMPT = """
You are an agent that solves tasks step by step.

For each step:
1. Thought: Analyze the current situation and decide what to do
2. Action: Choose a tool and provide arguments
3. Observation: Review the tool result

Continue until you can provide a final answer.

Available tools: {tool_descriptions}

Current task: {task}

Begin:
"""

Planning Agent with Task Decomposition

Break complex tasks into manageable steps:

class PlanningAgent:
    async def solve(self, task):
        # Step 1: Create plan
        plan = await self.create_plan(task)

        # Step 2: Execute each step
        results = []
        for step in plan.steps:
            result = await self.execute_step(step, context=results)
            results.append(result)

            # Replan if needed
            if result.status == "blocked":
                plan = await self.replan(task, results)

        # Step 3: Synthesize final output
        return await self.synthesize(task, results)

Reflection and Self-Correction

Let agents review and improve their work:

async def solve_with_reflection(self, task, max_attempts=3):
    for attempt in range(max_attempts):
        # Generate solution
        solution = await self.generate_solution(task)

        # Self-critique
        critique = await self.critique_solution(task, solution)

        if critique.is_acceptable:
            return solution

        # Improve based on critique
        task = f"{task}\n\nPrevious attempt issues: {critique.issues}"

    return solution  # Return best effort

Human-in-the-Loop Checkpoints

Integrate human approval into workflows:

class HumanApprovalTool:
    async def execute(self, action_description, risk_level):
        if risk_level == "low":
            return {"approved": True, "auto": True}

        # Send to approval queue
        approval_request = await self.create_request(action_description)

        # Wait for human response (with timeout)
        response = await self.wait_for_approval(
            approval_request.id,
            timeout_minutes=30
        )

        return {
            "approved": response.approved,
            "feedback": response.feedback,
            "auto": False
        }

Memory Management

Handle long conversations and context:

class AgentMemory:
    def __init__(self, max_tokens=8000):
        self.max_tokens = max_tokens
        self.messages = []
        self.summaries = []

    def add(self, message):
        self.messages.append(message)

        if self.token_count() > self.max_tokens:
            self.compress()

    def compress(self):
        # Summarize older messages
        old_messages = self.messages[:-5]  # Keep recent
        summary = summarize(old_messages)

        self.summaries.append(summary)
        self.messages = self.messages[-5:]

    def get_context(self):
        return {
            "summaries": self.summaries,
            "recent_messages": self.messages
        }

Common Pitfalls to Avoid

  • Building multi-agent systems when a single agent suffices
  • Giving agents too much autonomy without safety bounds
  • Not handling tool failures and edge cases
  • Forgetting that LLMs can hallucinate tool calls
  • Infinite loops when agents get stuck
  • Not logging enough to debug agent behavior
  • Assuming agents will follow instructions perfectly
  • Ignoring cost (token usage) in agent loops

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

27.71%
按下载量换算575

OpenCode

22.39%
按下载量换算465

Gemini CLI

15.6%
按下载量换算324

Antigravity

11.6%
按下载量换算241

Cursor

8.23%
按下载量换算171

windsurf

3.07%
按下载量换算64

安全审计

Gen Agent Trust Hub

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源字段存在多来源差异,先按来源优先级自动处理,无法消解时进入异常复核队列。

来源信息

继续浏览同类 Skills