Claude Code commands, plugins and hidden features

Anthropic's coding agent. Runs in the terminal, VS Code, JetBrains, the desktop app and the web, and extends with slash commands, plugins, skills and hooks.

Commands

Slash commands and CLI commands

/helpShows help and the commands you can use./clearStarts a new conversation with an empty context; if you give it a name, the previous conversation gets that label./compactSummarizes the conversation to free up context./contextShows context usage as a colored grid and suggests ways to optimize it./autocompactSets when automatic compaction kicks in./configOpens the settings screen, or sets a value directly with key=value./statusShows version, model, account, and connection status on the Status tab of Settings./usageShows session cost, plan usage limits, and activity stats.New 2026-08/costAn alias for /usage./statsOpens /usage on the Stats tab./modelSwitches the model and saves it as your default; the left and right arrow keys also adjust effort./effortAdjusts how hard the model thinks (effort).New 2026-03/fastTurns fast mode on or off./advisorTurns on an advisor that asks another model for advice when things get hard./initCreates a CLAUDE.md file for your project./memoryEdits CLAUDE.md, turns auto memory on or off, and shows what has been recorded./permissionsManages your allow, ask, and deny rules./loginSigns in with your Anthropic account./logoutSigns out of your Anthropic account./doctorDiagnoses and fixes problems with your installation, settings, and CLAUDE.md.New 2026-09/resumeContinues a previous conversation by ID or name, or opens a picker./branchSplits the current conversation at this point so you can try a different direction.New 2026-03/forkCopies the conversation into a new background session.New 2026-07/subtaskStarts a background subagent that inherits the conversation.New 2026-07/rewindRolls the conversation or code back to an earlier point./exportExports the conversation as text./copyCopies the last response to the clipboard; give it N to copy the response from N turns back.New 2026-02/diffShows the changes in your working tree.New 2026-09/btwAsks a side question without adding it to the conversation history./planGoes straight into plan mode.New 2026-01/goalSets a completion condition, and Claude keeps working across multiple turns until it is met.New 2026-05/loopRuns a prompt repeatedly; if you leave out the interval, Claude picks one.New 2026-03/scheduleCreates scheduled tasks that run in the cloud at set times./backgroundDetaches the current session as a background agent.New 2026-05/tasksManages background tasks and finished subagents./list-agentsLists the subagents, teammates, and sessions you can send messages to./agentsWalks you through creating and managing subagents./skillsLists the skills you can use; press t to sort by token count./skill-doctorShows the context cost and usage frequency of each skill.New 2026-09/pluginManages plugins and marketplaces./reload-pluginsApplies plugin changes without a restart.New 2026-03/reload-skillsRe-reads the skills folders without a restart.New 2026-05/mcpManages MCP server connections and OAuth authentication./hooksShows the hooks you have configured./add-dirAdds a folder Claude can access in this session./cdChanges the working folder while keeping the conversation.New 2026-06/ideManages the IDE integration./code-reviewReviews your changes for bugs at the level of depth you choose.New 2026-05/simplifyCleans up the code you changed and applies the fixes./security-reviewAnalyzes the changes on the current branch for security vulnerabilities./ultrareviewHas multiple agents review a PR in depth in the cloud.New 2026-04/autofix-prWatches a PR and fixes CI failures and review comments in the cloud./install-github-appInstalls the Claude GitHub app and the Actions workflow./install-slack-appInstalls the Claude Slack app./batchSplits a large change into 5 to 30 units and processes them in parallel./debugTurns on debug logging and analyzes the problem./verifyActually builds and runs the app to check that your change works./runLaunches and operates the project app so you can see the change working./deep-researchRuns several web searches in parallel, cross-checks the sources, and writes a report./workflowsOpens the dynamic workflow progress screen, where you can pause or resume.New 2026-05/insightsCreates an HTML report analyzing your recent sessions./powerupInteractive lessons that teach features with animated demos.New 2026-04/recapSummarizes the session so far in one line.New 2026-04/focusA focused view that shows only the last prompt, a summary, and the final answer./tuiSwitches to the flicker-free fullscreen renderer.New 2026-04/themeChanges the color theme, including an auto option and themes for color blindness./colorSets the prompt bar color for each session.New 2026-03/statuslineSets up the status line./output-styleShows the list of output styles and switches between them.New 2026-09/keybindingsOpens the keyboard shortcut settings file.New 2026-01/terminal-setupInstalls the Shift+Enter key binding for new lines./sandboxTurns sandbox mode on or off./voiceTurns on voice input (dictation)./chromeSets up Claude in Chrome./claude-in-chromeHas Claude test pages, fill in forms, and check the console in your browser./desktopContinues the current session in the Claude Code desktop app./teleportBrings a cloud session into this terminal.New 2026-01/remote-controlLets you control this session remotely from claude.ai or the app./mobileShows a QR code for installing the mobile app./importImports settings, MCP servers, commands, and skills from other tools./team-onboardingCreates an onboarding guide for teammates from your own usage history.New 2026-04/fewer-permission-promptsAdds commonly used read-only calls to your allowlist./auto-mode-setupReads your project and drafts the environment settings for auto mode.New 2026-10/update-configChanges allow rules, environment variables, and hook settings by asking in plain language./bugReports a bug; it opens the same window as /feedback./feedbackSends feedback; it is the same window as /bug./release-notesShows the changes for each version./renameGives the session a name./exitQuits Claude Code; /quit does the same./designCreates UI mockups, landing pages, and posters on a Claude Design canvas./slidesCreates a presentation as a Claude Slides artifact./artifactsOpens artifacts you made and artifacts shared with you, or attaches them to the session./datavizProvides chart and dashboard design guidance and a color validator.New 2026-07/claude-apiProvides the Claude API and Managed Agents reference and migration workflows./scroll-speedA helper command that adjusts scroll speed./heapdumpA helper command that creates a memory dump./radioA helper command that plays a lo-fi radio./stickersA helper command for ordering stickers./passesA helper command for sharing free weekly passes./privacy-settingsA helper command that opens your privacy settings./usage-creditsA helper command for checking your credits./rate-limit-optionsA helper command that shows your options when you hit a usage limit./restartA helper command that restarts Claude Code after an update./setup-bedrockA helper command that sets up the Amazon Bedrock connection./setup-vertexA helper command that sets up the Google Vertex AI connection./web-setupA helper command that sets up web (cloud) sessions./remote-envA helper command that sets the environment for remote sessions./auto-modeA helper command related to auto mode./vimA command that used to turn on vim editing mode; it has since been removed./pr-commentsA command that used to pull in PR comments; it has since been removed./ultraplanA command that used to build long plans; it has since been removed.

