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

@vtstech/pi-soul

v1.3.5

Published

SoulSpec extension for Pi Coding Agent - Load and manage AI agent personas

Readme

@vtstech/pi-soul

SoulSpec extension for Pi Coding Agent - Load and manage AI agent personas with progressive disclosure support and enhanced partial matching.

Features

  • Enhanced Partial Matching: Flexible soul name matching with regex support for better tab autocomplete compatibility
  • SoulSpec Loading: Load AI agent personas defined in SoulSpec format
  • Progressive Disclosure: Support for Level 1-3 disclosure levels
  • Multiple Soul Locations: Load souls from global and project-local directories
  • Built-in Tools: Tools for listing, loading, and inspecting souls with smart suggestions
  • CLI Commands: Commands for soul management with partial matching support
  • Embodied Agent Support: Hardware constraints and safety configurations
  • Smart Error Handling: Helpful suggestions when no exact match is found
  • Enhanced Error Handling: Improved debugging and error messages throughout the extension
  • Better Tab Completion: Enhanced partial matching works seamlessly with shell tab completion

Installation

# Install as part of the bundle
pi install git:github.com/VTSTech/pi-coding-agent

# Or install individually
pi install "npm:@vtstech/pi-soul

Usage

Tools

load_soul

Load a SoulSpec persona and build system prompt.

// Parameters
{
  "soul_name": "nova-helper",  // Name of the soul to load
  "level": 2                   // Progressive disclosure level (1-3, default 2)
}

list_souls

List all available SoulSpec personas.

soul_info

Get detailed information about a soul.

Commands

/souls

List available souls.

/soul <name>

Use a soul for the current session with partial matching support.

/soul nova-helper     # Use the Nova Helper persona (exact match)
/soul dev             # Load any soul containing 'dev' (partial matching)
/soul /dev/ig         # Load any soul with 'dev' (case-insensitive regex)
/soul --help          # Show enhanced help with partial matching examples

Soul Structure

Souls are defined in .pi/agent/souls/ directory with the following structure:

.pi/agent/souls/
├── nova-helper/
│   ├── soul.json     # Required: Soul manifest
│   ├── SOUL.md       # Required: Core persona
│   ├── IDENTITY.md   # Optional: Identity information
│   ├── STYLE.md      # Optional: Style guidelines
│   ├── AGENTS.md     # Optional: Agent behavior
│   └── HEARTBEAT.md  # Optional: Operational rhythm
└── robot-assistant/
    ├── soul.json
    ├── SOUL.md
    ├── IDENTITY.md
    ├── AGENTS.md
    ├── HEARTBEAT.md
    └── STYLE.md

Soul Manifest Format

{
  "specVersion": "0.5",
  "name": "nova-helper",
  "displayName": "Nova Helper",
  "version": "1.0.0",
  "description": "A helpful coding assistant",
  "author": {
    "name": "VTSTech"
  },
  "license": "MIT",
  "tags": ["coding", "assistant"],
  "category": "development/assistant",
  "environment": "virtual",
  "interactionMode": "text",
  "files": {
    "soul": "SOUL.md",
    "identity": "IDENTITY.md"
  },
  "disclosure": {
    "summary": "Helpful coding assistant"
  }
}

Progressive Disclosure

  • Level 1: Basic soul info (soul.json only)
  • Level 2: Core persona (SOUL.md + IDENTITY.md)
  • Level 3: Extended behavior (all files including examples)

Soul Locations

The extension searches for souls in the following directories (in order):

  1. ~/.pi/agent/souls/ - Global souls directory
  2. .pi/souls/ - Project-local souls directory
  3. ./souls/ - Current directory souls

Examples

Loading a soul with partial matching

/soul nova-helper     # Exact match
/soul dev             # Partial match (matches 'developer', 'assistant-dev', etc.)
/soul /dev/ig         # Regex match (case-insensitive)

Listing souls

/souls

Getting soul info with partial matching

/soul_info dev        # Get info for souls matching 'dev'
/load_soul {"soul_name": "nova-helper"}

Contributing

This package is part of the Pi Coding Agent extensions bundle.

License

MIT License - see LICENSE file for details.