Token导航 LogoToken导航

Agent Skill · 研究检索

agent-workflow(Agent 工作流程)

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

agent-workflow 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 66,424。

总安装 264周安装 11GitHub Stars 9,571下载 88核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/adenhq/hive --skill agent-workflow

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

此工作流程提供了从概念到生产就绪代理的经过验证的路径: 与 /building-agents-core 一起学习 → 了解基础知识(可选) 使用 /building-agents-construction 进行构建 → 获得经过验证的结构 使用 /building-agents-pattern 进行优化 → 应用最佳实践(可选) 使用 /testing-agent 进行测试 → 获得经过验证的功能 工作流程灵活 - 根据需要跳过阶段、自由迭代并适应您的特定要求。

目标是通过一致、可重复的流程构建生产就绪的代理。

技能选择指南 在以下情况下选择 Building-agent-core: 第一次做建筑代理 需要了解架构 验证工具可用性 了解节点类型和边 在以下情况下选择building-agents-construction: 实际上建立一个代理 有明确的要求 准备写代码了 想要逐步指导 在以下情况下选择构建代理模式: 代理结构完整 需要高级模式 实现暂停/恢复 优化性能 想要最佳实践 在以下情况下选择测试代理: 代理结构完整 准备好验证功能 需要全面的测试覆盖率 调试代理行为 每周安装量 11 存储库 亚丁/蜂巢 GitHub 之星 9.6K 第一次看到 2026 年 1 月 24 日 安全审计 Gen Agent Trust Hub 通行证 套接字通行证 斯尼克通行证

来源仓库内路径:skills/agent-workflow

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/adenhq/hive --skill agent-workflow;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

agent-workflow 怎么安装?

在终端执行 npx skills add https://github.com/adenhq/hive --skill agent-workflow。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

agent-workflow 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

agent-workflow 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/adenhq/hive --skill agent-workflow;npx skills add adenhq/hive --skill "agent-workflow" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

agent-workflow 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

agent-workflow 用的人多吗?

公开数据是累计安装 264 次,近一周安装 11 次,下载 88 次,GitHub 9,571 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

agent-workflow 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
agent-workflow

Agent 工作流程 · 本页

2649,571执行命令MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Agent Development Workflow

Complete Standard Operating Procedure (SOP) for building production-ready goal-driven agents.

Overview

This workflow orchestrates specialized skills to take you from initial concept to production-ready agent:

  1. Understand Concepts → /building-agents-core (optional)
  2. Build Structure → /building-agents-construction
  3. Optimize Design → /building-agents-patterns (optional)
  4. Setup Credentials → /setup-credentials (if agent uses tools requiring API keys)
  5. Test & Validate → /testing-agent

When to Use This Workflow

Use this meta-skill when:

  • Starting a new agent from scratch
  • Unclear which skill to use first
  • Need end-to-end guidance for agent development
  • Want consistent, repeatable agent builds

Skip this workflow if:

  • You only need to test an existing agent → use /testing-agent directly
  • You know exactly which phase you're in → use specific skill directly

Quick Decision Tree

"Need to understand agent concepts" → building-agents-core
"Build a new agent" → building-agents-construction
"Optimize my agent design" → building-agents-patterns
"Set up API keys for my agent" → setup-credentials
"Test my agent" → testing-agent
"Not sure what I need" → Read phases below, then decide
"Agent has structure but needs implementation" → See agent directory STATUS.md

Phase 0: Understand Concepts (Optional)

Duration: 5-10 minutes Skill: /building-agents-core Input: Questions about agent architecture

When to Use

  • First time building an agent
  • Need to understand node types, edges, goals
  • Want to validate tool availability
  • Learning about pause/resume architecture

What This Phase Provides

  • Architecture overview (Python packages, not JSON)
  • Core concepts (Goal, Node, Edge, Pause/Resume)
  • Tool discovery and validation procedures
  • Workflow overview

Skip this phase if you already understand agent fundamentals.

Phase 1: Build Agent Structure

Duration: 15-30 minutes Skill: /building-agents-construction Input: User requirements ("Build an agent that...")

What This Phase Does

Creates the complete agent architecture:

  • Package structure (exports/agent_name/)
  • Goal with success criteria and constraints
  • Workflow graph (nodes and edges)
  • Node specifications
  • CLI interface
  • Documentation

Process

  1. Create package - Directory structure with skeleton files
  2. Define goal - Success criteria and constraints written to agent.py
  3. Design nodes - Each node approved and written incrementally
  4. Connect edges - Workflow graph with conditional routing
  5. Finalize - Agent class, exports, and documentation

Outputs

  • ✅ exports/agent_name/ package created
  • ✅ Goal defined in agent.py
  • ✅ 3-5 success criteria defined
  • ✅ 1-5 constraints defined
  • ✅ 5-10 nodes specified in nodes/init.py
  • ✅ 8-15 edges connecting workflow
  • ✅ Validated structure (passes python -m agent_name validate)
  • ✅ README.md with usage instructions
  • ✅ CLI commands (info, validate, run, shell)

