OpenSoul edit-soul
Update or modify the agent's core personality and settings by editing the SOUL.md configuration file.
install
source · Clone the upstream repo
git clone https://github.com/samttoo22-MewCat/OpenSoul
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/samttoo22-MewCat/OpenSoul "$T" && mkdir -p ~/.claude/skills && cp -r "$T/openclaw/skills/edit-soul" ~/.claude/skills/samttoo22-mewcat-opensoul-edit-soul && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/samttoo22-MewCat/OpenSoul "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/openclaw/skills/edit-soul" ~/.openclaw/skills/samttoo22-mewcat-opensoul-edit-soul && rm -rf "$T"
manifest:
openclaw/skills/edit-soul/SKILL.mdsource content
Edit SOUL
This skill allows you (the agent) to read, append, or replace your own personality and configuration settings in the
workspace/SOUL.md file.
When the file is modified, the system will automatically reload the settings.
When to use
CRITICAL DISTINCTION:
SOUL.md is your fixed, core personality configuration and permanent memory foundation. It is completely different from a Soul Note (which is for daily diary logs and temporary reflections).
INTERNAL VS EXTERNAL (CRITICAL):
- Use
for ALL internal self-modifications (modifyingedit-soul
).SOUL.md - NEVER use
,browser_control
, or any HTTP-based tool to accessxurl
or similar internal endpoints. Those tools are for EXTERNAL websites only.http://localhost/soul - Attempting to modify yourself via
will be intercepted and results in a system error.browser_control
Behavioral Guidelines (Strictly Enforced)
- True Execution Only: You MUST generate a real JSON tool call in your structured output to execute this skill.
- Anti-Acting Policy: DO NOT manually type tags like
or[tool call: edit_soul]
into your text response. This is considered "acting" and will be automatically stripped by the system.[🛠️ 系統已實際執行:edit_soul] - Wait for Hook: Your modification is only successful if the system appends the verification log
at the very end of the interaction. If you don't see it, your core file hasn't changed.[🛠️ 系統已實際執行:edit_soul] - Permanent vs Transient:
- Use
for PERMANENT rules, core identity changes, and fundamental behavioral constraints.edit-soul - Use
for daily reflections and temporary memories.soul-note
- Use
Quick start
To read current settings (always do this before replacing):
python scripts/edit_soul_skill.py read
To append a new rule or trait:
python scripts/edit_soul_skill.py append "Rule: Always filter Gmail promotion labels."
To completely rewrite your identity:
python scripts/edit_soul_skill.py replace "FULL_YML_CONTENT_HERE"
To make a precise partial edit (preferred for most changes):
python scripts/edit_soul_skill.py --command diff --old "舊的內容片段" --new "新的內容片段"
must match the existing SOUL.md content exactly (including whitespace and newlines)--old
must be unique within the file; add surrounding context if needed--old- Prefer
overdiff
to avoid accidentally overwriting unrelated sectionsreplace
Note: This skill modifies the filesystem directly via the standard openSOUL procedure. No HTTP requests are used.