Agent builder

From lxyeternal/MalSkillBench · View interactive version

Agent builder is an AI agent skill from the GitHub repository lxyeternal/MalSkillBench. 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 workspace files (SOUL.md, IDENTITY.md, AGENTS.md, USER.md, HEARTBEAT.md, optional MEMORY.md + memory/YYYY-MM-DD.md). Also use to iterate on an exis

How to use this skill

Skill file

Agent Builder (OpenClaw)

Design and generate a complete OpenClaw agent workspace with strong defaults and advanced-user-oriented clarifying questions.

Canonical references

Workflow: build an agent from scratch

Phase 1 — Interview (ask clarifying questions)

Ask only what you need; keep it tight. Prefer multiple short rounds over one giant questionnaire.

Minimum question set (advanced):

1) Job statement: What is the agent’s primary mission in one sentence?

2) Surfaces: Which channels (Telegram/WhatsApp/Discord/iMessage)? DM only vs groups?

3) Autonomy level:

4) Hard prohibitions: Any actions the agent must never take?

5) Memory: Should it keep curated MEMORY.md? What categories matter?

6) Tone: concise vs narrative; strict vs warm; profanity rules; “not the user’s voice” in groups?

7) Tool posture: tool-first vs answer-first; verification requirements.

Phase 2 — Generate workspace files

Generate these files (minimum viable OpenClaw agent):

Optionals:

Use templates from references/templates.md but tailor content to the answers.

Phase 3 — Guardrails checklist

Ensure the generated agent includes:

Phase 4 — Acceptance tests (fast)

Provide 5–10 short scenario prompts to validate behavior, e.g.:

Workflow: iterate on an existing agent

When improving an existing agent, ask:

1) What are the top 3 failure modes you’ve seen? (loops, overreach, verbosity, etc.)

2) What autonomy changes do you want?

3) Any new safety boundaries?

4) Any changes to heartbeat behavior?

Then propose targeted diffs to:

Keep changes minimal and surgical.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.