Files
Christian Klotz 25cc5c7bf4 docs(coding-agent): refresh documentation (#9898)
* docs(coding-agent): improve getting started documentation

* docs(coding-agent): correct getting started details

* docs(coding-agent): clarify SDK entry point

* docs(coding-agent): restructure guides and references

* docs(coding-agent): improve getting started guides

* docs(coding-agent): refresh integration guides

* docs(coding-agent): improve terminal and CLI guides

* docs(coding-agent): refresh customisation guides

* docs(coding-agent): clarify project trust terminology

* docs(coding-agent): simplify customisation guidance

* docs(coding-agent): improve runtime and reference guidance

* Fix settings reference

* feat(coding-agent): add Crowdin documentation sync

* docs(coding-agent): separate CLI and slash command references

* docs(coding-agent): correct compaction reference

* docs(coding-agent): streamline package documentation

* docs(coding-agent): split RPC reference documentation

* Update configuration docs

* Shorten config docs

* docs(coding-agent): refine configuration references

* docs(coding-agent): streamline settings reference

* docs(coding-agent): clarify configuration reference

* docs(coding-agent): clarify project trust exception

* docs(coding-agent): simplify keybindings reference

* docs(coding-agent): remove Crowdin integration

* docs(coding-agent): turn themes reference into guide

* docs(coding-agent): consolidate model and authentication docs

* docs(tui): require Component.invalidate() (fixes #9358)

* docs(coding-agent): document offline catalog behavior (fixes #8684)

* docs(coding-agent): preserve established documentation routes

* docs(coding-agent): reorganize documentation navigation

* docs(coding-agent): correct audited behavior

Clarify provider, session, local-model, Termux, TUI, SDK, debug, and extension behavior. Simplify the documentation audit to report only clear user-visible contradictions.

* docs(coding-agent): fix broken documentation links
2026-09-22 16:48:19 +02:00

2.6 KiB

Slash commands

Type / in Pi's terminal editor to search the commands available in the current session. This page lists the built-in commands in the current Pi release.

Extensions, prompt templates, and skills can add commands. The command menu in Pi is therefore the exact reference for the resources loaded in your session.

Models and settings

Command Description
/settings Open settings
/model [provider/model] Select a model
/thinking [level] Set the thinking level
/scoped-models Configure the models used by interactive cycling
/login [provider] Add provider authentication
/logout Remove provider authentication
/llama Manage models on the configured llama.cpp router

Sessions and context

Command Description
/new Start a new session
/resume Switch to another saved session
/name [name] Set the session display name, or show the current name when omitted
/session Show current session information and statistics
/tree Navigate the session tree
/fork Create a new session from an earlier user message
/clone Duplicate the current session at its current position
/compact [instructions] Compact the current context, optionally with custom instructions
/import <path> Import and resume a JSONL session

Export and share

Command Description
/copy Copy the last assistant message
/export [path] Export the session as HTML or JSONL
/share Upload the session and return a viewer link
/bug [description] Prepare a private bug report for the Pi developers

Review a session before exporting or sharing it. Sessions can contain prompts, tool arguments, command output, file contents, and credentials exposed during the conversation.

Runtime and project

Command Description
/trust Save a project trust decision for future Pi processes
/reload Reload keybindings, extensions, skills, templates, themes, and context files
/hotkeys Show active keyboard shortcuts
/changelog Show changelog entries
/quit Quit Pi

Commands added by resources

  • Extensions can register commands with their own arguments and completion behavior.
  • Each prompt template is available under its template name.
  • Skills are available as /skill:name when skill commands are enabled.

Use /reload after adding or changing a discovered command resource. See Extensions, Prompt Templates, and Skills for their loading and naming rules.