| Command | What it does |
|---|---|
/clear | Wipes the conversation, starts fresh |
/compact | Summarizes history to free up context |
/model | Switches between Claude models |
/cost | Shows token usage and session cost |
/agents | Lists and manages available subagents |
/init | Scans the project, writes a CLAUDE.md |
/rewind | Rolls files back to an earlier checkpoint |
--resume | Reopens a previous session with full history |
Toggle Plan Mode with Shift+Tab. Claude proposes a step-by-step plan and waits for approval before touching a file. Every accepted edit becomes a checkpoint you can undo with /rewind.
Save a markdown file in .claude/commands/ (or ~/.claude/commands/ for global) and the filename becomes a slash command. Use $ARGUMENTS to accept input:
# .claude/commands/fix-issue.md
Find and fix issue #$ARGUMENTS in this repo.
/fix-issue 482 runs it against issue #482.
A folder in .claude/skills/ bundling instructions with scripts or reference files. Claude loads the right one automatically when a task matches — a step up from a single-prompt custom command.
Hooks: run your own shell commands at points in the workflow — auto-format after an edit, block a risky git push.
MCP: connects Claude Code to outside tools — Slack, a database, your CRM.
/clear between unrelated tasks, /compact when a session drags, Plan Mode before anything risky, one or two custom commands or Skills for your most repeated task. That covers most of the daily value.
AI Automation Agency is a full paid module — which automations clients pay for, what to charge, how to land client #1 — built with this exact workflow.
Get my plan →