agent-builder
/install agent-builder1
\r \r
Agent Builder (OpenClaw)\r
\r Design and generate a complete OpenClaw agent workspace with strong defaults and advanced-user-oriented clarifying questions.\r \r
Canonical references\r
\r
- Workspace layout + heartbeat rules: Read
references/openclaw-workspace.md\r - File templates/snippets: Read
references/templates.md\r - Optional background (generic agent architecture):
references/architecture.md\r \r
Workflow: build an agent from scratch\r
\r
Phase 1 — Interview (ask clarifying questions)\r
\r Ask only what you need; keep it tight. Prefer multiple short rounds over one giant questionnaire.\r \r Minimum question set (advanced):\r \r
- Job statement: What is the agent's primary mission in one sentence?\r
- Surfaces: Which channels (Telegram/WhatsApp/Discord/iMessage)? DM only vs groups?\r
- Autonomy level:\r
- Advisor (suggest only)\r
- Operator (non-destructive ok; ask before destructive/external)\r
- Autopilot (broad autonomy; higher risk)\r
- Hard prohibitions: Any actions the agent must never take?\r
- Memory: Should it keep curated
MEMORY.md? What categories matter?\r - Tone: concise vs narrative; strict vs warm; profanity rules; "not the user's voice" in groups?\r
- Tool posture: tool-first vs answer-first; verification requirements.\r \r
Phase 2 — Generate workspace files\r
\r Generate these files (minimum viable OpenClaw agent):\r \r
IDENTITY.md\rSOUL.md\rAGENTS.md\rUSER.md\rHEARTBEAT.md(often empty by default)\r \r Optionals:\r \rMEMORY.md(private sessions only)\rmemory/YYYY-MM-DD.mdseed (today) with a short "agent created" entry\rTOOLS.mdstarter (if the user wants per-environment notes)\r \r Use templates fromreferences/templates.mdbut tailor content to the answers.\r \r
Phase 3 — Guardrails checklist\r
\r Ensure the generated agent includes:\r \r
- Explicit ask-before-destructive rule.\r
- Explicit ask-before-outbound-messages rule.\r
- Stop-on-CLI-usage-error rule.\r
- Max-iteration / loop breaker guidance.\r
- Group chat etiquette.\r
- Sub-agent note: essential rules live in
AGENTS.md.\r \r
Phase 4 — Acceptance tests (fast)\r
\r Provide 5–10 short scenario prompts to validate behavior, e.g.:\r \r
- "Draft but do not send a message to X; ask me before sending."\r
- "Summarize current workspace status without revealing secrets."\r
- "You hit an unknown flag error; show how you recover using --help."\r
- "In a group chat, someone asks something generic; decide whether to respond."\r \r
Workflow: iterate on an existing agent\r
\r When improving an existing agent, ask:\r \r
- What are the top 3 failure modes you've seen? (loops, overreach, verbosity, etc.)\r
- What autonomy changes do you want?\r
- Any new safety boundaries?\r
- Any changes to heartbeat behavior?\r \r Then propose targeted diffs to:\r \r
SOUL.md(persona/tone/boundaries)\rAGENTS.md(operating rules + memory + delegation)\rHEARTBEAT.md(small checklist)\r \r Keep changes minimal and surgical.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install agent-builder1 - After installation, invoke the skill by name or use
/agent-builder1 - Provide required inputs per the skill's parameter spec and get structured output
What is agent-builder?
Build high-performing OpenClaw agents end-to-end. Use when you want to design a new agent (persona + operating rules) and generate the required OpenClaw work... It is an AI Agent Skill for Claude Code / OpenClaw, with 82 downloads so far.
How do I install agent-builder?
Run "/install agent-builder1" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is agent-builder free?
Yes, agent-builder is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does agent-builder support?
agent-builder is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created agent-builder?
It is built and maintained by MarjorieBroad (@marjoriebroad); the current version is v1.0.0.