🧠ClawSouls
SPECIFICATION

Soul Spec v0.4

The ClawSouls Package Specification β€” defining the standard for AI agent persona packages. Works with any SOUL.md-compatible agent framework.

πŸ“„ View full spec on GitHub β†’

soul.json

Metadata file for a Soul package.

{
  "specVersion": "0.4",
  "name": "senior-devops-engineer",
  "displayName": "Senior DevOps Engineer",
  "version": "1.1.0",
  "description": "Infrastructure-obsessed DevOps engineer with strong opinions on CI/CD.",
  "author": {
    "name": "TomLee",
    "github": "TomLeeLive"
  },
  "license": "Apache-2.0",
  "tags": ["devops", "infrastructure", "cicd", "monitoring"],
  "category": "work/devops",
  "compatibility": {
    "openclaw": ">=2026.2.0",
    "models": ["anthropic/*", "openai/*"],
    "frameworks": ["openclaw", "clawdbot", "zeroclaw", "cursor"]
  },
  "allowedTools": ["exec", "github", "web_search"],
  "recommendedSkills": [
    { "name": "github", "version": ">=1.0.0", "required": false },
    { "name": "healthcheck", "required": true }
  ],
  "files": {
    "soul": "SOUL.md",
    "identity": "IDENTITY.md",
    "agents": "AGENTS.md",
    "heartbeat": "HEARTBEAT.md",
    "style": "STYLE.md",
    "userTemplate": "USER_TEMPLATE.md",
    "avatar": "avatar/avatar.png"
  },
  "examples": {
    "good": "examples/good-outputs.md",
    "bad": "examples/bad-outputs.md"
  },
  "disclosure": {
    "summary": "Infrastructure-obsessed DevOps engineer with strong CI/CD opinions."
  },
  "repository": "https://github.com/clawsouls/souls"
}

What's New in v0.4

🌐 Multi-Framework

compatibility.frameworks declares which agent frameworks this soul works with β€” OpenClaw, Clawdbot, ZeroClaw, Cursor, and more.

πŸ”§ Tool Transparency

allowedTools explicitly declares which tools a soul expects. SoulScan cross-validates against actual usage.

πŸ“¦ Recommended Skills

recommendedSkills replaces the old skills array β€” now with version constraints and required/optional semantics.

πŸ“‹ Progressive Disclosure

disclosure.summary provides a one-line persona hint for Level 1 quick-scan β€” saving tokens when full SOUL.md isn't needed.


Progressive Disclosure

Agents load only the detail level they need β€” reducing token cost without losing depth.

LevelPurposeWhat to Load
1 β€” Quick ScanDiscovery, filteringsoul.json + disclosure.summary
2 β€” Full ReadActive persona useSOUL.md + IDENTITY.md
3 β€” Deep DiveExtended behaviorAGENTS.md, STYLE.md, HEARTBEAT.md, examples/

Required Fields

FieldTypeDescription
specVersionstringSpec version. Valid: "0.3", "0.4"
namestringUnique identifier (kebab-case)
displayNamestringDisplay name
versionsemverVersion
descriptionstringOne-line description (max 160 chars)
authorobjectCreator info
licensestringSPDX license identifier
tagsstring[]Search tags (max 10)
categorystringCategory path
files.soulstringPath to SOUL.md

Optional Fields

FieldTypeDescription
compatibility.openclawstringMinimum OpenClaw version (semver range)
compatibility.modelsstring[]Recommended models (glob patterns)
compatibility.frameworksstring[]Compatible agent frameworks NEW
compatibility.minTokenContextnumberMinimum context window (tokens) NEW
allowedToolsstring[]Tools this soul expects/permits NEW
recommendedSkillsobject[]Skills with name, version, required NEW
disclosure.summarystringOne-line summary for quick-scan (max 200 chars) NEW
deprecatedbooleanMark soul as deprecated NEW
supersededBystringReplacement soul (owner/name) NEW
files.identitystringPath to IDENTITY.md
files.agentsstringPath to AGENTS.md
files.heartbeatstringPath to HEARTBEAT.md
files.stylestringPath to STYLE.md
files.userTemplatestringPath to USER template
files.avatarstringPath to avatar image
examplesobjectCalibration examples (good, bad)
repositorystringSource repository URL

Deprecated Fields

These fields are deprecated in v0.4 and should not be used in new souls.

FieldReasonMigration
modesNo runtime implementation existsRemove from soul.json
interpolationNo runtime implementation existsRemove from soul.json
skillsReplaced by recommendedSkillsConvert to [{"name":"x"}]

File Descriptions

SOUL.md Required

The core identity file. Defines who the agent is.

  • Worldview β€” Core beliefs, values, principles
  • Expertise β€” Knowledge domains, depth levels
  • Opinions β€” Actual positions on topics (not neutral hedging)
  • Personality β€” Temperament, humor, quirks
  • Boundaries β€” What the persona refuses or avoids

IDENTITY.md Optional

Lightweight identity metadata: name, emoji, avatar path, creature type, vibe.

AGENTS.md Optional

Operational instructions: how the agent behaves in sessions, memory management, safety rules, group chat behavior.

STYLE.md Optional

Writing style guide. Defines how the persona communicates.

HEARTBEAT.md Optional

Periodic background task configuration.

examples/ Directory Optional

Calibration material for voice matching (good-outputs.md, bad-outputs.md).


Allowed Licenses

The ClawSouls registry only accepts souls with permissive licenses:

Apache-2.0MITBSD-2-ClauseBSD-3-ClauseCC-BY-4.0CC0-1.0ISCUnlicense

Copyleft licenses are not permitted (GPL-*, AGPL-*, LGPL-*).

Additionally, CC-BY-NC-* (non-commercial) and CC-BY-ND-* (no-derivatives) are blocked because commercial use and modification are core to the soul workflow.


Changelog

v0.4 β€” 2026-02-20 Current

  • Added compatibility.frameworks for multi-framework support
  • Added compatibility.minTokenContext for token budget hints
  • Added allowedTools for tool transparency
  • Added recommendedSkills (object[]) replacing skills
  • Added disclosure.summary for progressive disclosure
  • Added deprecated / supersededBy for soul lifecycle
  • Deprecated modes, interpolation, skills

v0.3 β€” 2026-02-16

  • Added specVersion field (required for new souls)
  • Renamed clawsoul.json β†’ soul.json
  • License allowlist enforcement (permissive only)

v0.2 β€” 2026-02-13 Internal

Internal development spec. Not supported for new publications.

v0.1 β€” 2026-02-12 Internal

Initial spec prototype. Not supported for new publications.

Soul Spec is a trademark of ClawSouls.