The official reference is command-centered now
The Commands page documents built-ins like /clear and /compact alongside bundled skills like /run, /verify, and /simplify.
🔒 Browser-side processing
A fast Claude Code reference for commands, skills, MCP, hooks, run/verify, code review, and background agents.
Overview
Claude Code now documents built-in commands and bundled skills in one command system. This page puts the “what do I type now,” “where do I extend it,” and “when do I move work into the background” answers first.
Recently Checked
The Commands page documents built-ins like /clear and /compact alongside bundled skills like /run, /verify, and /simplify.
/run, /verify, and /run-skill-generator standardize launching, driving, and observing an app instead of relying only on tests.
.claude/commands/deploy.md still works, but .claude/skills/deploy/SKILL.md is the more capable structure for new workflows.
/agents opens the manager, /tasks lists background work, /background detaches the current session, and /batch decomposes large changes.
MCP prompts run as /mcp__server__prompt, while hooks run automatically on session, turn, and tool-call events.
Command Reference
Filter by command, purpose, or category when you need the exact thing to type.
/clearSessionUse this when the old context is no longer useful. The previous thread remains available through /resume.
/compact [instructions]SessionKeep going in the same task while freeing context. Optional instructions can steer what the summary preserves.
/contextSessionUse this before compacting to see which parts of the conversation and project state are consuming context.
/btw / /sideSessionUseful for small checks or related questions that should not become part of the main work history.
/resume [session]SessionChoose by session ID, name, or picker. Alias: /continue.
/rewindSessionRestore a previous conversation or code checkpoint. Aliases include /checkpoint and /undo.
/usageSession/cost and /stats are aliases into the usage view.
/configSetupThe main entry point for theme, model, output style, and other interactive preferences.
/effortSetupBalance speed and depth by changing effort on models that support it.
/model [model]SetupOpen the model picker or pass a model name. Supported models also expose effort controls.
/permissionsSetupAdjust allow, ask, and deny rules for reads, writes, Bash, and MCP tools. Alias: /allowed-tools.
/doctorSetupThe first health check to run when your Claude Code environment feels off.
/init / /memorySetup/init drafts CLAUDE.md. /memory manages memory files and auto-memory entries.
/review [PR]WorkflowAsk Claude Code to inspect changes from a reviewer’s perspective inside the current session.
/code-review / /ultrareviewWorkflowThe official docs prefer /code-review ultra for deep cloud review, with /ultrareview retained as an alias.
/security-reviewWorkflowLooks for risks like injection, auth problems, and data exposure in current branch changes.
/simplifyWorkflowA bundled skill for reviewing recent files and applying quality, simplicity, and efficiency improvements.
/diffWorkflowReview the full git diff and the changes made across recent Claude turns.
/run / /verifyWorkflow/run drives the running app, while /verify builds, launches, and observes whether a code change works.
/run-skill-generatorWorkflowUse it when standard project inference is not enough and the app needs env files, services, or custom launch steps.
/loop [interval] [prompt]WorkflowUseful for waiting on deployment, polling state, or running a recurring check. Alias: /proactive.
/schedule / /routinesWorkflowDescribe a recurring routine and Claude walks through creating, updating, listing, or running it.
/agents / /tasks / /backgroundWorkflowOpen the agent manager, inspect background tasks, or detach the current session so it keeps running.
/batch <instruction>WorkflowA bundled skill that researches the codebase, decomposes work, then uses isolated worktree agents after approval.
/skills / /skill-nameExtendPersonal skills live in ~/.claude/skills/. Project skills live in .claude/skills/. Legacy .claude/commands/ files still work, but skills are the more capable structure for new workflows.
/plugin / /reload-pluginsExtendPlugins distribute skills, hooks, MCP servers, and other extensions. Use /reload-plugins after plugin changes.
/reload-skillsExtendUse this when a newly added or edited skill has not appeared in command discovery yet.
/mcp / /mcp__server__promptExtend/mcp handles connection status and OAuth. Server prompts run like /mcp__github__pr_review 456.
/hooksExtendReview hooks for events like PreToolUse, UserPromptSubmit, and SessionStart.
No commands found. Try another keyword or the All filter.
Practical Routines
Run /init for CLAUDE.md, check access with /permissions, then turn launch steps into a skill with /run-skill-generator.
Use /context and /diff to inspect state, /compact if the direction is right, or /rewind if the path is wrong.
Run /code-review for deep review, add /security-review for auth, permissions, or input-handling changes, and use /simplify for quality cleanup.
Use /batch or /agents for large parallel work, /schedule for recurring checks, MCP for integrations, and hooks for hard guardrails.
Official Sources
Built-in commands, bundled skills, MCP prompt commands, and background work commands.
Skill locations, SKILL.md structure, and how legacy .claude/commands/ files fit in.
MCP server setup, prompt command execution, and managed MCP configuration.
Hook events, configuration schema, inputs, outputs, and blocking behavior.