CLI Commands

Complete reference for the P31 CLI command tree.

Core Commands

CommandDescription
p31 chatInteractive AI chat TUI with command palette, spoon status bar, MCP tool integration
p31 helpShow help for any command
p31 versionPrint version number

Mesh & Family

CommandDescription
p31 mesh statusShow K₄ Cage mesh status
p31 spoonShow current spoon level (0-5)
p31 energyQuery energy level via AI
p31 pingSend a ping to a family member
p31 connectShow connection spine
p31 bootExecute P31 startup sequence

Identity & Security

CommandDescription
p31 passport showShow cognitive passport (DID, keys)
p31 passport generateGenerate Ed25519 keypair
p31 verifyRun verification suite

Infrastructure

CommandDescription
p31 router startStart the AI router proxy on :4001
p31 doctorRun ecosystem diagnostics
p31 logs tailTail command-center logs
p31 command-centerStart local operator UI (:3131)
p31 dashboardStart TUI dashboard

Tools & Integration

CommandDescription
p31 surface listList available surfaces
p31 forgeDocument generation (court, grants, brand)
p31 quantumInteract with Quantum Gateway
p31 kiloInteract with Kilo Gateway
p31 kilo modelsList available Kilo models
p31 ciRun CI equivalent locally

Market & Business

CommandDescription
p31 launchMarket launch pipeline
p31 triperTRIPER MVP certification
p31 hub-diffDiff p31ca hub against ground truth
p31 cashpilotDePIN earnings optimizer
p31 openOpen a local dev surface

Chat TUI Shortcuts

KeyAction
Ctrl+POpen command palette (fuzzy search, 28+ commands)
EnterSend message to AI
EscExit chat
Ctrl+CExit chat (with MCP cleanup)