All categoriesconfigurationsession-managementutilitycontext-managementsetupparallel-agentsplanningdiagnostics
| # | Command | Tool | Category | Tool |
|---|---|---|---|---|
| 1 | /compact Free up context by summarizing the conversation so far. Optionally pass focus instructions for the summary. | Claude Code | context-management | Claude Code |
| 2 | /compact Summarize the visible conversation to free tokens. Use after long runs so Codex retains key points without blowing the context window. | Codex CLI | context-management | Codex CLI |
| 3 | /tools List available tools. Pass 'desc' for descriptions or 'nodesc' for compact list. | Gemini CLI | configuration | Gemini CLI |
| 4 | /compact Summarize the current session to save tokens. Alias: /summarize. | OpenCode | context-management | OpenCode |