Success Criteria

You're ready for Phase 2 when:

  • Agent structure validates without errors
  • All nodes and edges are defined
  • CLI commands work (info, validate)
  • You see: "Agent complete: exports/agent_name/"

Common Outputs

The building-agents-construction skill produces:

exports/agent_name/
├── __init__.py          (package exports)
├── __main__.py          (CLI interface)
├── agent.py             (goal, graph, agent class)
├── nodes/__init__.py    (node specifications)
├── config.py            (configuration)
├── implementations.py   (may be created for Python functions)
└── README.md            (documentation)

Next Steps

If structure complete and validated: → Check exports/agent_name/STATUS.md or IMPLEMENTATION_GUIDE.md → These files explain implementation options → You may need to add Python functions or MCP tools (not covered by current skills)

If want to optimize design: → Proceed to Phase 1.5 (building-agents-patterns)

If ready to test: → Proceed to Phase 2

Phase 1.5: Optimize Design (Optional)

Duration: 10-15 minutes Skill: /building-agents-patterns Input: Completed agent structure

When to Use

  • Want to add pause/resume functionality
  • Need error handling patterns
  • Want to optimize performance
  • Need examples of complex routing
  • Want best practices guidance

What This Phase Provides

  • Practical examples and patterns
  • Pause/resume architecture
  • Error handling strategies
  • Anti-patterns to avoid
  • Performance optimization techniques

Skip this phase if your agent design is straightforward.

Phase 2: Test & Validate

Duration: 20-40 minutes Skill: /testing-agent Input: Working agent from Phase 1

What This Phase Does

Creates comprehensive test suite:

  • Constraint tests (verify hard requirements)
  • Success criteria tests (measure goal achievement)
  • Edge case tests (handle failures gracefully)
  • Integration tests (end-to-end workflows)

Process

  1. Analyze agent - Read goal, constraints, success criteria
  2. Generate tests - Create pytest files in exports/agent_name/tests/
  3. User approval - Review and approve each test
  4. Run evaluation - Execute tests and collect results
  5. Debug failures - Identify and fix issues
  6. Iterate - Repeat until all tests pass

Outputs

  • ✅ Test files in exports/agent_name/tests/
  • ✅ Test report with pass/fail metrics
  • ✅ Coverage of all success criteria
  • ✅ Coverage of all constraints
  • ✅ Edge case handling verified

Success Criteria

You're done when:

  • All tests pass
  • All success criteria validated
  • All constraints verified
  • Agent handles edge cases
  • Test coverage is comprehensive

Next Steps

Agent ready for:

  • Production deployment
  • Integration into larger systems
  • Documentation and handoff
  • Continuous monitoring

Phase Transitions

From Phase 1 to Phase 2

Trigger signals:

  • "Agent complete: exports/..."
  • Structure validation passes
  • README indicates implementation complete

Before proceeding:

  • Verify agent can be imported: from exports.agent_name import default_agent
  • Check if implementation is needed (see STATUS.md or IMPLEMENTATION_GUIDE.md)
  • Confirm agent executes without import errors

Skipping Phases

When to skip Phase 1:

  • Agent structure already exists
  • Only need to add tests
  • Modifying existing agent

When to skip Phase 2:

  • Prototyping or exploring
  • Agent not production-bound
  • Manual testing sufficient

Common Patterns

Pattern 1: Complete New Build (Simple)

User: "Build an agent that monitors files"
→ Use /building-agents-construction
→ Agent structure created
→ Use /testing-agent
→ Tests created and passing
→ Done: Production-ready agent

Pattern 1b: Complete New Build (With Learning)

User: "Build an agent (first time)"
→ Use /building-agents-core (understand concepts)
→ Use /building-agents-construction (build structure)
→ Use /building-agents-patterns (optimize design)
→ Use /testing-agent (validate)
→ Done: Production-ready agent

Pattern 2: Test Existing Agent

User: "Test my agent at exports/my_agent"
→ Skip Phase 1
→ Use /testing-agent directly
→ Tests created
→ Done: Validated agent

Pattern 3: Iterative Development

User: "Build an agent"
→ Use /building-agents-construction (Phase 1)
→ Implementation needed (see STATUS.md)
→ [User implements functions]
→ Use /testing-agent (Phase 2)
→ Tests reveal bugs
→ [Fix bugs manually]
→ Re-run tests
→ Done: Working agent

Pattern 4: Complex Agent with Patterns

User: "Build an agent with multi-turn conversations"
→ Use /building-agents-core (learn pause/resume)
→ Use /building-agents-construction (build structure)
→ Use /building-agents-patterns (implement pause/resume pattern)
→ Use /testing-agent (validate conversation flows)
→ Done: Complex conversational agent

Skill Dependencies

