跳至主要内容
小龙虾小龙虾AI
🤖

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...

下载44
星标0
版本1.0.0
AI 智能体
安全通过
⚙️脚本

技能说明


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

  1. Diagnose first:
python ./scripts/doctor_soul.py --workspace <workspace-root>
  1. Auto mode (recommended):
python ./scripts/init_soul.py --workspace <workspace-root> --mode auto
  1. 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:
    • init if soul/ is missing
    • migrate if legacy soul/skills is detected
    • repair otherwise
  • If soul/ is missing and --non-interactive is 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/*, and soul/log/* from templates.
  • Default policy is fill-missing-only; pass --overwrite-existing to 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, and soul/log.

References

  • references/soul-layout.md
  • references/managed-blocks.md

如何使用「soul-agent」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「soul-agent」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能