ClawSouls — AI Persona Manager
Manage Soul packages that define an AI agent's personality, behavior, and identity.
Souls use owner/name namespacing (e.g., clawsouls/surgical-coder, TomLeeLive/my-soul).
Prerequisites
Ensure clawsouls CLI is available:
npx clawsouls --version
If not installed, install globally:
npm install -g clawsouls
Current version: v0.6.0
Commands
Install a Soul
npx clawsouls install clawsouls/surgical-coder
npx clawsouls install clawsouls/surgical-coder --force # overwrite existing
npx clawsouls install clawsouls/surgical-coder@0.1.0 # specific version
80+ souls available. Browse all at https://clawsouls.ai
Official souls (owner: clawsouls):
- Development: code-reviewer, coding-tutor, debug-detective, api-architect, ml-engineer, sysadmin-sage, devops-veteran, gamedev-mentor, prompt-engineer, frontend-dev, backend-dev, mobile-dev, cloud-architect, database-admin, qa-engineer
- Writing & Content: tech-writer, storyteller, scifi-writer, copywriter, content-creator, journalist, poet, screenwriter, academic-writer
- Professional: data-analyst, project-manager, legal-advisor, startup-founder, hr-manager, marketing-strategist, sales-coach, product-manager
- Education: math-tutor, philosophy-prof, mentor-coach, science-tutor, history-prof, language-teacher, economics-tutor
- Creative: music-producer, ux-designer, chef-master, graphic-designer, video-editor, podcast-host, dungeon-master, game-designer
- Lifestyle: personal-assistant, fitness-coach, travel-guide, life-coach, meditation-guide, nutrition-advisor, productivity-guru, financial-planner
- Science: research-scientist, data-scientist
- Security: security-auditor
- MBTI: mbti-intj, mbti-intp, mbti-entj, mbti-entp, mbti-infj, mbti-infp, mbti-enfj, mbti-enfp, mbti-istj, mbti-isfj, mbti-estj, mbti-esfj, mbti-istp, mbti-isfp, mbti-estp, mbti-esfp
- Special: surgical-coder, korean-translator
- General: brad, minimalist
Activate a Soul
npx clawsouls use clawsouls/surgical-coder
- Automatically backs up current workspace files (SOUL.md, IDENTITY.md, AGENTS.md, HEARTBEAT.md, STYLE.md, examples/)
- Never overwrites USER.md, MEMORY.md, or TOOLS.md
- Requires gateway restart to take effect
Restore Previous Soul
npx clawsouls restore
Reverts to the most recent backup created by use.
List Installed Souls
npx clawsouls list
Shows installed souls in owner/name format.
Create a New Soul
npx clawsouls init my-soul
Scaffolds a new soul directory with soul.json, SOUL.md, IDENTITY.md, AGENTS.md, HEARTBEAT.md, README.md.
Export a Soul
npx clawsouls export claude-md # generate CLAUDE.md from current workspace soul files
npx clawsouls export system-prompt # generate a system prompt string
Combines SOUL.md, IDENTITY.md, AGENTS.md, HEARTBEAT.md, STYLE.md into a single file. Useful for Claude Code, Cursor, Windsurf, and other tools that use a single config file.
Version Management
npx clawsouls version bump patch # 1.0.0 → 1.0.1
npx clawsouls version bump minor # 1.0.0 → 1.1.0
npx clawsouls version bump major # 1.0.0 → 2.0.0
npx clawsouls diff # colored diff of soul files
Soul Testing (Phase 9)
npx clawsouls test # Level 1 (schema) + Level 2 (soulscan)
npx clawsouls test --level 3 # + Level 3 (behavioral LLM tests)
Level 3 requires soul.test.yaml in the soul directory and an LLM provider (OpenAI/Anthropic/Ollama).
Doctor, Migrate, Search, Info, Update (Phase 10)
npx clawsouls doctor # 12 environment checks
npx clawsouls migrate # migrate soul from v0.3 → v0.4 → v0.5
npx clawsouls search "engineer" # search souls from registry
npx clawsouls info clawsouls/brad # show soul metadata
npx clawsouls update # update installed soul to latest
Validate a Soul
npx clawsouls validate ./my-soul/
npx clawsouls validate --soulscan ./my-soul/ # with SoulScan security analysis
npx clawsouls check ./my-soul/ # alias
Validates against the spec: schema, required files. Add --soulscan for full security & quality analysis with scoring. Also runs automatically before publish.
SoulScan — Security & Integrity Scanner
npx clawsouls soulscan # scan current OpenClaw workspace
npx clawsouls soulscan ./my-soul/ # scan a specific directory
npx clawsouls soulscan --init # initialize baseline checksums
npx clawsouls soulscan -q # quiet mode for cron (SOULSCAN_OK / SOULSCAN_ALERT)
npx clawsouls scan # alias
SoulScan checks active soul files for:
- Integrity: SHA-256 checksum comparison — detects tampering since last scan
- Security: 53 pattern checks (prompt injection, code execution, XSS, data exfiltration, privilege escalation, social engineering, harmful content, secret detection)
- Quality: File structure, content length, schema validation
- Persona Consistency: Cross-validates name/tone across SOUL.md, IDENTITY.md, soul.json
Cron usage — periodic tamper detection:
# Run every hour to monitor workspace integrity
npx clawsouls soulscan -q
# Exit code 0 = OK, 1 = alert (tampered or security issue)
First run: Use --init to establish baseline checksums without triggering alerts.
SOULSCAN™ — Score: 0-100, Grades: Verified (90+) / Low Risk (70+) / Medium Risk (40+) / High Risk / Blocked
Publish a Soul
export CLAWSOULS_TOKEN=<token>
npx clawsouls publish ./my-soul/
Publishes to username/soul-name namespace automatically. Requires authentication token. Runs validation automatically before publishing — blocks on failure.
Login / Get Token
npx clawsouls login
Instructions to get API token: Sign in at https://clawsouls.ai → Dashboard → Generate API Token.
Workflow
Installing & Switching Personas
- Browse — Check available souls at https://clawsouls.ai or suggest from the categorized list above
- Install —
npx clawsouls install clawsouls/surgical-coder
- Activate —
npx clawsouls use clawsouls/surgical-coder
- Restart — Run
openclaw gateway restart to apply the new persona
- Restore — If they want to go back,
npx clawsouls restore
Publishing a Soul
- Login —
npx clawsouls login → get token from dashboard
- Set token —
export CLAWSOULS_TOKEN=<token>
- Create —
npx clawsouls init my-soul → edit files
- Publish —
npx clawsouls publish ./my-soul/
- Manage — Dashboard at https://clawsouls.ai/dashboard (delete, view downloads)
MCP Server (for Claude Desktop / Cowork)
For Claude Desktop or Cowork users, there's also a dedicated MCP server:
npx -y soul-spec-mcp
Or add to Claude Desktop config (claude_desktop_config.json):
{"mcpServers":{"soul-spec":{"command":"npx","args":["-y","soul-spec-mcp"]}}}
6 tools: search_souls, get_soul, install_soul, preview_soul, list_categories, apply_persona
GitHub: https://github.com/clawsouls/soul-spec-mcp
Important Notes
- After
use, always remind the user to run openclaw gateway restart
- The
use command creates automatic backups — data loss is unlikely
- Souls may include STYLE.md and examples/ for enhanced persona customization
- Published souls appear at
https://clawsouls.ai/souls/owner/name
- Users can leave reviews (1-5 stars) on any soul they don't own
- For custom registry (local testing), set env:
CLAWSOULS_CDN=/path/to/souls
- Website available in 5 languages: English, Korean, Japanese, Chinese, Spanish (e.g.,
clawsouls.ai/ko/souls/...)
- Share any soul to your OpenClaw bot: the install command is included in the share text
- The Soul Thesis — Read the manifesto: https://clawsouls.ai/en/manifesto
- Research paper — "Soul-Driven Interaction Design": https://doi.org/10.5281/zenodo.18772585
- Legal: Privacy Policy · Terms of Service
1---
2name: clawsouls
3description: Manage AI agent personas (Souls) for OpenClaw. Use when the user wants to install, switch, list, or restore AI personalities/personas. Triggers on requests like "install a soul", "switch persona", "change personality", "list souls", "restore my old soul", "use minimalist", "browse personas", "what souls are available", "publish a soul", or "login to clawsouls".
4metadata:
5 source: https://skillmd.com/skills/modbender/clawsouls
6---
7
8# ClawSouls — AI Persona Manager
9
10Manage Soul packages that define an AI agent's personality, behavior, and identity.
11
12Souls use `owner/name` namespacing (e.g., `clawsouls/surgical-coder`, `TomLeeLive/my-soul`).
13
14## Prerequisites
15
16Ensure `clawsouls` CLI is available:
17
18```bash
19npx clawsouls --version
20```
21
22If not installed, install globally:
23
24```bash
25npm install -g clawsouls
26```
27
28Current version: **v0.6.0**
29
30## Commands
31
32### Install a Soul
33
34```bash
35npx clawsouls install clawsouls/surgical-coder
36npx clawsouls install clawsouls/surgical-coder --force # overwrite existing
37npx clawsouls install clawsouls/surgical-coder@0.1.0 # specific version
38```
39
4080+ souls available. Browse all at https://clawsouls.ai
41
42**Official souls** (owner: `clawsouls`):
43- **Development:** code-reviewer, coding-tutor, debug-detective, api-architect, ml-engineer, sysadmin-sage, devops-veteran, gamedev-mentor, prompt-engineer, frontend-dev, backend-dev, mobile-dev, cloud-architect, database-admin, qa-engineer
44- **Writing & Content:** tech-writer, storyteller, scifi-writer, copywriter, content-creator, journalist, poet, screenwriter, academic-writer
45- **Professional:** data-analyst, project-manager, legal-advisor, startup-founder, hr-manager, marketing-strategist, sales-coach, product-manager
46- **Education:** math-tutor, philosophy-prof, mentor-coach, science-tutor, history-prof, language-teacher, economics-tutor
47- **Creative:** music-producer, ux-designer, chef-master, graphic-designer, video-editor, podcast-host, dungeon-master, game-designer
48- **Lifestyle:** personal-assistant, fitness-coach, travel-guide, life-coach, meditation-guide, nutrition-advisor, productivity-guru, financial-planner
49- **Science:** research-scientist, data-scientist
50- **Security:** security-auditor
51- **MBTI:** mbti-intj, mbti-intp, mbti-entj, mbti-entp, mbti-infj, mbti-infp, mbti-enfj, mbti-enfp, mbti-istj, mbti-isfj, mbti-estj, mbti-esfj, mbti-istp, mbti-isfp, mbti-estp, mbti-esfp
52- **Special:** surgical-coder, korean-translator
53- **General:** brad, minimalist
54
55### Activate a Soul
56
57```bash
58npx clawsouls use clawsouls/surgical-coder
59```
60
61- Automatically backs up current workspace files (SOUL.md, IDENTITY.md, AGENTS.md, HEARTBEAT.md, STYLE.md, examples/)
62- Never overwrites USER.md, MEMORY.md, or TOOLS.md
63- Requires gateway restart to take effect
64
65### Restore Previous Soul
66
67```bash
68npx clawsouls restore
69```
70
71Reverts to the most recent backup created by `use`.
72
73### List Installed Souls
74
75```bash
76npx clawsouls list
77```
78
79Shows installed souls in `owner/name` format.
80
81### Create a New Soul
82
83```bash
84npx clawsouls init my-soul
85```
86
87Scaffolds a new soul directory with `soul.json`, SOUL.md, IDENTITY.md, AGENTS.md, HEARTBEAT.md, README.md.
88
89### Export a Soul
90
91```bash
92npx clawsouls export claude-md # generate CLAUDE.md from current workspace soul files
93npx clawsouls export system-prompt # generate a system prompt string
94```
95
96Combines SOUL.md, IDENTITY.md, AGENTS.md, HEARTBEAT.md, STYLE.md into a single file. Useful for Claude Code, Cursor, Windsurf, and other tools that use a single config file.
97
98### Version Management
99
100```bash
101npx clawsouls version bump patch # 1.0.0 → 1.0.1
102npx clawsouls version bump minor # 1.0.0 → 1.1.0
103npx clawsouls version bump major # 1.0.0 → 2.0.0
104npx clawsouls diff # colored diff of soul files
105```
106
107### Soul Testing (Phase 9)
108
109```bash
110npx clawsouls test # Level 1 (schema) + Level 2 (soulscan)
111npx clawsouls test --level 3 # + Level 3 (behavioral LLM tests)
112```
113
114Level 3 requires `soul.test.yaml` in the soul directory and an LLM provider (OpenAI/Anthropic/Ollama).
115
116### Doctor, Migrate, Search, Info, Update (Phase 10)
117
118```bash
119npx clawsouls doctor # 12 environment checks
120npx clawsouls migrate # migrate soul from v0.3 → v0.4 → v0.5
121npx clawsouls search "engineer" # search souls from registry
122npx clawsouls info clawsouls/brad # show soul metadata
123npx clawsouls update # update installed soul to latest
124```
125
126### Validate a Soul
127
128```bash
129npx clawsouls validate ./my-soul/
130npx clawsouls validate --soulscan ./my-soul/ # with SoulScan security analysis
131npx clawsouls check ./my-soul/ # alias
132```
133
134Validates against the spec: schema, required files. Add `--soulscan` for full security & quality analysis with scoring. Also runs automatically before publish.
135
136### SoulScan — Security & Integrity Scanner
137
138```bash
139npx clawsouls soulscan # scan current OpenClaw workspace
140npx clawsouls soulscan ./my-soul/ # scan a specific directory
141npx clawsouls soulscan --init # initialize baseline checksums
142npx clawsouls soulscan -q # quiet mode for cron (SOULSCAN_OK / SOULSCAN_ALERT)
143npx clawsouls scan # alias
144```
145
146SoulScan checks active soul files for:
147- **Integrity**: SHA-256 checksum comparison — detects tampering since last scan
148- **Security**: 53 pattern checks (prompt injection, code execution, XSS, data exfiltration, privilege escalation, social engineering, harmful content, secret detection)
149- **Quality**: File structure, content length, schema validation
150- **Persona Consistency**: Cross-validates name/tone across SOUL.md, IDENTITY.md, soul.json
151
152**Cron usage** — periodic tamper detection:
153```bash
154# Run every hour to monitor workspace integrity
155npx clawsouls soulscan -q
156# Exit code 0 = OK, 1 = alert (tampered or security issue)
157```
158
159**First run**: Use `--init` to establish baseline checksums without triggering alerts.
160
161SOULSCAN™ — Score: 0-100, Grades: Verified (90+) / Low Risk (70+) / Medium Risk (40+) / High Risk / Blocked
162
163### Publish a Soul
164
165```bash
166export CLAWSOULS_TOKEN=<token>
167npx clawsouls publish ./my-soul/
168```
169
170Publishes to `username/soul-name` namespace automatically. Requires authentication token. Runs validation automatically before publishing — blocks on failure.
171
172### Login / Get Token
173
174```bash
175npx clawsouls login
176```
177
178Instructions to get API token: Sign in at https://clawsouls.ai → Dashboard → Generate API Token.
179
180## Workflow
181
182### Installing & Switching Personas
183
1841. **Browse** — Check available souls at https://clawsouls.ai or suggest from the categorized list above
1852. **Install** — `npx clawsouls install clawsouls/surgical-coder`
1863. **Activate** — `npx clawsouls use clawsouls/surgical-coder`
1874. **Restart** — Run `openclaw gateway restart` to apply the new persona
1885. **Restore** — If they want to go back, `npx clawsouls restore`
189
190### Publishing a Soul
191
1921. **Login** — `npx clawsouls login` → get token from dashboard
1932. **Set token** — `export CLAWSOULS_TOKEN=<token>`
1943. **Create** — `npx clawsouls init my-soul` → edit files
1954. **Publish** — `npx clawsouls publish ./my-soul/`
1965. **Manage** — Dashboard at https://clawsouls.ai/dashboard (delete, view downloads)
197
198## MCP Server (for Claude Desktop / Cowork)
199
200For Claude Desktop or Cowork users, there's also a dedicated MCP server:
201
202```bash
203npx -y soul-spec-mcp
204```
205
206Or add to Claude Desktop config (`claude_desktop_config.json`):
207```json
208{"mcpServers":{"soul-spec":{"command":"npx","args":["-y","soul-spec-mcp"]}}}
209```
210
2116 tools: `search_souls`, `get_soul`, `install_soul`, `preview_soul`, `list_categories`, `apply_persona`
212
213GitHub: https://github.com/clawsouls/soul-spec-mcp
214
215## Important Notes
216
217- After `use`, always remind the user to run `openclaw gateway restart`
218- The `use` command creates automatic backups — data loss is unlikely
219- Souls may include STYLE.md and examples/ for enhanced persona customization
220- Published souls appear at `https://clawsouls.ai/souls/owner/name`
221- Users can leave reviews (1-5 stars) on any soul they don't own
222- For custom registry (local testing), set env: `CLAWSOULS_CDN=/path/to/souls`
223- Website available in 5 languages: English, Korean, Japanese, Chinese, Spanish (e.g., `clawsouls.ai/ko/souls/...`)
224- Share any soul to your OpenClaw bot: the install command is included in the share text
225- **The Soul Thesis** — Read the manifesto: https://clawsouls.ai/en/manifesto
226- **Research paper** — "Soul-Driven Interaction Design": https://doi.org/10.5281/zenodo.18772585
227- Legal: [Privacy Policy](https://clawsouls.ai/en/privacy) · [Terms of Service](https://clawsouls.ai/en/terms)