explainx.ai350K+ learn from us
TrendingAI News TodayPathwaysSkills
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

  1. Home
  2. /
  3. Slash Commands
registry://slash-commands

SLASH COMMANDS

Every slash command across Claude Code, Cursor, Codex CLI, Gemini CLI, and OpenCode — one searchable reference.

100+indexed6 toolscategories
how it works

Filter by tool → find the command → copy syntax into your agent.

All(138)Trending
All toolsClaude CodeAntigravity CLICodex CLIGemini CLICursor CLIOpenCode
All categoriesconfigurationsession-managementutilitycontext-managementsetupplanningparallel-agentscode-review
#CommandToolCategoryViews
1/logout

Log out of your active Google user session and wipe local authentication caches.

Antigravity CLIconfiguration34
2/fork

Fork the current conversation into a new thread with a fresh ID, leaving the original transcript untouched for parallel exploration.

Codex CLIsession-management19
3/plan

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

Codex CLIplanning8
4/checkup

Audit and clean up your Claude Code setup: unused skills, MCPs, and plugins, CLAUDE.md dedup and splitting, slow hooks, auto mode, and permission pre-approval. Confirms before making changes.

Claude Codediagnostics7
5/init

Generate an AGENTS.md scaffold in the current directory for persistent repo instructions.

Codex CLIsetup7
6/list-agents

List every other session Claude can message: local sessions on this machine and, when Remote Control is connected, your sessions on other machines and Claude Code on the web. Alias: /peers.

Claude Codeparallel-agents5
7/logout

Sign out from Cursor.

Cursor CLIconfiguration5
8/exit

Exit OpenCode. Aliases: /quit, /q. Keybind: Ctrl+x q.

OpenCodesession-management5
9/thinking

Toggle visibility of reasoning blocks in the response.

OpenCodeconfiguration5
10/btw

Ask a quick side-question or request info without starting a heavy agent execution state.

Antigravity CLIutility4
11/doctor

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

Claude Codediagnostics4
12/archive

Archive the current session and exit. Removes it from active session lists; transcript kept locally. Restore with 'codex unarchive <SESSION>'.

Codex CLIsession-management4
13/mention

Attach a file or folder to the conversation via popup picker so Codex references it directly in the next turn.

Codex CLIcontext-management4
14/personality

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

Codex CLIconfiguration4
15/exit

Exit the active session and terminate agy safely. Alias: /quit.

Antigravity CLIsession-management3
16/rewind

Rewind code and/or conversation to a checkpoint. As of v2.1.191, restore context from before /clear ran. Aliases: /checkpoint, /undo.

Claude Codesession-management3
17/diff

Show the Git diff including files Git isn't tracking yet. Review Codex's edits before committing or running tests.

Codex CLIcode-review3
18/compress

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

Gemini CLIcontext-management3
19/copy

Copy the last generated agent response directly to your host clipboard.

Antigravity CLIutility2
20/fast

Toggle Fast Mode, modifying artificial typing delays and thought visualizations.

Antigravity CLIutility2
21/statusline

Toggle or configure the visibility of real-time CLI diagnostic lines.

Antigravity CLIconfiguration2
22/claude-api

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

Claude Codeintegrations2
23/goal

Set a persistent goal — Claude keeps working across turns until the condition is met. View, pause, resume, or clear with subcommands.

Claude Codeplanning2
24/approve

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

Codex CLIconfiguration2
25/compact

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

Codex CLIcontext-management2
26/auto-run

Toggle auto-run (default) or set explicitly on/off/status. Controls whether tools run without asking for confirmation.

Cursor CLIconfiguration2
27/max-mode

Toggle max mode on models that support it — enables extended reasoning and capability.

Cursor CLIconfiguration2
28/compact

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

OpenCodecontext-management2
29/export

Export the current conversation to Markdown and open in $EDITOR. Keybind: Ctrl+x x.

OpenCodesession-management2
30/themes

List available themes and switch the visual theme. Keybind: Ctrl+x t.

OpenCodeconfiguration2
31/undo

Remove the last message and its responses, and revert any file changes made. Git-backed — requires a git repository. Keybind: Ctrl+x u.

OpenCodesession-management2
32/artifact

Open the terminal-based interactive viewer for staged code artifacts and documents.

Antigravity CLIartifacts1
33/boost

Route a task through Antigravity's deep-reasoning pipeline — higher token spend, multi-agent orchestration with execution and verification loops.

Antigravity CLIplanning1
34/clear

Clear the active terminal viewport and reset the screen buffer. Alias: /new.

Antigravity CLIutility1
35/fork

Fork the current conversation thread into a new session, keeping original history intact. Alias: /branch.

Antigravity CLIsession-management1
36/help

Display the command cheatsheet, syntax help, and interactive keyboard guide.

Antigravity CLIutility1
37/hooks

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

Antigravity CLIutility1
38/rename

Rename the active conversation thread for better tracking and retrieval.

Antigravity CLIsession-management1
39/resume

Resume or switch to a past conversation session. Aliases: /switch, /conversation.

Antigravity CLIsession-management1
40/rewind

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

Antigravity CLIsession-management1
41/tasks

Monitor, view output logs, or cancel active background tasks.

Antigravity CLIutility1
42/title

Toggle or customize the terminal emulator window title format.

Antigravity CLIconfiguration1
43/clear

Start a new conversation with empty context. Previous session stays in /resume; use /rewind (v2.1.191+) to undo a clear in-session. Aliases: /reset, /new.

Claude Codesession-management1
44/compact

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

Claude Codecontext-management1
45/design

Research preview: generate a few editable UI artboards for a feature before you build it, then have Claude implement the one you pick.

