slash commands / reference

COMMAND REFERENCE

Slash commands for every AI coding tool — Claude Code, Cursor, Codex CLI, Gemini CLI, and OpenCode. Find the right command for your workflow. 10 commands indexed.

commands
10
tools
6

/context

context-management

Antigravity CLI

List all files, symbols, and references currently loaded inside the agent's context window.

contexttokensmemory
view command →

/usage

utility

Antigravity CLI

Display current token count, model call pricing, and account limits. Alias: /quota.

quotatokenspricingcredits
view command →

/compact

context-management

Claude Code

Free up context by summarizing the conversation so far. Optionally pass focus instructions for the summary.

contextmemorysummarizetokens
view command →

/context

context-management

Claude Code

Visualize current context usage as a colored grid. Shows optimization suggestions for context-heavy tools and capacity warnings.

contexttokensusagediagnostics
view command →

/compact

context-management

Codex CLI

Summarize the visible conversation to free tokens. Use after long runs so Codex retains key points without blowing the context window.

contextsummarizetokenscompact
view command →

/status

diagnostics

Codex CLI

Display session configuration and token usage — active model, approval policy, writable roots, and context capacity.

statusdiagnosticsconfigurationtokens
view command →

/compress

context-management

Cursor CLI

Summarize conversation to free context window space while keeping a high-level record of what happened.

contextcompresssummarizetokens
view command →

/compress

context-management

Gemini CLI

Replace the current chat context with a summary to save tokens and free up context window space.

contextsummarizetokenscompress
view command →

/stats

diagnostics

Gemini CLI

Detailed usage statistics — session totals, per-model breakdown, and tool call counts.

statsusagetokensmonitoring
view command →

/compact

context-management

OpenCode

Summarize the current session to save tokens. Alias: /summarize.

contextsummarizetokens
view command →