Shortcuts

Keyboard shortcuts and input prefixes

EscStops the response or tool call so you can change direction; the work already done is kept.Esc EscClears your draft if there is input; if the input is empty, opens the rewind menu.Shift+TabCycles through permission modes: Manual, acceptEdits, plan, then auto.Ctrl+RSearches your input history backward.! prefixRuns a shell command directly and puts the result into the conversation.@ file mentionAutocompletes file paths so you can point to a specific file./ prefixOpens the menu of commands and skills.# prefixThe old input style where typing # saved a note straight to memory.?Press it in an empty input box to open the keyboard shortcut help panel.Ctrl+CInterrupts what is running; with empty input, the first press clears and the second press exits.Ctrl+DPress twice to exit.Ctrl+GEdits your prompt in an external editor; Ctrl+X Ctrl+E does the same.Ctrl+OTurns the detailed transcript view on or off.Ctrl+BSends a running command or agent to the background.Ctrl+TShows or hides Claude's to-do checklist.Ctrl+SStashes or restores the text you are typing.Ctrl+VPastes an image from the clipboard; in iTerm2 it is Cmd+V.Ctrl+LRedraws the screen.Option/Alt+PSwitches the model while keeping your prompt.Option/Alt+TTurns extended thinking on or off.Option/Alt+OTurns fast mode on or off.Ctrl+X Ctrl+KStops all background subagents. Press it twice to confirm.Ctrl+EnterSends the messages you queued up right away.←← (agent view)In agent view, sends the current session to the background as an agent.New 2026-05Vim mode keysSupports switching between NORMAL and INSERT, plus vim keys like hjkl, dd, yy and ciw.Fullscreen view keysIn fullscreen, [ opens scrollback history, v opens the editor, and { } jump to the previous or next prompt.New 2026-04

