npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

clawsouls

v0.13.7

Published

CLI for ClawSouls — AI agent persona sharing platform

Readme

🧠 ClawSouls CLI

Give your AI a soul. Install, manage, and switch AI agent personas — built for OpenClaw, works with any SOUL.md-compatible agent.

npm License

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.

Multi-Platform Support

ClawSouls works with any SOUL.md-compatible agent framework. The CLI auto-detects your installed platform and applies souls to the correct workspace.

| Platform | Directory | Status | |----------|-----------|--------| | OpenClaw | ~/.openclaw/workspace/ | ✅ Auto-detected | | ZeroClaw | ~/.zeroclaw/workspace/ | ✅ Auto-detected | | Clawdbot | ~/.clawdbot/workspace/ | ✅ Auto-detected | | Moltbot | ~/.moltbot/workspace/ | ✅ Auto-detected | | Moldbot | ~/.moldbot/workspace/ | ✅ Auto-detected | | Custom | Any path | ✅ Via --workspace or --platform |

How It Works

┌──────────────────────────────────────────────────┐
│  clawsouls install clawsouls/surgical-coder      │
│  clawsouls use surgical-coder                    │
└──────────────┬───────────────────────────────────┘
               │
               ▼  Auto-detect installed platform
      ┌────────────────────┐
      │  ~/.openclaw/ ?    │──yes──▶ Apply to ~/.openclaw/workspace/
      │  ~/.zeroclaw/ ?    │──yes──▶ Apply to ~/.zeroclaw/workspace/
      │  ~/.clawdbot/ ?    │──yes──▶ Apply to ~/.clawdbot/workspace/
      │  ~/.moltbot/ ?     │──yes──▶ Apply to ~/.moltbot/workspace/
      │  ~/.moldbot/ ?     │──yes──▶ Apply to ~/.moldbot/workspace/
      │  --workspace path  │──yes──▶ Apply to custom path
      └────────────────────┘
  1. Install downloads soul files to ~/<platform>/souls/<owner>/<name>/
  2. Use copies soul files (SOUL.md, IDENTITY.md, etc.) to the workspace
  3. Protected files (USER.md, MEMORY.md, TOOLS.md) are never overwritten
  4. Automatic backup before every switch — revert with clawsouls restore

Override Platform

# Explicit platform flag
clawsouls --platform zeroclaw use surgical-coder

# Custom workspace path
clawsouls --workspace ~/my-agent/workspace use surgical-coder

# Environment variable
CLAWSOULS_PLATFORM=clawdbot clawsouls use surgical-coder

# Check detection
clawsouls platform

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 agent session — done!

Installation

# Use directly with npx (no install needed)
npx clawsouls <command>

# Or install globally
npm install -g clawsouls

Requirements: Node.js 22+

Commands

clawsouls platform

Show detected agent platform(s) and workspace path.

clawsouls platform

# 🔍 Agent Platform Detection
#
# ▶ Active: OpenClaw 🦞
#   Workspace: /home/user/.openclaw/workspace
#   Souls dir: /home/user/.openclaw/souls
#   Restart:   openclaw gateway restart

clawsouls init [name] [--spec <version>]

Scaffold a new soul package directory with template files.

clawsouls init my-soul
clawsouls init my-robot --spec 0.5

The --spec flag selects which Soul Spec version template to use:

| Flag | Version | Use Case | |------|---------|----------| | (default) | v0.4 | General-purpose personas | | --spec 0.3 | v0.3 | Minimal / legacy | | --spec 0.4 | v0.4 | General-purpose personas | | --spec 0.5 | v0.5 | Robotics / embodied agents (adds environment, interactionMode, sensor/actuator schemas) |

Creates 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.

clawsouls install clawsouls/minimalist
clawsouls install clawsouls/devops-veteran
clawsouls install clawsouls/surgical-coder --force     # overwrite existing
clawsouls install clawsouls/[email protected]       # specific version

clawsouls use <name>

Activate an installed soul. Your current workspace files are automatically backed up before switching.

clawsouls use minimalist

Automatic backup: Before applying a new soul, the current workspace files (SOUL.md, IDENTITY.md, AGENTS.md, HEARTBEAT.md) are saved to ~/<platform>/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.

clawsouls restore

clawsouls list

List installed souls.

clawsouls list
clawsouls ls

clawsouls validate [dir]

Validate a soul package against the Soul Spec.

clawsouls validate              # validate current directory
clawsouls validate ./my-soul    # validate specific directory
clawsouls validate --soulscan   # include SoulScan security analysis

clawsouls soulscan [dir]

Run SoulScan™ security and quality analysis on a soul package or active workspace.

clawsouls soulscan                # scan active workspace
clawsouls soulscan ./my-soul      # scan specific directory
clawsouls soulscan -q             # quiet mode (for cron)
clawsouls soulscan --init         # initialize baseline checksums

clawsouls publish <dir>

Publish a soul package to the registry.

clawsouls login <token>           # authenticate first
clawsouls publish ./my-soul       # publish to clawsouls.ai

Soul Spec

Souls follow the Soul Spec — an open specification for AI agent persona packages. A soul package contains:

my-soul/
├── soul.json       # Metadata (name, version, tags, compatibility)
├── SOUL.md         # Persona, tone, and boundaries
├── IDENTITY.md     # Name, avatar, and vibe
├── AGENTS.md       # Operating instructions
├── HEARTBEAT.md    # Periodic check behavior
└── README.md       # Human-readable description

Security

All souls on clawsouls.ai are automatically scanned by SoulScan™ — our security engine that checks for prompt injection, data exfiltration, harmful content, and 50+ other patterns.

Links

License

Apache-2.0