Skip to content

Commands

Complete reference for all PanCode slash commands and tools, organized by domain.

List and configure PanCode agent specs.

/agents List all registered agents
/agents set <name> runtime <value> Change agent runtime
/agents set <name> model <value> Change agent model
/agents set <name> tier <value> Change agent tier (frontier/mid/any)

Output shows a table with agent name, model, speed, autonomy, tags, and readonly status. Changes via set are persisted to ~/.pancode/panagents.yaml.

List all registered agent runtimes with availability status.

/runtimes

Shows each runtime’s ID, type (native/cli), tier, version, active/missing status, and binary name. Runtimes are discovered at boot by scanning PATH for known binaries.

Show the PanCode worker pool with composite scores.

/workers

Displays each materialized worker with availability, capacity, load, capability, cost, and overall score. Workers are the cross-product of agent specs, available runtimes, and discovered models.

Discover and inspect agent skills from the project directory.

/skills List all discovered skills
/skills show <name> Show full skill definition
/skills validate Check tool requirements against active tools

Skills are markdown files (SKILL.md, *.skill.md) discovered from .pancode/skills/, .claude/, .codex/, and .gemini/ directories.

These are orchestrator tools invoked through conversation, not slash commands.

Delegate a task to a specialized worker agent.

ParameterTypeDefaultDescription
taskstringrequiredTask description for the worker
agentstring"dev"Agent spec name
isolatebooleanfalseRun in a git worktree

The worker runs as a separate subprocess with its own context window. Results are returned to the orchestrator context.

Mode gating: Dispatch is disabled in Plan mode. Review mode only allows readonly agents.

Run multiple tasks in parallel across agents.

ParameterTypeDescription
tasksarrayArray of {task, agent} objects

Tasks launch with staggered starts to avoid resource contention. Each task gets its own worker subprocess.

Run a sequential multi-step pipeline.

ParameterTypeDescription
stepsarrayOrdered array of {task, agent} steps

Each step receives the output of the previous step. The chain stops on any failure.

Create a task in the PanCode task list.

ParameterTypeDescription
titlestringTask title
descriptionstringTask description

Mark a task as done.

ParameterTypeDescription
idstringTask ID

Update a task’s title, description, or status.

ParameterTypeDescription
idstringTask ID
titlestringNew title (optional)
descriptionstringNew description (optional)
statusstringNew status (optional)

List all tasks in the PanCode task list.

No parameters.

Stop a running dispatch by run ID.

/stoprun <run-id>
/stoprun # Stops the most recent running dispatch

Sends termination signal to the worker subprocess.

Show per-run cost breakdown.

/cost

Displays a table of all dispatches with cost, tokens, duration, and status.

Show dispatch run history.

/runs # Show recent runs (default: 20)
/runs 50 # Show last 50 runs

Displays run ID, agent, status, model, duration, cost, and timestamps.

Show batch dispatch history.

/batches

Displays recent batch dispatches with task count, status breakdown, and timing.

Show PanCode dispatch metrics.

/metrics # Show summary and last 10 runs
/metrics 25 # Show summary and last 25 runs

Displays total runs, total cost, total input/output tokens, and recent run details.

Show the structured audit trail.

/audit # Show last 50 entries
/audit <domain> # Filter by domain (dispatch, session, safety, etc.)
/audit error # Filter by severity: error
/audit warn # Filter by severity: warn
/audit info # Filter by severity: info
/audit run:<runId> # Filter by correlation ID

Each entry shows timestamp, severity, domain, event type, and detail.

Run diagnostic health checks. Eight probes execute in sequence:

CheckWhat It Validates
runtime-dir.pancode/runtime/ directory exists and is writable
orphan-workersNo leaked worker processes (warns if > 8 active)
stale-runsNo runs stuck in “running” for over 1 hour
provider-healthAll tracked providers are healthy or degraded
json-file-integrityState files (runs.json, metrics.json) parse correctly
session-dir-sizeSession directory disk usage is reasonable
budget-headroomBudget has remaining headroom
model-availableAt least one model is available
/doctor

Output: [OK], [!!] (warning), or [XX] (failure) for each check with a summary message.

List or verify reproducibility receipts.

/receipt # List recent receipts
/receipt verify <receipt-id> # Verify receipt integrity

Receipts are generated after each dispatch completes. They contain a hash of the run parameters and results for audit-ready verification.

Show session info with PanCode state summary.

/session

Displays: session file, session ID, session name, branch depth, context tokens, current model, context registry size, shared board size, and memory counts.

Mark, list, or inspect session checkpoints.

/checkpoint <label> # Save a checkpoint with label
/checkpoint list # Show all checkpoints
/checkpoint restore <id> # Display checkpoint data (display-only in current version)

Checkpoints record context registry size, board entries, temporal/persistent memory counts, and budget state.

View the cross-agent context registry.

/context # List all entries (last 20)
/context <key> # Show full value for a specific key
/context <source> # Filter entries by source

The context registry enables cross-agent information sharing. Workers write context entries that persist across dispatches.

Reset coordination state.

/reset # Quick reset: clear board + temporal memory (context preserved)
/reset context # Clear context registry only (with confirmation)
/reset all # Clear everything: board, context, temporal memory (with confirmation)

Show PanCode dispatch budget status.

/budget

Displays: ceiling, spent, remaining, estimated next dispatch cost, run count, input/output tokens, and per-run cap if set.

Budget changes are conversational. Ask the orchestrator: “set budget to $20”.

Open the PanCode dashboard.

/dashboard

Displays a visual summary with mode badge, active dispatches, session statistics, context window bar, and budget status.

Inspect or change the active PanCode theme.

/theme # Show current theme
/theme <name> # Switch theme

List PanCode-visible models or switch model.

/models # List all visible models
/models provider/model-id # Switch to specific model

Inspect or change the reasoning preference.

/reasoning # Show current level
/reasoning <level> # Set level: off|minimal|low|medium|high|xhigh

Switch orchestrator mode.

/modes # Show current mode
/modes admin # Switch to Admin mode
/modes plan # Switch to Plan mode
/modes build # Switch to Build mode
/modes review # Switch to Review mode

Show all PanCode commands organized by category.

/help

List or apply a boot preset.

/preset # List available presets
/preset <name> # Apply a preset

Show boot phase timing breakdown.

/perf

Displays each boot phase with duration. Phases exceeding 500ms are flagged.

Show or switch safety level live.

/safety # Show current level
/safety suggest # Switch to suggest
/safety auto-edit # Switch to auto-edit
/safety full-auto # Switch to full-auto

Exit PanCode.

/exit

Show keyboard shortcuts.

/hotkeys

Show the last compiled orchestrator prompt breakdown.

/prompt-debug

Displays estimated tokens, included/excluded fragments, hash, and a text preview.

Show prompt compilation version history.

/prompt-version # Show last 10 history entries
/prompt-version latest # Show latest manifests for orchestrator/worker/scout
/prompt-version 25 # Show last 25 entries

Show recent worker prompt compilations.

/prompt-workers

Read PanCode configuration parameters through conversation.

ParameterTypeDescription
domainstring (optional)Filter: runtime, models, budget, dispatch, preset

Returns current values, defaults, types, and descriptions.

Apply a configuration change through conversation.

ParameterTypeDescription
keystringConfig param key (e.g., runtime.safety)
valuestring, number, or booleanNew value

Admin-only parameters (dispatch.timeout, dispatch.maxDepth, dispatch.concurrency) require Admin mode.