Learn Claude Code Commands
Every command Claude Code takes, in the order you will need them. These 17 lessons cover the slash commands you type inside a chat and the claude commands you type in a shell. Then come the flags that change one launch. You will learn to sign in, update, name and find a chat, and run work in the background. You will also review changes, set a project up, and shape what a script gets back. It stops at the commands. What each setting and rule means is a separate subject.
Not started
0 of 17 lessons done
Level 1 · Get started
score0180/26 wordsThe two kinds of command. Then how to install and update, run a checkup, and sign in.
- Slash Commands and the CLIThe two kinds of Claude Code command. What a slash command does inside a chat, what a CLI command does in your shell, and how to find them all.9 min6 terms
- Install, Update and DoctorHow Claude Code gets new versions, and how to pin one. Then the checkups to run when it misbehaves, from claude doctor to safe mode and a bug report.12 min9 terms
- Claude Code Login CommandsHow to sign in from a session or from your shell, and make a token for a CI job. Then the commands that show your account, plan, usage and costs.11 min11 terms
Level 2 · Inside a conversation
score18360/23 wordsHow to name, find and split a chat. What fills it, how to get answers out, and how to steer the work.
- Resume, Branch and RenameThe commands that end, name, find and split a conversation. /clear, /resume, /branch and /rename inside, and --name, --resume and --from-pr at launch.11 min9 terms
- Context, Recap and CopyHow to see what fills the context window, set when it compacts, and ask aside with /btw. Then how to get answers out with /recap, /copy and /export.11 min8 terms
- Models, Goals and FoldersChange how Claude works on a task with /model, /advisor and /goal. Name a fallback model at launch. Reach more folders with /add-dir and /cd.11 min6 terms
Level 3 · Parallel work and review
score36480/20 wordsSend work to the background and manage it from the shell. Then check a change before it ships.
- Background Session CommandsHow to send work to the background and keep your terminal. /background, /fork, /subtask and /stop in a session, and claude attach, logs, rm and daemon outside.13 min12 terms
- Diff and Code ReviewThe commands that check work before it ships. Read changes with /diff, look for bugs with /code-review, and watch the app run with /verify.12 min8 terms
Level 4 · Setup and extensions
score48760/52 wordsSet a project up and change how Claude Code looks. Then manage servers, skills and plugins, from a chat and from the shell.
- Setup and Config CommandsThe commands that set a project up: /init, /import, /config and /permissions. Then three more that write settings files for you when you ask.12 min11 terms
- Theme, View and IDEThe commands that change how Claude Code looks and where it opens. Themes, colors, the fullscreen and focus views, voice and keys, then your editor or the app.11 min11 terms
- MCP, Skills and Hooks MenusThe menus inside a chat for what you add to Claude Code. /mcp for servers, /skills and /skill-doctor, /hooks, the reloads, Chrome, Slack and more.12 min12 terms
- The claude mcp CommandsHow to add, list, sign in to and remove MCP servers from your shell. Which scope each one lands in, and how to load servers for one run only.12 min8 terms
- The claude plugin CommandsHow to add a marketplace and install plugins from your shell. Then how to list and remove them, and the commands to check and test one you make.12 min10 terms
Level 5 · Scripts and servers
score761000/40 wordsShape what a script gets back, and limit the tools and settings of one run. Then change the system prompt, and run Claude Code past one terminal.
- Print Mode Output FlagsHow to shape what claude -p prints for a script: text, JSON or a stream of events. Then a fixed JSON shape, and caps on the turns and dollars of a run.12 min12 terms
- Tool and Settings FlagsThe launch flags that decide which tools a session has and who answers its questions. Also which settings files it reads, for one run only.12 min10 terms
- System Prompt FlagsHow to replace or add to Claude Code's system prompt at launch. Then how to keep it fixed when you resume, and run the main chat as your own agent.11 min8 terms
- Cloud and Server CommandsHow to run Claude Code on more than your laptop. Cloud sessions and /teleport, your own runners, a gateway for your staff, Remote Control and tmux panes.12 min10 terms
Words in this course
The 161 glossary entries this course teaches, in the order it teaches them. Open any of them on its own.
- Prompt (AI)
- Claude Code Slash Command
- Claude Code CLI Command
- /help Command
- /release-notes Command
- --version Flag
- claude install Command
- claude update Command
- /restart Command
- claude doctor Command
- /doctor Command
- --safe-mode Flag
- /debug Command
- /feedback Command
- claude purge Command
- /login Command
- claude auth login Command
- claude auth status Command
- API Key
- claude setup-token Command
- Access Token
- /status Command
- /usage Command
- /insights Command
- /upgrade Command
- /privacy-settings Command
- /clear Command
- /exit Command
- --name Flag
- /rename Command
- /resume Command
- --resume Flag
- --session-id Flag
- /branch Command
- --from-pr Flag
- Context Window
- Token (AI)
- /context Command
- /autocompact Command
- /btw Command
- /recap Command
- /copy Command
- /export Command
- /model Command
- --fallback-model Flag
- /advisor Command
- /goal Command
- /add-dir Command
- /cd Command
- Subagent
- /background Command
- --bg Flag
- /fork Command
- /subtask Command
- /tasks Command
- claude attach Command
- /stop Command
- claude logs Command
- claude respawn Command
- claude rm Command
- claude daemon Command
- /diff Command
- /code-review Command
- /simplify Command
- /security-review Command
- /autofix-pr Command
- /run Command
- /verify Command
- /batch Command
- /init Command
- /import Command
- /config Command
- /permissions Command
- Permission Rule
- Permission Mode
- Auto Mode
- /auto-mode-setup Command
- claude auto-mode Command
- /fewer-permission-prompts Command
- /update-config Command
- /tui Command
- /focus Command
- /theme Command
- /color Command
- /keybindings Command
- /terminal-setup Command
- /voice Command
- /ide Command
- --ide Flag
- --desktop Flag
- --ax-screen-reader Flag
- MCP Server
- /mcp Command
- /hooks Command
- /skills Command
- /skill-doctor Command
- /reload-skills Command
- /reload-plugins Command
- /chrome Command
- /install-slack-app Command
- /workflows Command
- Artifact (AI)
- /artifacts Command
- claude mcp add Command
- claude mcp add-json Command
- claude mcp list Command
- claude mcp login Command
- claude mcp remove Command
- claude mcp serve Command
- --mcp-config Flag
- --strict-mcp-config Flag
- claude plugin marketplace add Command
- claude plugin install Command
- claude plugin list Command
- claude plugin uninstall Command
- claude plugin validate Command
- claude plugin eval Command
- --plugin-dir Flag
- --disable-slash-commands Flag
- --init Flag
- --dangerously-load-development-channels Flag
- --output-format Flag
- --json-schema Flag
- JSON Schema
- --max-turns Flag
- --max-budget-usd Flag
- --no-session-persistence Flag
- --input-format Flag
- --include-partial-messages Flag
- --include-hook-events Flag
- --forward-subagent-text Flag
- --prompt-suggestions Flag
- --verbose Flag
- --tools Flag
- --allowedTools Flag
- --disallowedTools Flag
- --permission-prompts Flag
- --permission-prompt-tool Flag
- --allow-dangerously-skip-permissions Flag
- --settings Flag
- --setting-sources Flag
- --restricted Flag
- --betas Flag
- System Prompt
- --system-prompt Flag
- --append-system-prompt Flag
- --system-prompt-snapshot Flag
- --exclude-dynamic-system-prompt-sections
- --append-subagent-system-prompt Flag
- --agent Flag
- --agents Flag
- claude remote-control Command
- /web-setup Command
- /remote-env Command
- /teleport Command
- claude self-hosted-runner Command
- --environment Flag
- claude gateway Command
- /setup-bedrock Command
- --tmux Flag
- --teammate-mode Flag