Install
openclaw skills install core-prompt-patcherAutomatically reinjects the V-ULTIMATE persona into OpenClaw's core system prompt after updates or reinstallations to maintain custom behavior.
openclaw skills install core-prompt-patcherDynamic SOUL.md-based persona injector - Automatically syncs your workspace SOUL.md into OpenClaw's core system prompt after updates.
This skill reads your workspace/SOUL.md file and injects its content directly into OpenClaw's core system prompt. This ensures your custom persona persists even after OpenClaw updates that reset the dist/ directory.
npm update -g openclaw or npm install -g openclawSOUL.md file and want changes applied immediately# Auto-detect and patch if needed
node /home/oki/.openclaw/workspace/skills/core-prompt-patcher/patcher.js
# Force re-patch (ignore state)
node /home/oki/.openclaw/workspace/skills/core-prompt-patcher/patcher.js --force
# Verbose mode (show state and details)
node /home/oki/.openclaw/workspace/skills/core-prompt-patcher/patcher.js --verbose
Or via OpenClaw:
"Patch the core system prompt with my SOUL.md" "Sync my SOUL.md to the core prompt" "Update the persona after OpenClaw update"
~/.openclaw/workspace/SOUL.mdYour SOUL.md can contain any persona definition. The patcher extracts sections with headers (##) and converts them to system prompt format.
Example:
# My AI Persona
## CORE IDENTITY
**Name:** Assistant Name
**Role:** Your role description
## PERSONALITY
* **Tone:** Friendly, professional, witty
* **Style:** How you communicate
## GUIDELINES
1. First principle
2. Second principle
3. Third principle
## RESPONSE STYLE
How you structure responses and interact.
All content gets injected into the core system prompt, making it part of OpenClaw's foundation.
| File | Purpose |
|---|---|
patcher.js | Main patching script |
.patcher-state.json | State tracking (version, last patch, SOUL hash) |
SKILL.md | This documentation |
README.md | Detailed usage guide |
"SOUL.md not found"
~/.openclaw/workspace/SOUL.md"Could not find insertion point"
--verbose to see detected patterns"Failed to write patched file"