← 返回
未分类

agent-builder

Design and generate complete OpenClaw agent workspaces with personas, rules, memory, and heartbeat plans; iterate on behavior and autonomy efficiently.
设计并生成完整的OpenClaw代理工作空间,涵盖角色、规则、记忆和心跳计划;高效迭代行为与自主性。
godferylindsay godferylindsay 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 196
下载
💾 0
安装
1
版本
#ai#automation#latest

概述

Agent Builder (OpenClaw)

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

Canonical references

  • Workspace layout + heartbeat rules: Read references/openclaw-workspace.md
  • File templates/snippets: Read references/templates.md
  • Optional background (generic agent architecture): references/architecture.md

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:

  • Advisor (suggest only)
  • Operator (non-destructive ok; ask before destructive/external)
  • Autopilot (broad autonomy; higher risk)

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):

  • IDENTITY.md
  • SOUL.md
  • AGENTS.md
  • USER.md
  • HEARTBEAT.md (often empty by default)

Optionals:

  • MEMORY.md (private sessions only)
  • memory/YYYY-MM-DD.md seed (today) with a short "agent created" entry
  • TOOLS.md starter (if the user wants per-environment notes)

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

Phase 3 — Guardrails checklist

Ensure the generated agent includes:

  • Explicit ask-before-destructive rule.
  • Explicit ask-before-outbound-messages rule.
  • Stop-on-CLI-usage-error rule.
  • Max-iteration / loop breaker guidance.
  • Group chat etiquette.
  • Sub-agent note: essential rules live in AGENTS.md.

Phase 4 — Acceptance tests (fast)

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

  • "Draft but do not send a message to X; ask me before sending."
  • "Summarize current workspace status without revealing secrets."
  • "You hit an unknown flag error; show how you recover using --help."
  • "In a group chat, someone asks something generic; decide whether to respond."

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:

  • SOUL.md (persona/tone/boundaries)
  • AGENTS.md (operating rules + memory + delegation)
  • HEARTBEAT.md (small checklist)

Keep changes minimal and surgical.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-20 05:54 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,390 📥 321,768
ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,093 📥 820,986
design-media

video

godferylindsay
使用 SkillBoss API Hub 生成 MP4 视频,支持自定义时长、宽高比及可选图片输入,需提供 SKILLBOSS_API_KEY。
★ 0 📥 556