my_soul_upgrade_skill

by canonxu

View Chinese version with editor review

安装

claude skill add --url github.com/openclaw/skills/tree/main/skills/canonxu/my-soul-upgrade-skill

文档

Purpose

Manage and synchronize Soul definitions across the agent system using a two-layer template architecture.

Architecture

  • Global Layer: /home/admin/.openclaw/soul/SOUL.md (Common principles, constraints, formatting)
  • Agent Layer: /home/admin/.openclaw/agents/<agent_id>/template.md (Personalized role, specific capabilities)

Workflow

1. Update Global Soul (Applies to all agents)

  1. Edit: Modify /home/admin/.openclaw/soul/SOUL.md.
  2. Sync: Execute python3 ~/.openclaw/scripts/build_all_souls.py to regenerate all agent SOUL files.

2. Update Agent-Specific Soul

  1. Edit: Modify /home/admin/.openclaw/agents/<agent_id>/template.md.
  2. Sync: Execute python3 ~/.openclaw/scripts/build_all_souls.py to rebuild the specific agent's SOUL.

Note: Always run build_all_souls.py after any manual modification to maintain sync.