Plugins

Extensions you install

frontend-designBuilds polished frontend UI that avoids the generic AI look.code-reviewAutomatically reviews a PR using several specialized agents and confidence scores.pr-review-toolkitA set of PR review agents by area, such as comments, tests, error handling and type design.code-simplifierCleans up recently changed code and simplifies it without changing behavior.commit-commandsA set of commands for commit, push and creating a PR.feature-devA feature development workflow that uses exploration, design and review agents.playwrightAutomates the browser and runs end-to-end tests through the Microsoft Playwright MCP.githubAn MCP plugin for managing repositories, issues and PRs.gitlabAn MCP plugin for managing GitLab repositories, issues and merge requests.security-guidanceWarns you based on patterns as you edit, and has an LLM review the diff when you finish.claude-securityScans code you wrote for deep vulnerabilities and re-verifies each finding.hookifyMakes it easy to create hook rules from conversation patterns or instructions.claude-md-managementChecks the quality of CLAUDE.md and folds in what was learned during the session.claude-code-setupRecommends hooks, skills, MCP servers and subagents that fit your codebase.skill-creatorCreates and improves skills and measures their performance.plugin-devA set of 7 specialized skills for plugin development.mcp-server-devA guide to designing and building MCP servers.agent-sdk-devA development kit for the Claude Agent SDK.code-modernizationModernizes legacy codebases.ralph-loopImplements the Ralph Wiggum technique of running the same task over and over.playgroundCreates a single-HTML playground with controls and a preview.session-reportTurns session usage into an HTML report.receiptsSummarizes what a task achieved as a report.project-artifactCreates a project status page.explanatory-output-styleAn output style that explains why things were implemented the way they were.learning-output-styleA learning-mode output style that guides you to write the code yourself.math-olympiadSolves competition math problems with adversarial verification.math-proofRefines math proofs with adversarial verification.context7An MCP that looks up up-to-date library documentation.serenaAn MCP that understands and refactors code at the symbol level.firebaseA Firebase MCP integration.terraformA Terraform MCP integration.laravel-boostA Laravel MCP integration.asanaConnects to Asana for issue and project management.linearConnects to Linear for issue and project management.discordA messaging bridge that connects to Discord. It supports access control.telegramA messaging bridge that connects to Telegram. It supports access control.imessageA messaging bridge that connects to iMessage. It supports access control.fakechatA fake chat bridge you can use to try out channel integrations.mcp-tunnelsAn MCP tunnel plugin.cwc-makersA device setup plugin for hackathons.*-lsp (language server plugins)Provides code intelligence through language servers.superpowersA set of skills for brainstorming, subagent-driven development and code review, systematic debugging, and red/green TDD.figmaReads design files and tokens and turns them into code.notionSearches your Notion workspace and works with its documents.slackSearches and connects to your Slack workspace.atlassianConnects to Jira and Confluence issues and documents.vercelA Vercel deployment platform integration.supabaseA Supabase database integration.stripeA Stripe payments integration.netlify-skillsA skill for Netlify deployment integration.cloudflareA Cloudflare platform integration.sentryConnects to Sentry for error monitoring.datadogConnects to Datadog monitoring.grafanaConnects to Grafana monitoring.pagerdutyConnects to PagerDuty incident response.newrelicConnects to New Relic monitoring.chrome-devtools-mcpAnalyzes performance, network and console in a live Chrome.browser-useDoes web tasks in a real Chrome or a cloud browser.coderabbitConnects to the external code review service CodeRabbit.greptileConnects to the external code review service Greptile.semgrepConnects to the static analysis tool Semgrep.sonarqubeConnects to the static analysis tool SonarQube.qodoConnects to the code review tool Qodo.canvaConnects to Canva for design work.adobe-for-creativityConnects to Adobe creative tools.hyperframesTurns HTML into video.learn-with-courseraRecommends Coursera courses that match what you want to learn.save-to-spotifyCreates TTS audio episodes and saves them to Spotify.firecrawlA web crawling and search plugin.tavilyA web search plugin.exaA web search plugin.brightdataA web data collection plugin.huggingface-skillsA set of Hugging Face ML skills.mlflowConnects to MLflow experiment tracking.pineconeConnects to the Pinecone vector database.qdrant-skillsSkills for the Qdrant vector database.mattpocock-skillsMatt Pocock's engineering skills, covering writing specs and tickets, TDD and code review.rememberA continuous memory plugin that summarizes conversations and builds up daily logs.microsoft-docsLooks up official Microsoft documentation.aws-coreWorks with official AWS documentation and services.azureWorks with official Azure documentation and services.alloydbWorks with the Google AlloyDB service.unityHelps with Unity game development.unreal-engine-skills-for-claude-codeSkills that help with Unreal Engine development.expoHelps with Expo mobile app development.build-with-wordpressHelps with WordPress development.claude-plugins-communityA marketplace of third-party plugins that Anthropic automatically validates.Plugin developer portalLets you submit a plugin to the Claude directory and check its review status and usage analytics.New 2026-09awesome-claude-code style listsCurated lists such as awesome-claude-code, ComposioHQ/awesome-claude-skills and rohitg00/awesome-claude-code-toolkit.wshobson/agentsA collection of agents and skills by domain.claudemarketplaces.comA directory site that automatically gathers and lists marketplaces.

