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. 11 commands indexed.

commands
11
tools
5

/batch

parallel-agents

Claude Code

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.

batchparallelmigrationworktree
view command →

/clear

session-management

Claude Code

Start a new conversation with empty context. The previous conversation stays available in /resume. Optionally name the previous conversation.

clearnew-sessioncontext-reset
view command →

/code-review

code-review

Claude Code

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.

reviewcode-qualitybugscleanup
view command →

/doctor

diagnostics

Claude Code

Diagnose and verify your Claude Code installation and settings. Press f to have Claude fix any reported issues.

diagnosticstroubleshootinginstallationhealth
view command →

/hooks

configuration

Claude Code

View hook configurations for tool events — pre- and post-tool hooks that run shell commands around Claude's actions.

hooksautomationshellevents
view command →

/init

setup

Claude Code

Initialize project with a CLAUDE.md guide covering repo conventions, commands, and agent instructions.

setupmemoryclaude.mdproject-init
view command →

/loop

automation

Claude Code

Run a prompt repeatedly on a schedule while the session stays open. Omit the interval and Claude self-paces between iterations.

loopscheduleautomationpolling
view command →

/plan

planning

Claude Code

Enter plan mode to design your approach before coding. Claude proposes an execution plan for review before any implementation starts.

planningplan-modearchitecturepre-coding
view command →

/resume

session-management

Claude Code

Resume a previous conversation by ID or name, or open the session picker.

resumesessionshistory
view command →

/rewind

session-management

Claude Code

Rewind the conversation and/or code to a previous checkpoint, or summarize from a selected message.

undocheckpointrevertrollback
view command →

/skills

configuration

Claude Code

List available skills and manage which are shown to Claude. Press t to sort by token count, Space to hide a skill.

skillsconfigurationcontext
view command →