claude code


Here are 26 Claude Code shortcuts: (That most users don't know exist)

SESSION CONTROL

/clear - Wipes context and starts clean. /rename [name] - Renames the session. /rewind - Rolls back to an earlier checkpoint. /resume [session] - Reopens it by ID or name. Leave it blank and Claude auto-generates one. /export [filename] - Saves conversation as plain text. /branch [name] - Forks the conversation to a new path.

MODEL & USAGE

/extra-usage - Unlocks extended usage when limits hit. /model [model] - Switches to Sonnet, Opus, or Haiku. /cost - Shows token usage for the current session. /usage - Shows plan limits and rate-limit status.

PROJECT SETUP

/init - Builds a CLAUDE.md guide on first run. /add-dir <path> - Adds a directory for file access. /config - Opens settings for model, style, preferences. /memory - Edits CLAUDE.md and controls auto-memory.

CODE OPERATIONS

/permissions - Sets allow, ask, and deny rules per tool. /diff - Opens a diff viewer for uncommitted changes. /security-review - Scans changes for vulnerabilities. /plan [description] - Claude proposes before acting.

AGENT LAYER

/agents - Manages agent and sub-agent configurations. /compact [instructions] - Compresses the conversation. /mcp - Manages MCP server connections and OAuth. /reload-plugins - Reloads plugins without restarting. /skills - Lists all skills, built-in and custom. /plugin - Manages Claude Code plugins.

INTERFACE

/theme - Switches between light, dark, accessible. /color [color] - Sets prompt bar color for the session.

This is Claude Code, not Claude Chat or Cowork.


Original: https://www.linkedin.com/feed/update/urn:li:activity:7461354772504326144