agent-workflow (meta-skill)
    │
    ├── building-agents-core (foundational)
    │   ├── Architecture concepts
    │   ├── Node/Edge/Goal definitions
    │   ├── Tool discovery procedures
    │   └── Workflow overview
    │
    ├── building-agents-construction (procedural)
    │   ├── Creates package structure
    │   ├── Defines goal
    │   ├── Adds nodes incrementally
    │   ├── Connects edges
    │   ├── Finalizes agent class
    │   └── Requires: building-agents-core
    │
    ├── building-agents-patterns (reference)
    │   ├── Best practices
    │   ├── Pause/resume patterns
    │   ├── Error handling
    │   ├── Anti-patterns
    │   └── Performance optimization
    │
    └── testing-agent
        ├── Reads agent goal
        ├── Generates tests
        ├── Runs evaluation
        └── Reports results

Troubleshooting

"Agent structure won't validate"

  • Check node IDs match between nodes/init.py and agent.py
  • Verify all edges reference valid node IDs
  • Ensure entry_node exists in nodes list
  • Run: PYTHONPATH=core:exports python -m agent_name validate

"Agent has structure but won't run"

  • Check for STATUS.md or IMPLEMENTATION_GUIDE.md in agent directory
  • Implementation may be needed (Python functions or MCP tools)
  • This is expected - building-agents-construction creates structure, not implementation
  • See implementation guide for completion options

"Tests are failing"

  • Review test output for specific failures
  • Check agent goal and success criteria
  • Verify constraints are met
  • Use /testing-agent to debug and iterate
  • Fix agent code and re-run tests

"Not sure which phase I'm in"

Run these checks:

# Check if agent structure exists
ls exports/my_agent/agent.py

# Check if it validates
PYTHONPATH=core:exports python -m my_agent validate

# Check if tests exist
ls exports/my_agent/tests/

# If structure exists and validates → Phase 2 (testing)
# If structure doesn't exist → Phase 1 (building)
# If tests exist but failing → Debug phase

Best Practices

For Phase 1 (Building)

  1. Start with clear requirements - Know what the agent should do
  2. Define success criteria early - Measurable goals drive design
  3. Keep nodes focused - One responsibility per node
  4. Use descriptive names - Node IDs should explain purpose
  5. Validate incrementally - Check structure after each major addition

For Phase 2 (Testing)

  1. Test constraints first - Hard requirements must pass
  2. Mock external dependencies - Use mock mode for LLMs/APIs
  3. Cover edge cases - Test failures, not just success paths
  4. Iterate quickly - Fix one test at a time
  5. Document test patterns - Future tests follow same structure

General Workflow

  1. Use version control - Git commit after each phase
  2. Document decisions - Update README with changes
  3. Keep iterations small - Build → Test → Fix → Repeat
  4. Preserve working states - Tag successful iterations
  5. Learn from failures - Failed tests reveal design issues

Exit Criteria

You're done with the workflow when:

✅ Agent structure validates ✅ All tests pass ✅ Success criteria met ✅ Constraints verified ✅ Documentation complete ✅ Agent ready for deployment

Additional Resources

  • building-agents-core: See .claude/skills/building-agents-core/SKILL.md
  • building-agents-construction: See .claude/skills/building-agents-construction/SKILL.md
  • building-agents-patterns: See .claude/skills/building-agents-patterns/SKILL.md
  • testing-agent: See .claude/skills/testing-agent/SKILL.md
  • Agent framework docs: See core/README.md
  • Example agents: See exports/ directory

Summary

This workflow provides a proven path from concept to production-ready agent:

  1. Learn with /building-agents-core → Understand fundamentals (optional)
  2. Build with /building-agents-construction → Get validated structure
  3. Optimize with /building-agents-patterns → Apply best practices (optional)
  4. Test with /testing-agent → Get verified functionality

The workflow is flexible - skip phases as needed, iterate freely, and adapt to your specific requirements. The goal is production-ready agents built with consistent, repeatable processes.

Skill Selection Guide

Choose building-agents-core when:

  • First time building agents
  • Need to understand architecture
  • Validating tool availability
  • Learning about node types and edges

Choose building-agents-construction when:

  • Actually building an agent
  • Have clear requirements
  • Ready to write code
  • Want step-by-step guidance

Choose building-agents-patterns when:

  • Agent structure complete
  • Need advanced patterns
  • Implementing pause/resume
  • Optimizing performance
  • Want best practices

Choose testing-agent when:

  • Agent structure complete
  • Ready to validate functionality
  • Need comprehensive test coverage
  • Debugging agent behavior

平台分布

Gemini CLI

33.02%
按下载量换算29

Antigravity

22.46%
按下载量换算20

windsurf

19.45%
按下载量换算17

Claude Code

12.34%
按下载量换算11

OpenCode

7.42%
按下载量换算7

Codex

3.35%
按下载量换算3

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/adenhq/hive --skill agent-workflow;npx skills add adenhq/hive --skill "agent-workflow" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills