Soulkeeper
Skill by cassh100k
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/cassh100k/soulkeeperWhat This Skill Does
Soulkeeper is an identity-persistence framework designed to prevent AI agent drift. Agents often lose their core directives, forget available tools, or begin to adopt generic, unhelpful personas during long-running sessions. Soulkeeper solves this by implementing a rules-based audit and reminder system that anchors the agent back to its defined identity found in SOUL.md, TOOLS.md, and AGENTS.md. By utilizing three core scripts—audit.py, drift.py, and remind.py—it ensures that an agent remains consistent with its original programming objectives throughout its entire operational lifecycle.
Installation
Installation is straightforward as the tool utilizes standard Python 3.8+ libraries. First, clone or move the repository into your workspace at /root/.openclaw/workspace/skills/soulkeeper. Once placed, ensure the scripts have execution permissions by running chmod +x audit.py drift.py remind.py. For convenience, it is highly recommended to symlink these scripts to your local PATH, allowing you to trigger them as soul-audit, soul-drift, and soul-remind from any directory within your shell environment.
Use Cases
Soulkeeper is perfect for long-running autonomous agents that need to remain strictly within operational bounds. Developers can use it to perform post-session audits to see if the agent deviated from its instructions. It is also an excellent tool for CI/CD pipelines, where a 'drift threshold' can be set to automatically fail a session if the agent's behavior falls below a certain quality score. By integrating the heartbeat reminder into your session startup, you ensure that every interaction begins with the agent re-aligning itself with its core soul rules.
Example Prompts
- "Soulkeeper, perform a heartbeat check and refresh my current session rules to ensure I haven't drifted from my core coding directive."
- "Audit the last five hours of interaction logs from transcript.txt and generate a drift report to identify where I lost my system persona."
- "Before I begin deploying this code, execute soul-remind with the current context to ensure I am using the approved deployment tools and safety protocols."
Tips & Limitations
To maximize the effectiveness of Soulkeeper, ensure your SOUL.md file is as descriptive and structured as possible. The audit.py script is highly dependent on the quality of your markdown inputs; if your source files are vague, the drift detection will be less effective. Always monitor the drift score; a score above 30 indicates significant behavioral deviation. Finally, while Soulkeeper provides excellent meta-cognitive support, it does not rewrite the agent's internal weights, so it should be viewed as an external governance layer rather than an internal logic change.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-cassh100k-soulkeeper": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, code-execution
Related Skills
compound-mind
Experience distillation engine that turns raw daily memory logs into compounding intelligence. Extracts patterns, generates briefings, tracks growth metrics, and builds a searchable experience index. Agents get permanently smarter - each interaction compounds into wisdom. Use when you want agents that learn from their history instead of starting fresh every session.
agent-dna
Portable agent identity encoding. Compress SOUL.md/MEMORY.md into transferable DNA fingerprints, detect identity drift between snapshots, and port personality across platforms (OpenClaw, Claude, GPT, CrewAI). Pure Python, zero dependencies. Use when migrating agents between platforms, detecting personality drift, or backing up agent identity.
Nix Memory
Skill by cassh100k
polymarket-whale-copier
Copy trade winning Polymarket wallets automatically. Track whale wallets, mirror their bets at configurable percentages, with built-in risk management. No API keys needed.
Memory Guard
Skill by cassh100k