All categoriesconfigurationsession-managementutilitycontext-management×setupparallel-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 | /compact Summarize the current session to save tokens. Alias: /summarize. | OpenCode | context-management | OpenCode |