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

commands
8
tools
6

/background

parallel-agents

Claude Code

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

backgroundautonomousparalleldetach
view command →

/fork

parallel-agents

Claude Code

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

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

/model

configuration

Claude Code

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.

modelconfigurationeffortspeed
view command →

/remote-env

configuration

Claude Code

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

remotecloudenvironmentmanaged-agents
view command →

/resume

session-management

Claude Code

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

resumesessionshistory
view command →

/tasks

parallel-agents

Claude Code

View and manage everything running in the background in the current session.

tasksbackgroundparallelmonitoring
view command →

/usage

diagnostics

Claude Code

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

usagecostlimitsmonitoring
view command →