SOUL Evil Hook
The SOUL Evil hook swaps the injectedSOUL.md content with SOUL_EVIL.md during
a purge window or by random chance. It does not modify files on disk.
How It Works
Whenagent:bootstrap runs, the hook can replace the SOUL.md content in memory
before the system prompt is assembled. If SOUL_EVIL.md is missing or empty,
Clawdbot logs a warning and keeps the normal SOUL.md.
Sub-agent runs do not include SOUL.md in their bootstrap files, so this hook
has no effect on sub-agents.
Enable
SOUL_EVIL.md in the agent workspace root (next to SOUL.md).
Options
file(string): alternate SOUL filename (default:SOUL_EVIL.md)chance(number 0–1): random chance per run to useSOUL_EVIL.mdpurge.at(HH:mm): daily purge start (24-hour clock)purge.duration(duration): window length (e.g.30s,10m,1h)
agents.defaults.userTimezone when set; otherwise host timezone.
Notes
- No files are written or modified on disk.
- If
SOUL.mdis not in the bootstrap list, the hook does nothing.