hive
目標達成型のAIエージェントを構築、実装、テストするためのワークフローを支援し、どのSkillを使うべきか不明な場合や、最初から最後まで手厚いサポートが必要な場合に、プロジェクト全体をまとめて管理するSkill。
📜 元の英語説明(参考)
Complete workflow for building, implementing, and testing goal-driven agents. Orchestrates hive-* skills. Use when starting a new agent project, unsure which skill to use, or need end-to-end guidance.
🇯🇵 日本人クリエイター向け解説
目標達成型のAIエージェントを構築、実装、テストするためのワークフローを支援し、どのSkillを使うべきか不明な場合や、最初から最後まで手厚いサポートが必要な場合に、プロジェクト全体をまとめて管理するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o hive.zip https://jpskill.com/download/9612.zip && unzip -o hive.zip && rm hive.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/9612.zip -OutFile "$d\hive.zip"; Expand-Archive "$d\hive.zip" -DestinationPath $d -Force; ri "$d\hive.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
hive.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
hiveフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
エージェント開発ワークフロー
これは実行可能なワークフローです。コードベースを探索したり、ソースファイルを読んだりしないでください。正しいスキルにすぐにルーティングしてください。
このスキルがロードされたら、常に AskUserQuestion ツールを使用して、以下のオプションを提示してください。
AskUserQuestion を以下のオプションで使用してください:
- "新しいエージェントを構築する" → その後、/hive-create を呼び出す
- "既存のエージェントをテストする" → その後、/hive-test を呼び出す
- "エージェントの概念を学ぶ" → その後、/hive-concepts を呼び出す
- "エージェントの設計を最適化する" → その後、/hive-patterns を呼び出す
- "認証情報を設定する" → その後、/hive-credentials を呼び出す
- "失敗しているエージェントをデバッグする" → その後、/hive-debugger を呼び出す
- "その他" (達成したいことを記述してください)
しないでください: ソースファイルを読んだり、コードベースを探索したり、コードを検索したり、ルーティングする前に調査したりしないでください。サブスキルがそれらすべてを処理します。
本番環境に対応できるゴール駆動型エージェントを構築するための完全な標準作業手順書 (SOP)。
概要
このワークフローは、初期コンセプトから本番環境に対応できるエージェントへと導くために、特化したスキルを連携させます。
- 概念を理解する →
/hive-concepts(オプション) - 構造を構築する →
/hive-create - 設計を最適化する →
/hive-patterns(オプション) - 認証情報を設定する →
/hive-credentials(エージェントが API キーを必要とするツールを使用する場合) - テストと検証 →
/hive-test - 問題をデバッグする →
/hive-debugger(エージェントが実行時に失敗する場合)
このワークフローを使用するタイミング
このメタスキルは、以下の場合に使用します。
- 新しいエージェントをゼロから開始する場合
- 最初にどのスキルを使用すべきか不明な場合
- エージェント開発のエンドツーエンドのガイダンスが必要な場合
- 一貫性があり、再現性のあるエージェントの構築を望む場合
このワークフローをスキップする場合:
- 既存のエージェントをテストするだけでよい場合 →
/hive-testを直接使用する - 自分がどの段階にいるかを正確に把握している場合 → 特定のスキルを直接使用する
クイック意思決定ツリー
"エージェントの概念を理解する必要がある" → hive-concepts
"新しいエージェントを構築する" → hive-create
"エージェントの設計を最適化する" → hive-patterns
"クライアント向けのノードまたはフィードバックループが必要" → hive-patterns
"エージェントの API キーを設定する必要がある" → hive-credentials
"エージェントをテストする" → hive-test
"エージェントが失敗/停止/エラーが発生している" → hive-debugger
"何が必要かわからない" → 以下のフェーズを読んでから決定する
"エージェントには構造があるが、実装が必要" → エージェントディレクトリの STATUS.md を参照
フェーズ 0: 概念を理解する (オプション)
スキル: /hive-concepts
入力: エージェントアーキテクチャに関する質問
使用するタイミング
- 初めてエージェントを構築する場合
- ノードタイプ、エッジ、ゴールを理解する必要がある場合
- ツールの可用性を検証したい場合
- イベントループアーキテクチャとクライアント向けのノードについて学習する場合
このフェーズが提供するもの
- アーキテクチャの概要 (JSON ではなく Python パッケージ)
- コアコンセプト (Goal, Node, Edge, Event Loop, Judges)
- ツールの発見と検証手順
- ワークフローの概要
エージェントの基礎をすでに理解している場合は、このフェーズをスキップしてください。
フェーズ 1: エージェント構造を構築する
スキル: /hive-create
入力: ユーザー要件 ("...するエージェントを構築する") または開始するためのテンプレート
このフェーズで行うこと
完全なエージェントアーキテクチャを作成します。
- パッケージ構造 (
exports/agent_name/) - 成功基準と制約のあるゴール
- ワークフローグラフ (ノードとエッジ)
- ノード仕様
- CLI インターフェース
- ドキュメント
プロセス
- パッケージを作成する - スケルトンファイルを含むディレクトリ構造
- ゴールを定義する - agent.py に書き込まれた成功基準と制約
- ノードを設計する - 各ノードは承認され、段階的に書き込まれます
- エッジを接続する - 条件付きルーティングによるワークフローグラフ
- 最終決定 - エージェントクラス、エクスポート、およびドキュメント
出力
- ✅
exports/agent_name/パッケージが作成されました - ✅ ゴールが agent.py で定義されました
- ✅ 3〜5 個の成功基準が定義されました
- ✅ 1〜5 個の制約が定義されました
- ✅ 5〜10 個のノードが nodes/init.py で指定されました
- ✅ 8〜15 個のエッジがワークフローを接続しています
- ✅ 検証済みの構造 (passes
uv run python -m agent_name validate) - ✅ 使用方法の説明が記載された README.md
- ✅ CLI コマンド (info, validate, run, shell)
成功基準
フェーズ 2 の準備ができたのは、以下の場合です。
- エージェント構造がエラーなしで検証される
- すべてのノードとエッジが定義されている
- CLI コマンドが機能する (info, validate)
- "Agent complete: exports/agent_name/" が表示される
一般的な出力
hive-create スキルは以下を生成します。
exports/agent_name/
├── __init__.py (パッケージのエクスポート)
├── __main__.py (CLI インターフェース)
├── agent.py (ゴール、グラフ、エージェントクラス)
├── nodes/__init__.py (ノード仕様)
├── config.py (構成)
├── implementations.py (Python 関数用に作成される場合があります)
└── README.md (ドキュメント)
次のステップ
構造が完成し、検証された場合:
→ exports/agent_name/STATUS.md または IMPLEMENTATION_GUIDE.md を確認してください
→ これらのファイルは、実装オプションについて説明しています
→ Python 関数または MCP ツールを追加する必要がある場合があります (現在のスキルではカバーされていません)
設計を最適化したい場合: → フェーズ 1.5 (hive-patterns) に進みます
テストの準備ができている場合: → フェーズ 2 に進みます
フェーズ 1.5: 設計を最適化する (オプション)
スキル: /hive-patterns
入力: 完成したエージェント構造
使用するタイミング
- クライアント向けのブロッキングエッジまたはフィードバックエッジを追加したい場合
- 出力検証用の judge パターンが必要な場合
- ファンアウト/ファンイン (並列実行) が必要な場合
- エラー処理パターンが必要な場合
- ベストプラクティスのガイダンスが必要な場合
このフェーズが提供するもの
- クライアント向けのインタラクションパターン
- ヌル可能な出力キーによるフィードバックエッジルーティング
- Judge パターン (implicit, SchemaJudge)
- ファンアウト/ファンイン並列実行
- コンテキスト管理とスピルオーバーパターン
- 避けるべきアンチパターン
エージェントの設計が簡単な場合は、このフェーズをスキップしてください。
フェーズ 2: テストと検証
スキル: /hive-test
入力: フェーズ 1 からの動作するエージェント
このフェーズで行うこと
包括的なテストスイートの作成と実行をガイドします。
- 制約テスト
- 成功基準テスト
- エッジケーステスト
- 統合テスト
プロセス
- エージェントを分析する - ゴール、制約、成功基準を読みます
- テストを生成する - 呼び出し元エージェントが書き込みます
(原文はここで切り詰められています)
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Agent Development Workflow
THIS IS AN EXECUTABLE WORKFLOW. DO NOT explore the codebase or read source files. ROUTE to the correct skill IMMEDIATELY.
When this skill is loaded, ALWAYS use the AskUserQuestion tool to present options:
Use AskUserQuestion with these options:
- "Build a new agent" → Then invoke /hive-create
- "Test an existing agent" → Then invoke /hive-test
- "Learn agent concepts" → Then invoke /hive-concepts
- "Optimize agent design" → Then invoke /hive-patterns
- "Set up credentials" → Then invoke /hive-credentials
- "Debug a failing agent" → Then invoke /hive-debugger
- "Other" (please describe what you want to achieve)
DO NOT: Read source files, explore the codebase, search for code, or do any investigation before routing. The sub-skills handle all of that.
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:
- Understand Concepts →
/hive-concepts(optional) - Build Structure →
/hive-create - Optimize Design →
/hive-patterns(optional) - Setup Credentials →
/hive-credentials(if agent uses tools requiring API keys) - Test & Validate →
/hive-test - Debug Issues →
/hive-debugger(if agent fails at runtime)
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
/hive-testdirectly - You know exactly which phase you're in → use specific skill directly
Quick Decision Tree
"Need to understand agent concepts" → hive-concepts
"Build a new agent" → hive-create
"Optimize my agent design" → hive-patterns
"Need client-facing nodes or feedback loops" → hive-patterns
"Set up API keys for my agent" → hive-credentials
"Test my agent" → hive-test
"My agent is failing/stuck/has errors" → hive-debugger
"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)
Skill: /hive-concepts
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 event loop architecture and client-facing nodes
What This Phase Provides
- Architecture overview (Python packages, not JSON)
- Core concepts (Goal, Node, Edge, Event Loop, Judges)
- Tool discovery and validation procedures
- Workflow overview
Skip this phase if you already understand agent fundamentals.
Phase 1: Build Agent Structure
Skill: /hive-create
Input: User requirements ("Build an agent that...") or a template to start from
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
- Create package - Directory structure with skeleton files
- Define goal - Success criteria and constraints written to agent.py
- Design nodes - Each node approved and written incrementally
- Connect edges - Workflow graph with conditional routing
- 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
uv run 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 hive-create 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 (hive-patterns)
If ready to test: → Proceed to Phase 2
Phase 1.5: Optimize Design (Optional)
Skill: /hive-patterns
Input: Completed agent structure
When to Use
- Want to add client-facing blocking or feedback edges
- Need judge patterns for output validation
- Want fan-out/fan-in (parallel execution)
- Need error handling patterns
- Want best practices guidance
What This Phase Provides
- Client-facing interaction patterns
- Feedback edge routing with nullable output keys
- Judge patterns (implicit, SchemaJudge)
- Fan-out/fan-in parallel execution
- Context management and spillover patterns
- Anti-patterns to avoid
Skip this phase if your agent design is straightforward.
Phase 2: Test & Validate
Skill: /hive-test
Input: Working agent from Phase 1
What This Phase Does
Guides the creation and execution of a comprehensive test suite:
- Constraint tests
- Success criteria tests
- Edge case tests
- Integration tests
Process
- Analyze agent - Read goal, constraints, success criteria
- Generate tests - The calling agent writes pytest files in
exports/agent_name/tests/using hive-test guidelines and templates - User approval - Review and approve each test
- Run evaluation - Execute tests and collect results
- Debug failures - Identify and fix issues
- 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 /hive-create
→ Agent structure created
→ Use /hive-test
→ Tests created and passing
→ Done: Production-ready agent
Pattern 1b: Complete New Build (With Learning)
User: "Build an agent (first time)"
→ Use /hive-concepts (understand concepts)
→ Use /hive-create (build structure)
→ Use /hive-patterns (optimize design)
→ Use /hive-test (validate)
→ Done: Production-ready agent
Pattern 1c: Build from Template
User: "Build an agent based on the deep research template"
→ Use /hive-create
→ Select "From a template" path
→ Pick template, name new agent
→ Review/modify goal, nodes, graph
→ Agent exported with customizations
→ Use /hive-test
→ Done: Customized agent
Pattern 2: Test Existing Agent
User: "Test my agent at exports/my_agent"
→ Skip Phase 1
→ Use /hive-test directly
→ Tests created
→ Done: Validated agent
Pattern 3: Iterative Development
User: "Build an agent"
→ Use /hive-create (Phase 1)
→ Implementation needed (see STATUS.md)
→ [User implements functions]
→ Use /hive-test (Phase 2)
→ Tests reveal bugs
→ [Fix bugs manually]
→ Re-run tests
→ Done: Working agent
Pattern 4: Agent with Review Loops and HITL Checkpoints
User: "Build an agent with human review and feedback loops"
→ Use /hive-concepts (learn event loop, client-facing nodes)
→ Use /hive-create (build structure with feedback edges)
→ Use /hive-patterns (implement client-facing + feedback patterns)
→ Use /hive-test (validate review flows and edge routing)
→ Done: Agent with HITL checkpoints and review loops
Skill Dependencies
hive (meta-skill)
│
├── hive-concepts (foundational)
│ ├── Architecture concepts (event loop, judges)
│ ├── Node types (event_loop, function)
│ ├── Edge routing and priority
│ ├── Tool discovery procedures
│ └── Workflow overview
│
├── hive-create (procedural)
│ ├── Creates package structure
│ ├── Defines goal
│ ├── Adds nodes (event_loop, function)
│ ├── Connects edges with priority routing
│ ├── Finalizes agent class
│ └── Requires: hive-concepts
│
├── hive-patterns (reference)
│ ├── Client-facing interaction patterns
│ ├── Feedback edges and review loops
│ ├── Judge patterns (implicit, SchemaJudge)
│ ├── Fan-out/fan-in parallel execution
│ └── Context management and anti-patterns
│
├── hive-credentials (utility)
│ ├── Detects missing credentials
│ ├── Offers auth method choices (Aden OAuth, direct API key)
│ ├── Stores securely in ~/.hive/credentials
│ └── Validates with health checks
│
├── hive-test (validation)
│ ├── Reads agent goal
│ ├── Generates tests
│ ├── Runs evaluation
│ └── Reports results
│
└── hive-debugger (troubleshooting)
├── Monitors runtime logs (L1/L2/L3)
├── Identifies retry loops, tool failures
├── Categorizes issues (10 categories)
└── Provides fix recommendations
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=exports uv run 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 - hive-create 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
/hive-testto debug and iterate - Fix agent code and re-run tests
"Agent is failing at runtime"
- Use
/hive-debuggerto analyze runtime logs - The debugger identifies retry loops, tool failures, and stalled execution
- Get actionable fix recommendations with code changes
- Monitor the agent in real-time during TUI sessions
"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=exports uv run 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)
- Start with clear requirements - Know what the agent should do
- Define success criteria early - Measurable goals drive design
- Keep nodes focused - One responsibility per node
- Use descriptive names - Node IDs should explain purpose
- Validate incrementally - Check structure after each major addition
For Phase 2 (Testing)
- Test constraints first - Hard requirements must pass
- Mock external dependencies - Use mock mode for LLMs/APIs
- Cover edge cases - Test failures, not just success paths
- Iterate quickly - Fix one test at a time
- Document test patterns - Future tests follow same structure
General Workflow
- Use version control - Git commit after each phase
- Document decisions - Update README with changes
- Keep iterations small - Build → Test → Fix → Repeat
- Preserve working states - Tag successful iterations
- 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
- hive-concepts: See
.claude/skills/hive-concepts/SKILL.md - hive-create: See
.claude/skills/hive-create/SKILL.md - hive-patterns: See
.claude/skills/hive-patterns/SKILL.md - hive-test: See
.claude/skills/hive-test/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:
- Learn with
/hive-concepts→ Understand fundamentals (optional) - Build with
/hive-create→ Get validated structure - Optimize with
/hive-patterns→ Apply best practices (optional) - Configure with
/hive-credentials→ Set up API keys (if needed) - Test with
/hive-test→ Get verified functionality - Debug with
/hive-debugger→ Fix runtime issues (if needed)
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 hive-concepts when:
- First time building agents
- Need to understand event loop architecture
- Validating tool availability
- Learning about node types, edges, and judges
Choose hive-create when:
- Actually building an agent
- Have clear requirements
- Ready to write code
- Want step-by-step guidance
- Want to start from an existing template and customize it
Choose hive-patterns when:
- Agent structure complete
- Need client-facing nodes or feedback edges
- Implementing review loops or fan-out/fan-in
- Want judge patterns or context management
- Want best practices
Choose hive-test when:
- Agent structure complete
- Ready to validate functionality
- Need comprehensive test coverage
- Testing feedback loops, output keys, or fan-out
Choose hive-debugger when:
- Agent is failing or stuck at runtime
- Seeing retry loops or escalations
- Tool calls are failing
- Need to understand why a node isn't completing
- Want real-time monitoring of agent execution