| # | Command | Tool | Category | Tool |
|---|---|---|---|---|
| 1 | /background Detach the current session to run as a background agent and free this terminal. Optionally pass a final instruction before detaching. | Claude Code | parallel-agents | Claude Code |
| 2 | /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 Code | session-management | Claude Code |
| 3 | /fork Spawn a forked subagent that inherits the full conversation and works on a directive while you keep going in the main session. | Claude Code | parallel-agents | Claude Code |
| 4 | /loop Run a prompt repeatedly on a schedule while the session stays open. Omit the interval and Claude self-paces between iterations. | Claude Code | automation | Claude Code |
| 5 | /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 Code | configuration | Claude Code |
| 6 | /remote-env Set or view the default environment for cloud agents spawned from Claude Code sessions. | Claude Code | configuration | Claude Code |
| 7 | /resume Resume a previous conversation by ID or name, or open the session picker. | Claude Code | session-management | Claude Code |
| 8 | /stop Stop the attached background session while keeping its transcript and git worktree. | Claude Code | parallel-agents | Claude Code |
| 9 | /tasks View and manage background work in the current session. Stops from the tasks panel are permanent as of v2.1.191. | Claude Code | parallel-agents | Claude Code |
| 10 | /usage Show session cost, plan usage limits, and activity stats. Includes breakdown by skill, subagent, plugin, and MCP server on paid plans. | Claude Code | diagnostics | Claude Code |