🤖
soul-agent
Initialize, repair, and maintain an OpenClaw-first soul runtime in a workspace. Use when you need a standard `soul/` directory, reusable companion profile te...
安全通过
⚙️脚本
技能说明
name: soul-agent
description: "Initialize, repair, and maintain an OpenClaw-first soul runtime in a workspace. Use when you need a standard soul/ directory, reusable companion profile templates, interactive bootstrap with defaults, and managed block sync for SOUL.md, HEARTBEAT.md, and AGENTS.md."
soul-agent
Provide an OpenClaw-first soul package that is init-able, repairable, and extensible.
- Write runtime data into workspace
soul/ - Default scope is
main; subagents are opt-in and user-controlled
Workflow
- Diagnose first:
python ./scripts/doctor_soul.py --workspace <workspace-root>
- Auto mode (recommended):
python ./scripts/init_soul.py --workspace <workspace-root> --mode auto
- Manual modes (optional):
python ./scripts/init_soul.py --workspace <workspace-root> --mode init
python ./scripts/init_soul.py --workspace <workspace-root> --mode repair --non-interactive
python ./scripts/init_soul.py --workspace <workspace-root> --mode migrate --non-interactive
Initialization Behavior
--mode auto:initifsoul/is missingmigrateif legacysoul/skillsis detectedrepairotherwise
- If
soul/is missing and--non-interactiveis not set, prompt for soul base fields. - Every field accepts Enter for default.
- Print a default vs current diff summary.
- Generate
soul/profile/*,soul/state/*, andsoul/log/*from templates. - Default policy is fill-missing-only; pass
--overwrite-existingto overwrite existing files. - Auto-sync managed blocks in:
SOUL.md(workspace-first runtime loading)HEARTBEAT.md(heartbeat read contract)AGENTS.md(main-default runtime contract)
Template Sources
- Default profile:
assets/default-profile.json - Profile index template:
assets/templates/soul_INDEX.md - Profile templates:
assets/templates/profile/*
Safety Rules
- Edit managed blocks only; do not mutate user-owned content outside those blocks.
- Write only inside the current workspace and
soul/. - Do not maintain engineering notes; this skill only owns
soul/profile,soul/state, andsoul/log.
References
references/soul-layout.mdreferences/managed-blocks.md
如何使用「soul-agent」?
- 打开小龙虾AI(Web 或 iOS App)
- 点击上方「立即使用」按钮,或在对话框中输入任务描述
- 小龙虾AI 会自动匹配并调用「soul-agent」技能完成任务
- 结果即时呈现,支持继续对话优化