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. 48 commands indexed.
/skills
configuration
Browse and use local skills to improve task-specific behavior by loading relevant skill context.
/status
diagnostics
Display session configuration and token usage — active model, approval policy, writable roots, and context capacity.
/compress
context-management
Summarize conversation to free context window space while keeping a high-level record of what happened.
/plan
planning
Switch to Plan mode — the agent researches your codebase, asks clarifying questions, and produces a reviewable implementation plan before writing code.
/resume
session-management
Resume a previous chat session by folder name.
/rules
setup
Create new rules or edit existing rules in .cursor/rules (.mdc files) for persistent project guidance.
/compress
context-management
Replace the current chat context with a summary to save tokens and free up context window space.
/init
setup
Analyze directory and generate a tailored GEMINI.md for persistent project memory.
/memory refresh
setup
Reload memory from global, project, and subdirectory GEMINI.md files without restarting.
/permissions
configuration
Manage folder trust settings. Trust a path so Gemini can operate there without per-action prompts.
/plan
planning
Switch to Plan Mode (read-only) where Gemini produces an approved plan before making any changes.
/restore
session-management
Revert files to their pre-tool state using checkpointing. Pass a tool_call_id to restore a specific checkpoint.
/rewind
session-management
Navigate backward through history; revert chat and/or code to a prior state (also Esc Esc).
/connect
configuration
Add a provider and API key to connect a new AI model provider.
/editor
context-management
Open the external $EDITOR for composing messages — useful for long or structured prompts. Keybind: Ctrl+x e.
/init
setup
Guided AGENTS.md setup for the current project.
/models
configuration
List available models across all configured providers. Keybind: Ctrl+x m.
/redo
session-management
Restore a previously undone message and file changes. Git-backed. Keybind: Ctrl+x r.