Resources · Free

Free resource

Claude Code commands: the cheat sheet.

Every built-in command, skill, and workflow — what it does and when to reach for it.

Download the PDF → Free to read below. Source: official docs.

Compiled 2026-07-03 against v2.1.199+. Claude Code moves fast — check the official docs for anything added since.

01

Session Management

/clearStart fresh conversation, keep project memoryUse when switching to a new task
/compactSummarize conversation to free contextUse when context gets long mid-task
/resumeReturn to a previous conversationPick up where you left off
/branchFork conversation to try a different directionExperiment without losing your thread
/rewindRoll back conversation and code to a checkpointUndo a wrong direction
/contextVisualize what's filling your context windowDiagnose slow/expensive sessions
/btwAsk a side question without adding to historyQuick lookups that don't belong in the task
/renameName the current sessionEasier to find in /resume later
/exportExport conversation as plain text or to clipboardSave a session's output for reuse
/copyCopy last response or a specific code blockGrab generated code without scrolling
02

Model & Performance

/modelSwitch AI model (Opus, Sonnet, Haiku)Use Sonnet for most work; Opus for complex reasoning
/effortSet reasoning depth: low → medium → high → xhigh → maxHigher effort = slower but better on hard problems
/fastToggle fast mode (Opus with faster output)Speed up long tasks without switching models
/advisorEnable a second model to consult at key momentsBuilt-in second opinion on critical decisions
/usageShow session cost, token use, and plan limitsCheck spend before it surprises you. Alias: /cost
/planEnter plan mode before a large changeClaude proposes, you approve before any code runs
/goalSet a condition — Claude works until it's metLong-running autonomous tasks
03

Code Review & Quality

/code-review SKILL skillReview current diff for bugs and cleanupsRun before every commit. Add --fix to auto-apply
/code-review ultra SKILL skillDeep multi-agent cloud reviewBefore major PRs or launches
/reviewReview a GitHub PR by numberRead-only review of open PRs
/security-reviewScan changes for security vulnerabilitiesAuth, injection, data exposure risks
/simplify SKILL skillClean up code — reuse, simplification, efficiencyAfter a feature works; polish before shipping
/diffInteractive diff viewer — uncommitted changes + per-turnSee exactly what changed before committing
04

Parallel Work & Background

/backgroundDetach session to run as background agentFree your terminal while Claude keeps working
/forkSpawn subagent with full conversation contextDelegate a side task while you keep going
/batch SKILL skillDecompose large codebase changes into parallel unitsMigrate, refactor, or rename across an entire repo
/tasksView and manage everything running in backgroundMonitor parallel agents and background sessions
/workflowsWatch, pause, or resume running workflowsTrack multi-agent workflow progress
/deep-research WORKFLOW workflowFan-out web research, cross-check, synthesize reportMarket research, competitor analysis, technical deep dives
05

Setup & Project Config

/initGenerate a starter CLAUDE.md for your projectRun first in any new repo
/memoryEdit CLAUDE.md memory files and auto-memoryTune what Claude remembers across sessions
/mcpManage MCP server connectionsConnect Gmail, Notion, Stripe, and other services
/permissionsSet allow/ask/deny rules for toolsControl what Claude can do without asking
/hooksView hook configurations for tool eventsSee what runs before/after Claude's actions
/install-github-appInstall Claude GitHub App + configure ActionsEnable Claude to review PRs automatically
/install-slack-appInstall Claude Slack integrationUse Claude from Slack channels
/add-dirGrant Claude file access to another directoryWorking across multiple repos in one session
06

Skills & Extensions

/skillsList all available skillsSee every custom command in your project
/pluginInstall, enable, or disable pluginsAdd new capabilities from the plugin registry
/reload-skillsReload skills added during the sessionNo restart needed after creating a new skill
/reload-pluginsReload plugins without restartingApply plugin changes immediately
/loop SKILL skillRun a prompt on a schedule while session is openMonitor, check-in, or repeat a task at intervals
/scheduleCreate cloud-hosted routines that run on a scheduleBriefings, reports, or checks that run without you
/autofix-prCloud agent watches PR and pushes fixes automaticallyCI failures and reviewer comments fixed without you
07

Run & Ship

/run SKILL skillLaunch your app to see a change working liveVerify features in the real app, not just tests
/verify SKILL skillConfirm a change does what it should, end-to-endBuild + run + observe result automatically
/run-skill-generator SKILL skillTeach /run and /verify how to build your projectOne-time setup so future runs work automatically
/ultraplanDraft a plan in browser, then execute remotelyLarge cross-codebase changes with a plan gate
/sandboxToggle sandbox mode (no real-world side effects)Safe experimentation in isolated environment
08

Account & Settings

/loginSign in to your Anthropic account
/logoutSign out
/statusShow version, model, account, and connectivityQuick health check
/configAdjust theme, model, output style, and preferences/config theme=dark · /config model=sonnet
/doctorDiagnose installation and settings issuesPress f to have Claude fix reported issues
/release-notesView changelog and version historySee what's new after an update
/feedbackSubmit feedback or report a bug with session contextAliases: /bug, /share
/team-onboardingGenerate onboarding guide from your session historyGet a teammate set up fast
Every week

One workflow.
Every Monday.

One AI workflow, one real use case, one thing you can run today. Free.

Start Your Upgrade →