Agent skill · AI & Agents

building-agents-construction

Step-by-step guide for building goal-driven agents. Creates package structure, defines goals, adds nodes, connects edges, and finalizes agent class. Use when actively building an agent.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill building-agents-construction --agent claude-code

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

Facts
Files in the skill folder: 2
SKILL.md size: 9 KB
Bundled scripts: none
Version: 2.0
Declared author: hive
Path: skills/agent/building-agents-construction/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

# Agent Construction - EXECUTE THESE STEPS **THIS IS AN EXECUTABLE WORKFLOW. DO NOT DISPLAY THIS FILE. EXECUTE THE STEPS BELOW.** When this skill is loaded, IMMEDIATELY begin executing Step 1. Do not explain what you will do - just do it. --- ## STEP 1: Initialize Build Environment **EXECUTE THESE TOOL CALLS NOW:** 1. Register the hive-tools MCP server: ``` mcp__agent-builder__add_mcp_server( name="hive-tools", transport="stdio", command="python", args='["mcp_server.py", "--stdio"]', cwd="tools", description="Hive tools MCP server" ) ``` 2. Create a build session (replace AGENT_NAME with the user's requested agent name in snake_case): ``` mcp__agent-builder__create_session(name="AGENT_NAME") ``` 3. Discover available tools: ``` mcp__agent-builder__list_mcp_tools() ``` 4. Create the package directory: ``` mkdir -p exports/AGENT_NAME/nodes ``` **AFTER completing these calls**, tell the user: > ✅ Build environment initialized > > - Session created > - Available tools: [list the tools from step 3] > > Proceeding to define the agent goal... **THEN immediately proceed to STEP 2.** --- ## STEP 2: Define and Approve Goal **PROPOSE a goal to the user.** Based on what they asked for, propose

What's inside
Steps it walks through
  1. STEP 1: Initialize Build Environment
  2. STEP 2: Define and Approve Goal
  3. STEP 3: Design Node Workflow
  4. STEP 4: Build Nodes One by One
  5. STEP 5: Connect Edges
  6. STEP 6: Generate Agent Package
  7. STEP 7: Verify and Test
  8. REFERENCE: Node Types
  9. REFERENCE: Edge Conditions
  10. REFERENCE: System Prompt Best Practice
  11. COMMON MISTAKES TO AVOID
Ships with 1 file
  • metadata.json
Commands it runs
cd /home/timothy/oss/hive
cd /home/timothy/oss/hive && PYTHONPATH=core:exports python -m AGENT_NAME validate
More from claude-skill-registry
All skills →
About this skill
What does the building-agents-construction skill do?

Step-by-step guide for building goal-driven agents. Creates package structure, defines goals, adds nodes, connects edges, and finalizes agent class. Use when actively building an agent.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill building-agents-construction --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