Agent skill

hive-patterns

Best practices, patterns, and examples for building goal-driven agents. Includes client-facing interaction, feedback edges, judge patterns, fan-out/fan-in, context management, and anti-patterns.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill hive-patterns-aden-hive-hive --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 15 KB
Bundled scripts: none
Version: 2.0
Declared author: hive
Path: skills/agent/hive-patterns-aden-hive-hive/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Building Agents - Patterns & Best Practices Design patterns, examples, and best practices for building robust goal-driven agents. **Prerequisites:** Complete agent structure using `hive-create`. ## Practical Example: Hybrid Workflow How to build a node using both direct file writes and optional MCP validation: ```python # 1. WRITE TO FILE FIRST (Primary - makes it visible) node_code = ''' search_node = NodeSpec( id="search-web", node_type="event_loop", input_keys=["query"], output_keys=["search_results"], system_prompt="Search the web for: {query}. Use web_search, then call set_output to store results.", tools=["web_search"], ) ''' Edit( file_path="exports/research_agent/nodes/__init__.py", old_string="# Nodes will be added here", new_string=node_code ) # 2. OPTIONALLY VALIDATE WITH MCP (Secondary - bookkeeping) validation = mcp__agent-builder__test_node( node_id="search-web", test_input='{"query": "python tutorials"}', mock_llm_response='{"search_results": [...mock results...]}' ) ``` **User experience:** - Immediately sees node in their editor (from step 1) - Gets validation feedback (from step 2) - Can edit the file directly if needed ## Multi-Turn Interaction Patterns For age

What's inside
Steps it walks through
  1. Practical Example: Hybrid Workflow
  2. Multi-Turn Interaction Patterns
  3. Client-Facing Nodes
  4. When to Use clientfacing
  5. Edge-Based Routing and Feedback Loops
  6. Conditional Edge Routing
  7. Routing Decision Table
  8. Judge Patterns
  9. Implicit Judge (Default)
  10. SchemaJudge
  11. When to Use Which Judge
  12. Fan-Out / Fan-In (Parallel Execution)
  13. Context Management Patterns
  14. Tiered Compaction
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the hive-patterns skill do?

Best practices, patterns, and examples for building goal-driven agents. Includes client-facing interaction, feedback edges, judge patterns, fan-out/fan-in, context management, and anti-patterns.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill hive-patterns-aden-hive-hive --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going