π¦ ClawHub
Production Agent Builder
by @wholeinsoul
Structured 8-step framework for building production AI agents. Use when designing a new AI agent, planning agent architecture, building an automated workflow...
TERMINAL
clawhub install production-agent-builderπ About This Skill
name: ai-agent-builder description: Structured 8-step framework for building production AI agents. Use when designing a new AI agent, planning agent architecture, building an automated workflow, or reviewing an existing agent's design. Covers task selection, step mapping, I/O specification, system prompt writing, memory design, safeguards, interface choice, and testing. Triggers on "build an agent", "design an agent", "agent architecture", "create an AI workflow", "production agent", "agent planning", "how to build an agent".
AI Agent Builder
Structured framework for building AI agents that work in production. Based on the Storm & Storm methodology.
When to Use
The 8-Step Process
Follow these steps in order. Each step has a clear goal and concrete deliverables.
Step 1: Choose a Task
Pick ONE painful, repeating workflow. Not "AI in general."Step 2: Map the Steps
Break the task into 4β7 steps: INPUT β ACTIONS β DECISION β OUTPUTStep 3: Specify Inputs, Outputs & Tools
Treat the agent like an API, not a chatbot.Step 4: Write the System Prompt
Create a clear role with: role definition, boundaries, style, 1β2 example conversations.Step 5: Add Memory
Three layers: conversation state, task memory, knowledge memory (vector store/file search).Step 6: Add Safeguards
Gate high-risk actions (email, data changes, money) behind human approval.Step 7: Build the Interface
Match to where users work: chat, Slack command, button in app, or web form.Step 8: Test
For each real example: watch the trace, score correctness + efficiency + time saved.Detailed Reference
For expanded details on each step, including selection criteria, classification examples, tool categories, memory layer patterns, and a pre-launch checklist:
β Read references/guide.md
Output Format
When using this framework to design an agent, produce a design document covering:
# Agent Design: [Name]Task & Success Criteria
[Step 1 output]Step Map
[Step 2 output β numbered steps with classifications]I/O Specification
[Step 3 output β inputs, outputs, tools]System Prompt
[Step 4 output β the actual prompt]Memory Architecture
[Step 5 output β which layers, what's stored]Safeguards
[Step 6 output β gated actions, rules, logging]Interface
[Step 7 output β chosen interface and why]Test Plan
[Step 8 output β example inputs, expected outputs, scoring criteria]