The command for each task, in each harness. Pick what you are working with, then read across: commands you type in your shell or a script and commands you type inside an open session are listed separately. Commands for renaming sessions are on Thread naming and importing from another harness on Migration.
Inside a session
Slash commands you type into an open session.
| Task | pichecked at 1.2.0 |
|---|---|
| Use | |
| Show details | Show the session's file, id, message count, token usage and cost. 1 noteThe only usage view; there is no shell usage command. |
Programmatic retrieval
Quota, activity and spend have different units and account scopes. These findings describe source or documentation; account retrieval has not been runtime verified.
pi: programmatic plan quota retrieval has not been audited. Session token/cost statistics do not establish account quota support.
Notes and sources
pi
- Shell MCP commands always use the built-in MCP and do not load extensions. In-session behaviour is documented, not live-probed.
- pi-1.2.0 help observation, live observation, checked 2026-10-14
- pi 1.2.0 documentation, Documentation, checked 2026-10-15