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.
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.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- STEP 1: Initialize Build Environment
- STEP 2: Define and Approve Goal
- STEP 3: Design Node Workflow
- STEP 4: Build Nodes One by One
- STEP 5: Connect Edges
- STEP 6: Generate Agent Package
- STEP 7: Verify and Test
- REFERENCE: Node Types
- REFERENCE: Edge Conditions
- REFERENCE: System Prompt Best Practice
- COMMON MISTAKES TO AVOID
cd /home/timothy/oss/hive cd /home/timothy/oss/hive && PYTHONPATH=core:exports python -m AGENT_NAME validate
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.
