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

@p31ca/cli

v3.0.1

Published

Sovereign AI agent for neurodivergent families — OpenCode face, P31 guts

Readme

P31 Sovereign CLI

Sovereign AI agent for neurodivergent families. OpenCode face, P31 guts.

Installation

curl -fsSL https://cli.p31ca.org/install | bash

Or install from source:

git clone https://github.com/p31labs/p31-cli
cd p31-cli
npm install && npm run build && npm link

Quick Start

Interactive Chat

p31 chat --model deepseek-v4-flash

Autonomous Agent

p31 agent "Fix the evidence vault endpoint"

Spoon-Aware TUI

p31 tui

Phos-Forge Tools

p31 phos status              # Show manifest stats
p31 phos adopt               # Classify files
p31 phos state               # Cognitive state
p31 phos tide                # Temporal patterns
p31 phos jitterbug "problem" # Fractal research

MCP Tools

p31 mcp list                 # List MCP servers
p31 mcp serve --port 3000    # Start HTTP server

Spoon Controls

p31 spoons        # Show current level
p31 spoons 1      # Low energy mode
p31 spoons 5      # Full energy mode

Commands

| Command | Description | |---------|-------------| | chat | Interactive chat session | | agent | Run autonomous agent | | tui | Spoon-aware terminal UI | | mcp | MCP tool management | | models | List available LLM models | | session | Session management | | spoons | Set cognitive load level | | init | Initialize config | | phos | Phos-forge tools (adopt, status, state, tide, jitterbug, aura, etc.) |

Phos-Forge Subcommands

| Command | Description | |---------|-------------| | phos adopt [path] | Classify and move files | | phos status | Manifest stats and activity | | phos classify <path> | Classify a single file | | phos learn [dir] | Infer canonical map | | phos rollback [count] | Roll back file moves | | phos watch | Background file watcher | | phos deploy <target> | Deploy with spoon gating | | phos dashboard | Convergence dashboard | | phos state | Cognitive state (5-dim) | | phos estimate | Fresh cognitive estimate | | phos calibrate | Self-report spoon level | | phos remediate | Self-healer cycle | | phos healer-log | Healer activity log | | phos healer-diag | Healer diagnostics | | phos reflex [n] | Reflex arc status | | phos tide | Temporal patterns | | phos kappa | Outcome-aware weights | | phos logbook | Session memory state | | phos cartographer <query> | Semantic code search | | phos trace <symbol> | Symbol references | | phos related <path> | Related files | | phos brain-dump <text> | Brain dump pipeline | | phos brain-sessions [n] | Recent brain sessions | | phos jitterbug <problem> | Fractal research workflow | | phos aura | Cognitive visualization | | phos bus-emit <type> <payload> | Emit event |

TUI Slash Commands

In the TUI chat view (p31 tui), type these slash commands:

| Command | Description | |---------|-------------| | /help | Show available slash commands | | /phos status | Phos-forge status | | /phos state | Cognitive state | | /phos tide | Tide temporal patterns | | /phos kappa | Kappa weights | | /phos logbook | Logbook status | | /phos reflex | Reflex arc status |

Architecture

  • TypeScript + Node.js — Type-safe, production-ready
  • OpenCode Plugin System — 6 P31 sovereign plugins (DID, PQC, care, mesh, spoon, honest-label)
  • MCP Protocol — 9 servers, 280+ tools (phos-forge, crypto, justice, care, mesh, billing, federation, ledger)
  • SQLite Sessions — Per-session-tree sharding with WAL mode
  • 3 LLM Providers — Anthropic, Google Gemini, OpenRouter (auto-detected)
  • Ink TUI — Spoon-aware terminal UI with 3 themes (cyan cockpit, warm garden, crisis minimal)
  • Spoon-Aware — Cognitive load levels 1/3/5 with adaptive UI

License

MIT — P31 Labs, Inc.