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.

commands
48
tools
6

/add-dir

workspace-management

Antigravity CLI

Add a directory path to the active project workspace.

workspacedirectorycontext
view command →

/agents

subagents

Antigravity CLI

Open the subagents management panel to monitor and approve actions for background agents.

subagentsconcurrencymonitoringapprovals
view command →

/changelog

utility

Antigravity CLI

Display the latest product updates, version releases, and changelog info in the terminal.

changelogreleasenews
view command →

/hooks

utility

Antigravity CLI

List all registered lifecycle hooks (e.g. pre-command, post-edit validations).

hooksautomationevents
view command →

/mcp

utility

Antigravity CLI

Inspect active Model Context Protocol (MCP) servers and list their exposed tools.

mcpintegrationtools
view command →

/open

utility

Antigravity CLI

Open the specified file directly inside your host's configured preferred text editor.

editorfile-openide
view command →

/rewind

session-management

Antigravity CLI

Rewind conversation state to a previous point in history. Alias: /undo.

undorewindstate
view command →

/skills

utility

Antigravity CLI

List all local project-scoped and global user-defined agent skills.

skillscustomizationautomation
view command →

/usage

utility

Antigravity CLI

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

quotatokenspricingcredits
view command →

/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 →

/claude-api

integrations

Claude Code

Load Claude API reference, migrate deprecated model IDs, or onboard Claude Managed Agents (schedules + vaults).

claude-apimanaged-agentsvaultsscheduled-deployments
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 →

/approve

configuration

Codex CLI

Approve one retry of a recent auto review denial — lets Codex attempt a blocked action once under current policy.

approvepermissionsoverrideretry
view command →

/ide

context-management

Codex CLI

Include open files, current selection, and other IDE context in the next prompt without re-explaining what's open.

ideeditorcontextfiles
view command →

/mcp

integrations

Codex CLI

List configured Model Context Protocol (MCP) tools. Pass 'verbose' for server diagnostics.

mcpintegrationstoolsexternal
view command →

/model

configuration

Codex CLI

Choose the active model (and reasoning effort when available). Opens a picker; press s to switch for the current session only.

modelconfigurationopenai
view command →

/permissions

configuration

Codex CLI

Set what Codex can do without asking first — switch between Auto, Read Only, or custom permission profiles mid-session.

permissionssecurityautoapproval
view command →

/personality

configuration

Codex CLI

Choose a communication style for responses — friendly, pragmatic, or none — without rewriting your instructions.

personalitycommunicationstyleux
view command →

/plan

planning

Codex CLI

Switch to plan mode and optionally send a prompt. Codex proposes an execution plan before implementation starts.

planningplan-modepre-coding
view command →

/resume

session-management

Codex CLI

Resume a saved conversation from your session list. Continue work from a previous CLI session without starting over.

resumesessionshistory
view command →

/review

code-review

Codex CLI

Ask Codex to review your working tree — summarizes issues, focusing on behavior changes and missing tests.

reviewcode-qualitytestingpr
view command →
Page 1 / 2