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. 38 commands indexed.
/batch
parallel-agents
Orchestrate large-scale changes across a codebase in parallel. Decomposes work into 5–30 independent units, each in its own git worktree with its own PR.
/clear
session-management
Start a new conversation with empty context. The previous conversation stays available in /resume. Optionally name the previous conversation.
/code-review
code-review
Review the current diff for correctness bugs and for reuse, simplification, and efficiency cleanups. Pass --fix to apply findings, --comment to post as GitHub PR comments, or ultra for a deep cloud review.
/doctor
diagnostics
Diagnose and verify your Claude Code installation and settings. Press f to have Claude fix any reported issues.
/hooks
configuration
View hook configurations for tool events — pre- and post-tool hooks that run shell commands around Claude's actions.
/init
setup
Initialize project with a CLAUDE.md guide covering repo conventions, commands, and agent instructions.
/loop
automation
Run a prompt repeatedly on a schedule while the session stays open. Omit the interval and Claude self-paces between iterations.
/plan
planning
Enter plan mode to design your approach before coding. Claude proposes an execution plan for review before any implementation starts.
/resume
session-management
Resume a previous conversation by ID or name, or open the session picker.
/rewind
session-management
Rewind the conversation and/or code to a previous checkpoint, or summarize from a selected message.
/skills
configuration
List available skills and manage which are shown to Claude. Press t to sort by token count, Space to hide a skill.
/approve
configuration
Approve one retry of a recent auto review denial — lets Codex attempt a blocked action once under current policy.
/ide
context-management
Include open files, current selection, and other IDE context in the next prompt without re-explaining what's open.
/mcp
integrations
List configured Model Context Protocol (MCP) tools. Pass 'verbose' for server diagnostics.
/model
configuration
Choose the active model (and reasoning effort when available). Opens a picker; press s to switch for the current session only.
/permissions
configuration
Set what Codex can do without asking first — switch between Auto, Read Only, or custom permission profiles mid-session.
/personality
configuration
Choose a communication style for responses — friendly, pragmatic, or none — without rewriting your instructions.
/plan
planning
Switch to plan mode and optionally send a prompt. Codex proposes an execution plan before implementation starts.
/resume
session-management
Resume a saved conversation from your session list. Continue work from a previous CLI session without starting over.
/review
code-review
Ask Codex to review your working tree — summarizes issues, focusing on behavior changes and missing tests.
/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.