Features

Built-in features worth knowing

CLAUDE.mdA project instructions file that is read every session.auto memoryClaude notes your corrections and preferences on its own and uses them in later sessions.Skills (.claude/skills/name/SKILL.md)A bundle of instructions and materials that is invoked automatically when needed or with /name.New 2026-01Subagents (.claude/agents/*.md)Helper agents with their own context, tools and prompt.agent viewShows all sessions (running, waiting, finished) in one list and lets you send tasks in parallel.New 2026-05Background sessions (claude --bg)Runs a session in the background and lets you attach to it later. It has attach, logs and stop subcommands.New 2026-05Dynamic workflow / ultracodeCoordinates dozens to hundreds of agents in the background. Include ultracode in your prompt to start it.New 2026-05auto modeA permission mode where a classifier lets safe actions go ahead without asking for approval.New 2026-09plan modeA mode that only reads and presents a plan first.CheckpointsAutomatically tracks Claude's file edits so you can roll them back.Claude in ChromeControls your real Chrome through an extension.Remote ControlLets you continue controlling your terminal session from your phone or claude.ai.Cloud sessions (--cloud, --teleport)Runs tasks in the cloud and brings them back to your local machine if needed.agent teamsAn experimental feature where multiple agents collaborate.New 2026-02Channels (--channels)Receives external notifications (MCP channels) in your session. This is a research preview.MCPA standard for connecting external tools and data.Plugin modsPlugins that change the UI, such as panels, the status line and toasts.claude importA CLI entry point for importing settings from other tools.

Tips

Things most people find out late

Custom slash commands (.claude/commands)A single markdown file becomes a /name command.Hooks (settings.json)Automatically runs commands on events such as before or after a tool runs.Headless mode (-p)Runs once without a UI and prints only the result.--continue / -cContinues the most recent conversation in the current folder.--resume / -rResumes a session by ID or name.--fork-sessionResumes a session but branches it off under a new session ID.--worktree / -wRuns Claude in an isolated git worktree.Bundled skills (/simplify /loop /batch /debug)Skills that come built in. You can turn them off with the disableBundledSkills setting.claude ultrareviewRuns ultrareview from CI or a script.New 2026-04--bareRuns a lightweight session with automatic discovery of hooks, skills, plugins, MCP and CLAUDE.md turned off.--add-dir / --agents / --advisor / --effort / --nameSets extra folders, subagent JSON definitions, the advisor, effort level and session name at startup.Plan first for big tasksPress Shift+Tab to enter plan mode, review the plan, then run it.Don't drag it out: use /clearUse /clear when the topic changes and /compact when it stays the same.Side questions with /btwLets you ask a question without polluting the context.Find what eats your context with /contextCheck the warnings that MCP or memory has grown too large.Remove unused skills with /skill-doctorDelete skills you do not use to cut wasted context.New 2026-09Parallel work with worktreesWork on two features in the same repository at the same time.