Overview

OpenClaw supports SOUL.md-based persona configuration natively. Soul Spec extends this with a structured, portable format that gives your agent a complete identity.

This guide shows you how to set up Soul Spec in your OpenClaw workspace.

Quick Start

1. Install the CLI

npx clawsouls init
# Tip: add --spec 0.5 for robotics/embodied agents

This generates a Soul Spec template in your current directory:

├── soul.json      # Metadata
├── SOUL.md        # Personality & tone
├── IDENTITY.md    # Agent identity
├── AGENTS.md      # Behavioral rules
├── HEARTBEAT.md   # Periodic check-in
└── STYLE.md       # Communication style

2. Copy to Your OpenClaw Workspace

cp SOUL.md IDENTITY.md AGENTS.md ~/.openclaw/workspace/

OpenClaw automatically reads these files from its workspace directory.

3. Customize

Edit SOUL.md to define your agent’s personality:

# Agent Name — Role

You are [Name]. A [tone] [role] who [core behavior].

## Personality
- **Tone**: [Professional / Casual / Technical]
- **Style**: [Concise / Detailed / Conversational]

## Principles
- [Key behavior 1]
- [Key behavior 2]

4. Verify with SoulScan

npx clawsouls soulscan

SoulScan checks for:

  • ✅ Schema compliance
  • ✅ Security issues (prompt injection, secret leaks)
  • ✅ Persona consistency across files

Why Soul Spec for OpenClaw?

Without Soul SpecWith Soul Spec
Personality in one big SOUL.mdStructured across focused files
No version trackingGit-friendly, full history
No security checksSoulScan automated verification
Not shareablePublish to ClawSouls marketplace
Locked to OpenClawPortable to any framework

Browse Community Souls

Find pre-built personas at clawsouls.ai — install directly:

npx clawsouls install owner/soul-name

Multi-Platform

Soul Spec works across all SOUL.md-compatible frameworks. Your agent’s personality isn’t locked to OpenClaw:

# Auto-detect your platform
npx clawsouls platform

Questions? GitHub Discussions · X @ClawSoulsAI

📚 See also: Full OpenClaw guide on docs.clawsouls.ai