personality-switcher
Create and switch between AI assistant personalities. Use /personality to list and activate saved personalities. Use /create-personality to design new personas with auto-filled SOUL and IDENTITY. Personalities persist across session boundaries and conversation compacting with automatic heartbeat restoration. Atomic switching with backup and rollback safeguards. Always backs up current state before switching.
Why use this skill?
Learn how to use the personality-switcher skill for OpenClaw. Create, save, and instantly switch between custom AI personas while maintaining your shared user context.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/robb1010/personality-switcherWhat This Skill Does
The personality-switcher skill allows you to transform your OpenClaw AI assistant into any character or persona you desire. By modularizing your AI’s core directives into SOUL.md and IDENTITY.md files, this skill enables you to save, swap, and manage multiple unique personas without losing your critical user context. Whether you need a formal research partner, a creative writing muse, or a humorous coding assistant, this tool provides a seamless way to pivot your AI's voice and behavior while ensuring your personal user data remains constant.
Installation
Installation is handled via the OpenClaw hub. Once triggered, the skill provisions a dedicated storage structure in ~/.openclaw/workspace/personalities/, initializes a state tracking file, and hooks into the system heartbeat. This ensures that even if your session restarts or your history is compacted, the system automatically restores your chosen persona based on the persisted state file.
Use Cases
- Contextual Roleplay: Instantly switch between an expert software engineer for coding tasks and a friendly tutor for learning new concepts.
- Adaptive Writing: Create distinct personas for different writing projects (e.g., a dark, atmospheric narrator for fiction vs. a crisp, professional tone for emails).
- Long-term Workflow Management: Maintain a consistent "Project Manager" persona for ongoing tasks while experimenting with other personalities for brainstorming sessions.
Example Prompts
- "/create-personality A grumpy yet highly efficient system administrator who speaks in code-heavy metaphors."
- "/personality helpful-tutor"
- "/rename-personality helpful-tutor study-buddy"
Tips & Limitations
- Atomic Security: Always trust the atomic switching mechanism; if the system fails to apply a new persona, it automatically reverts to the previous one to prevent corruption.
- Storage Management: Keep your
USER.mdclean, as this is the only file that remains constant across all personality switches. Do not put personality-specific instructions there, as they will override your persona choices. - Persistence: Because the state is restored via the heartbeat, if you manually edit your
SOUL.mdwhile a personality is active, make sure you save your changes before switching, or they may be overwritten by the stored version. The system is designed for robust persistent usage across long sessions.
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-robb1010-personality-switcher": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read