clawsouls
v0.3.2
Published
CLI for ClawSouls — AI agent persona sharing platform
Maintainers
Readme
🧠 ClawSouls CLI v0.2.9
Give your AI a soul. Install, manage, and switch AI agent personas for OpenClaw.
What is ClawSouls?
ClawSouls is a persona sharing platform for AI agents. A Soul is a personality package — a set of markdown files that define how your AI thinks, talks, and behaves. Same LLM, completely different personality.
Browse available souls at clawsouls.ai.
Quick Start
# Install a soul (owner/name format)
npx clawsouls install clawsouls/surgical-coder
# Activate it (backs up your current workspace)
npx clawsouls use surgical-coder
# Restart your OpenClaw session — done!Installation
# Use directly with npx (no install needed)
npx clawsouls <command>
# Or install globally
npm install -g clawsoulsRequirements: Node.js 22+
Commands
clawsouls init [name]
Scaffold a new soul package directory with template files.
clawsouls init my-soulCreates a directory with soul.json, SOUL.md, IDENTITY.md, AGENTS.md, HEARTBEAT.md, and README.md — ready for customization and publishing.
clawsouls install <owner/name[@version]>
Download and install a soul from the registry. Uses owner/name format (e.g., clawsouls/surgical-coder). Optionally specify a version with @version (e.g., clawsouls/[email protected]). Without a version, installs the latest.
The install command tries the API first (/api/v1/souls/:owner/:name?files=true), falls back to CDN if unavailable, and auto-generates soul.json if missing from the response.
clawsouls install clawsouls/minimalist
clawsouls install clawsouls/devops-veteran
clawsouls install clawsouls/surgical-coder --force # overwrite existing
clawsouls install clawsouls/[email protected] # specific versionclawsouls use <name>
Activate an installed soul. Your current workspace files are automatically backed up before switching.
clawsouls use minimalistAutomatic backup: Before applying a new soul, the current workspace files (SOUL.md, IDENTITY.md, AGENTS.md, HEARTBEAT.md) are saved to ~/.openclaw/souls/_backup/<timestamp>/. You can always revert with clawsouls restore.
Protected files — these are never overwritten:
USER.md(your personal data)MEMORY.md(your AI's memories)TOOLS.md(your tool configuration)
clawsouls restore
Revert to your previous soul from the latest backup (~/.openclaw/souls/_backup/).
clawsouls restoreMultiple backups are kept — each use creates a new timestamped backup, so you can safely switch between souls without losing any previous configuration.
clawsouls publish <dir>
Publish a soul package to the ClawSouls registry. Requires authentication.
# 1. Log in at https://clawsouls.ai and get your API token from the Dashboard
# 2. Set the token
export CLAWSOULS_TOKEN=<your-token>
# 3. Publish your soul
clawsouls publish ./my-soul/The directory must contain a valid soul.json. All files in the directory are uploaded. A security scan runs automatically before publishing (blocks on dangerous patterns with 400 error).
v0.2.0: The publish command auto-prefixes the soul name with your username (e.g., publishing my-soul as user TomLeeLive creates TomLeeLive/my-soul).
clawsouls login <token>
Save your API token for registry authentication. Get a token from your dashboard.
clawsouls login cs_a1b2c3d4...The token is saved to ~/.clawsouls/config.json.
clawsouls logout
Remove the saved API token.
clawsouls logoutclawsouls whoami
Show the currently authenticated user.
clawsouls whoami
# @TomLeeLiveclawsouls list
Show all installed souls.
clawsouls listAvailable Souls
78+ souls across 10 categories — browse all at clawsouls.ai.
Popular picks:
| Soul | Category | Description | |------|----------|-------------| | 🔬 Surgical Coder | Engineering | Karpathy-inspired surgical coding precision | | 🔬 Surgical Coder | Engineering | Disciplined coding agent inspired by Karpathy's CLAUDE.md | | 🔧 DevOps Veteran | DevOps | Battle-scarred infrastructure engineer | | 🎮 GameDev Mentor | Game Dev | Experienced game developer and mentor | | ⚡ Minimalist | Lifestyle | Extremely concise responses | | 🔍 Code Reviewer | Engineering | Thorough, constructive code reviewer | | 📚 Coding Tutor | Education | Patient programming teacher | | 🧬 MBTI Personas | Lifestyle | 16 personality types (INTJ, ENFP, etc.) | | 🔬 Research Scientist | Science | Rigorous research methodology and analysis | | 📊 Data Scientist | Data | ML/AI-focused data analysis |
What's in a Soul?
A soul is a directory with these files:
my-soul/
├── soul.json # Metadata (name, version, tags)
├── SOUL.md # Personality & behavior
├── IDENTITY.md # Name, emoji, avatar
├── AGENTS.md # Workflow & rules
├── HEARTBEAT.md # Periodic task config
└── README.md # DocumentationThe spec is open — see Soul Spec.
How It Works
┌──────────────────┐ install ┌──────────────┐
│ clawsouls.ai │ ───────────→ │ ~/.openclaw/ │
│ (API Registry) │ GET /api/ │ souls/surgical-coder/ │
└──────────────────┘ v1/souls/ └──────┬───────┘
▲ owner/name │ use
│ ▼
publish (POST) ┌──────────────────┐
│ │ ~/.openclaw/ │
┌───────┴──────┐ │ workspace/ │
│ clawsouls │ │ ├ SOUL.md │
│ publish ./ │ │ ├ IDENTITY.md │
└──────────────┘ │ ├ AGENTS.md │
│ └ HEARTBEAT.md │
└──────────────────┘- Install fetches soul files from the API (
clawsouls.ai/api/v1/souls/:owner/:name) and saves to~/.openclaw/souls/<name>/ - Use backs up your current workspace to
~/.openclaw/souls/_backup/<timestamp>/, then copies soul files in - Restart your OpenClaw session to load the new personality
- Publish uploads your soul directory to the registry (requires
CLAWSOULS_TOKEN)
Links
- 🌐 clawsouls.ai — Browse souls
- 📦 npm — Package
- 📋 Soul Spec — Create your own
- 🐙 GitHub Org — Source code
License
Apache 2.0 — see LICENSE.
Disclaimer
ClawSouls is an independent project. Not affiliated with or endorsed by OpenClaw.