Claude Codeplanning1
46/diff

Open an interactive diff viewer showing uncommitted changes and per-turn diffs. Navigate with arrow keys between the git diff and individual Claude turns.

Claude Codecode-review1
47/schedule

Create, update, list, or run Anthropic-managed cloud routines from the CLI. Alias: /routines.

Claude Codeautomation1
48/simplify

Review changed code for cleanup opportunities and apply the fixes. Four review agents run in parallel covering reuse, simplification, efficiency, and abstraction level.

Claude Codecode-review1
49/stop

Stop the attached background session while keeping its transcript and git worktree.

Claude Codeparallel-agents1
50/ultrareview

Alias for /code-review ultra — multi-agent cloud code review fleet on a diff before merge.

Claude Codecode-review1
51/side

Start an ephemeral side conversation for a focused detour — the parent thread keeps running and its status stays visible.

Codex CLIcontext-management1
52/commands

Create or edit custom slash commands for repetitive workflows.

Cursor CLIsetup1
53/compress

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

Cursor CLIcontext-management1
54/model

Set or list available models for the current session.

Cursor CLIconfiguration1
55/quit

Exit the Cursor CLI.

Cursor CLIsession-management1
56/sandbox

Configure sandbox mode and network access settings for the current session.

Cursor CLIconfiguration1
57/agents

Manage subagents — list built-in, local, and remote subagents; enable, disable, or configure.

Gemini CLIparallel-agents1
58/permissions

Manage folder trust settings. Trust a path so Gemini can operate there without per-action prompts.

Gemini CLIconfiguration1
59/models

List available models across all configured providers. Keybind: Ctrl+x m.

OpenCodeconfiguration1
60/add-dir

Add a directory path to the active project workspace.

Antigravity CLIworkspace-management0
61/agents

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

Antigravity CLIsubagents0
62/changelog

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

Antigravity CLIutility0
63/config

Open the interactive configuration panel to adjust agent behaviors and CLI parameters. Alias: /settings.

Antigravity CLIconfiguration0
64/context

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

Antigravity CLIcontext-management0
65/diff

Display the current git diff of files modified by the agent in this session.

Antigravity CLIutility0
66/keybindings

Configure or review keyboard shortcuts mapped to interactive TUI operations.

Antigravity CLIconfiguration0
67/mcp

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

Antigravity CLIutility0
68/model

Change the default Gemini model used for the active reasoning conversation.

Antigravity CLIconfiguration0
69/open

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

Antigravity CLIutility0
70/permissions

Manage fine-grained command and directory read/write authorization rules.

Antigravity CLIconfiguration0
71/planning

Open the interactive task board and execution step planner dashboard.

Antigravity CLIplanning0
72/skills

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

Antigravity CLIutility0
73/usage

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

Antigravity CLIutility0
74/agents

Manage agent configurations and monitor background agents running in parallel.

Claude Codeparallel-agents0
75/background

Detach the current session to run as a background agent and free this terminal. Optionally pass a final instruction before detaching.

Claude Codeparallel-agents0
76/batch

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.

Claude Codeparallel-agents0
77/btw

Ask a quick side question without adding it to the main conversation history.

Claude Codecontext-management0
78/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.

Claude Codecode-review0
79/context

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

Claude Codecontext-management0
80/effort

Set the model effort level: low, medium, high, xhigh, max, or ultracode. Takes effect immediately without waiting for the current response.

Claude Codeconfiguration0
81/fork

Spawn a forked subagent that inherits the full conversation and works on a directive while you keep going in the main session.

Claude Codeparallel-agents0
82/hooks

View hook configurations for tool events. Comma-separated matchers like Bash,PowerShell work correctly as of v2.1.191.

Claude Codeconfiguration0
83/init

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

Claude Codesetup0
84/loop

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

Claude Codeautomation0
85/mcp

Manage MCP server connections and OAuth. v2.1.191 adds retries for capability discovery and OAuth token requests.

Claude Codeintegrations0
86/memory

Edit CLAUDE.md memory files, enable or disable auto-memory, and view auto-memory entries.

Claude Codesetup0
87/model

Switch the AI model and save it as your default for new sessions. Adjust effort level with left/right arrows on models that support it.

Claude Codeconfiguration0
88/permissions

Manage allow, ask, and deny rules for tool permissions. Recently-denied approvals persist on close as of v2.1.191.

Claude Codeconfiguration0
89/plan

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

Claude Codeplanning0
90/remote-env

Set or view the default environment for cloud agents spawned from Claude Code sessions.

Claude Codeconfiguration0
91/resume

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

Claude Codesession-management0
92/security-review

Analyze pending branch for security vulnerabilities — injection, auth issues, data exposure, and other OWASP risks.

Claude Codecode-review0
93/skills

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

Claude Codeconfiguration0
94/tasks

View and manage background work in the current session. Stops from the tasks panel are permanent as of v2.1.191.

Claude Codeparallel-agents0
95/ultraplan

Removed research preview: was cloud plan draft with browser inline-comment review, then remote execute or CLI handoff.

Claude Codeplanning0
96/usage

Show session cost, plan usage limits, and activity stats. Includes breakdown by skill, subagent, plugin, and MCP server on paid plans.

Claude Codediagnostics0
97/fast

Toggle the Fast service tier for the current model/thread, or check current state.

Codex CLIconfiguration0
98/goal

Set a persistent task goal (max 4,000 chars). Codex tracks it across turns. Subcommands: pause, resume, clear, view.

Codex CLIplanning0
99/ide

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

Codex CLIcontext-management0
100/mcp

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

Codex CLIintegrations0
← Prev
12
Next →