Install
openclaw skills install soul-evolversoul-evolver - AI Agent Memory Evolution System. Automatically analyzes memory files and evolves SOUL.md, USER.md, IDENTITY.md, and other workspace identity files using MiniMax API. Triggers when: agent accumulates new patterns in memory/*.md or .learnings/, needs to update behavioral guidelines, discovers recurring user preferences, or evolves team workflows. Use when: you want your AI to become smarter over time automatically, need to propagate learnings across sessions, or want automatic identity file maintenance. NOT for: one-shot tasks, real-time responses, or when manual curation is preferred.
openclaw skills install soul-evolversoul-evolver automatically evolves your AI agent's identity files by analyzing memory sources and discovering patterns over time.
exec python3 ~/.openclaw/skills/soul-forge/scripts/soulforge.py run
exec python3 ~/.openclaw/skills/soul-forge/scripts/soulforge.py run --dry-run
exec python3 ~/.openclaw/skills/soul-forge/scripts/soulforge.py status
SoulForge is designed for multi-agent environments. Each agent's data is completely isolated:
| Data | Isolation Strategy |
|---|---|
| Backup files | .soulforge-{agent}/backups/ — agent-specific subdirectory |
| State files | .soulforge-{agent}/ — agent-specific directory |
| Memory sources | Read only from agent's own memory/ and .learnings/ |
| Target files | Update only agent's own SOUL.md, USER.md, etc. |
Example: workspace naming
~/.openclaw/workspace/ → .soulforge-main/ (main agent)
~/.openclaw/workspace-wukong/ → .soulforge-wukong/ (wukong agent)
~/.openclaw/workspace-tseng/ → .soulforge-tseng/ (tseng agent)
Each agent should run its own cron job pointing to its workspace:
# For main agent
python3 soulforge.py run --workspace ~/.openclaw/workspace
# For wukong agent
python3 soulforge.py run --workspace ~/.openclaw/workspace-wukong
Set your MiniMax API key:
export MINIMAX_API_KEY="your-api-key"
Or in OpenClaw config:
{
"env": {
"MINIMAX_API_KEY": "your-key"
}
}
memory/*.md + .learnings/ → MiniMax Analysis → Pattern Discovery → File Updates
soul-evolver updates files when:
| File | Triggers |
|---|---|
| SOUL.md | Same behavior seen 3+ times, user corrections, new principles |
| USER.md | New user preferences, project changes, habit changes |
| IDENTITY.md | Role/responsibility changes, team structure changes |
| MEMORY.md | Important decisions, milestones, lessons learned |
| AGENTS.md | New workflow patterns, delegation rules |
| TOOLS.md | New tool usage patterns, workarounds |
.soulforge-backups/--dry-runSet up a cron job for continuous evolution:
# Every 2 hours
openclaw cron add --name soulforge-evolve --every 120m \
--message "exec python3 ~/.openclaw/skills/soul-forge/scripts/soulforge.py run"
.soulforge-backups/*.bak — Timestamped backups.soulforge-state.json — Last run state (optional)| Source | Path | Priority |
|---|---|---|
| Daily logs | memory/YYYY-MM-DD.md | High |
| Learnings | .learnings/LEARNINGS.md | High |
| Errors | .learnings/ERRORS.md | Medium |
| hawk-bridge | Vector store | Medium |
0 — Success1 — Error (check output for details)