ع
Start Topics Teams Reference What's new Saved
Reference

Look anything up.

A plain-language manual: every AI term, every command you can type, what each Desktop action maps to, and everything Claude can do.

A

C

F

M

P

T

Everything you can type at Claude: the slash commands you use inside a session, and the ones you start it with from a terminal. You never need these on Desktop — check the Actions tab for the click-it-instead version.

Inside a session

/clear

Wipe the conversation and start with a clean context window.

example/clear

Type it in the chat — the same in Claude Desktop and the terminal. Use it between unrelated tasks: it frees up the context window so old, irrelevant back-and-forth doesn't crowd out what matters now. On Desktop, simply starting a new chat does the same thing.

Part ofRunning a session well

/compact

Summarize the conversation so far to free up room — keeping the gist.

example/compact

Type it in the chat — works the same in Claude Desktop and the terminal. Like /clear, but it keeps a summary instead of forgetting everything. Reach for it in a long session that's getting forgetful but isn't finished.

Part ofRunning a session well

/init

Have Claude study your project and write a CLAUDE.md for it.

example/init

CLAUDE.md is a notes file Claude reads at the start of every session — your project's conventions and context. /init writes a first draft you can then edit. The command works the same in Claude Desktop and the terminal; on Desktop you can also just ask in the chat ("set up a CLAUDE.md for this project") and edit the result in the file pane.

Part ofCLAUDE.md and memory

/model

Switch which Claude model is doing the work.

example/model

Type it in the chat — works the same in Claude Desktop and the terminal. On Desktop there's also a model picker in the chat, so you can switch with a click. Pick a bigger model for hard problems, a faster one for simple edits; see model in the glossary for what that trade-off means.

Part ofChoosing a model

/help

List the slash commands available in your session.

example/help

When you forget what's available, this is the menu. Type it in the chat — the same in Claude Desktop and the terminal. A good first command to try. (Typing just / in the chat shows the same list as a pop-up menu.)

Part ofSlash commands

/review

Have Claude review a pull request or your pending changes.

example/review

A second set of eyes before you merge — it reads the diff and calls out bugs, risks, and rough edges. Type it in the chat in Claude Desktop or the terminal. It reviews code, so it's mainly for people whose work involves editing code (a developer-facing, Power-Track-leaning use).

Part ofReviewing AI-written work

/agents

Create and manage subagents — specialized helpers for focused jobs.

example/agents

A subagent works in its own context window, so you can hand off a focused task ("review this for security") without cluttering the main conversation. This command manages subagent definitions — a more advanced, Power-Track step. In everyday use (including Claude Desktop) you don't need it: just ask in plain language and Claude spins up a subagent on its own. See agent in the glossary.

Part ofSubagents

/memory

Open your CLAUDE.md memory files to add lasting instructions.

example/memory

Anything you put here, Claude reads every session — your conventions, preferences, and project facts. It's how Claude remembers across restarts; /init writes you a first one. In Claude Desktop you can edit the same CLAUDE.md file directly in the file pane, no command needed.

Part ofCLAUDE.md and memory

/mcp

View and manage the MCP servers connected to this session.

example/mcp

MCP servers are the extra tools and data sources Claude can reach — a calendar, a database, a design tool. In Claude Desktop, you add and manage these visually as connectors in Settings (click to approve); /mcp is the chat/terminal way to view what's connected. See MCP in the glossary.

Part ofConnecting Claude to your other tools

/config

Open Claude Code settings — theme, model, permissions, and more.

example/config

The control panel for how Claude Code behaves — most preferences live here. In Claude Desktop you reach the same settings through the app's Settings screen (point and click) rather than typing /config; the command is the terminal way in.

Part ofWhat Claude Code is (and how to start)

/cost

Show how many tokens this session has used, and the cost so far.

example/cost

Handy on a long session. Type it in the chat — works the same in Claude Desktop and the terminal. Everything is counted in tokens — see the glossary for what that means.

Part ofWhat AI costs

/login

Sign in, or switch which account Claude Code uses.

example/login

Use it the first time you start in the terminal, or to swap between accounts. In Claude Desktop you sign in through the app's normal sign-in screen — clicking, not typing a command.

Part ofWhat Claude Code is (and how to start)

/status

Show version, account, and your current setup at a glance.

example/status

A quick health check — which model, which account, which working directory. Type it in the chat; works the same in Claude Desktop and the terminal.

Part ofWhat Claude Code is (and how to start)

/vim

Toggle vim-style editing in the input prompt — a Power-Track comfort for terminal users.

example/vim

A Power-Track (terminal) comfort for people with vim muscle memory — modes, h/j/k/l, the works. Toggle it back off the same way. If vim means nothing to you, skip it; it changes nothing about what Claude can do.

Part ofThe app vs the command line

/permissions

See and change what Claude is allowed to do without asking each time.

example/permissions

Opens the allow/ask/deny list. Promote a tool you trust (say, reading files) to allow so you stop getting prompted, or tighten anything you'd rather approve every time. In Claude Desktop, you manage the same thing visually — the approve/decline prompts and the recommended "Ask permissions" mode in the settings — so most Desktop users never type this command.

Part ofPermissions, plan mode, and staying in control

/doctor

Run a health check on your Claude Code install, version, and config to find what's wrong.

example/doctor

Inspects your install, version, and config and points at what's wrong — the first thing to try when the terminal Claude Code is misbehaving, before reinstalling anything. It's mainly for the Power-Track (CLI) install; the Claude Desktop app maintains itself like any other app, so you rarely need it there.

Part ofWhat Claude Code is (and how to start)

/terminal-setup

Teach your terminal the shortcut for a newline (Shift+Enter) — a Power-Track setup step.

example/terminal-setup

A Power-Track (terminal) convenience: run it once and afterwards Shift+Enter adds a line break instead of sending, so you can write multi-line prompts without firing them off early. Claude Desktop already supports multi-line input in the chat box, so this command is only for terminal users.

Part ofThe app vs the command line

/export

Save the current conversation to a file or your clipboard.

example/export

Handy for keeping a record, sharing a session with a teammate, or pasting the whole exchange somewhere else. Type it in the chat — works the same in Claude Desktop and the terminal. You choose where it goes.

Part ofRunning a session well

/bug

Report a problem with Claude Code to Anthropic, with context attached.

example/bug

Files feedback straight from your session so the team can see what went wrong. Type it in the chat — works the same in Claude Desktop and the terminal. Use it when Claude Code itself misbehaves — not for asking Claude to fix your code.

Part ofWhat Claude Code is (and how to start)

/logout

Sign out of your Anthropic account in Claude Code.

example/logout

The pair to /login. Reach for it on a shared machine, or when you need to switch to a different account. In Claude Desktop you sign out from the app menu — no command to type.

Part ofWhat Claude Code is (and how to start)

/add-dir

Give Claude access to another folder beyond the one you started in.

example/add-dir ../design-assets

By default Claude works in the folder you started in. Add a sibling directory when a task spans two projects — say, code in one folder and assets in another. Type it in the chat (the same in Claude Desktop or the terminal); on Desktop you can also open another folder from the app.

Part ofContext and the context window

/pr-comments

Pull the review comments from a GitHub pull request into the session.

example/pr-comments

A developer-facing, Power-Track-leaning command. It lets Claude read what reviewers asked for and work through the changes with you. Needs the gh GitHub CLI set up, and assumes you work with pull requests — so it's for coders, not the everyday Claude Desktop chat. Pairs naturally with /review.

Part ofReviewing AI-written work

/output-style

Change how Claude talks back — its tone and level of detail.

example/output-style

Switch between styles (for example a terser, more explanatory, or learning-focused voice) so the replies match how you like to work. A setting, not a one-off. Type it in the chat — works the same in Claude Desktop and the terminal.

Part ofSlash commands

/hooks

Set up commands that run automatically at certain moments.

example/hooks

A Power-Track feature. Hooks are shell commands the harness fires on events — say, formatting your code every time Claude saves a file — so they're aimed at technical users and team setup, not the everyday Claude Desktop chat. Use them to make a behaviour automatic instead of asking each time.

Part ofHooks, schedules, and loops

/loop

Run a prompt or slash command on a repeating interval until you stop it.

example/loop 5m /review

Give it an interval (5m, 1h) and a prompt or command, and Claude keeps re-running it on that cadence — checking a deploy, refreshing a report, watching a build. Stop it at any time; omit the interval and Claude self-paces. Type it in the chat (the same in Claude Desktop or the terminal). In Desktop you can also just say what you want repeated in plain language.

Part ofHooks, schedules, and loops

/schedule

Schedule a cloud agent to run once or on a recurring cron — even when you're not around.

example/schedule

Create, list, or cancel scheduled agents. The agent runs in the cloud on the clock you set — "every weekday at 8am" or "once tomorrow at 3pm" — and leaves you the result; unlike /loop, scheduled agents outlive your current session. This is the Power-Track (terminal) way to schedule; in Claude Desktop you can simply ask in plain language ("every Monday at 9am, draft the team update") with no cron syntax.

Part ofHooks, schedules, and loops

/effort

Set how hard Claude thinks before it answers — low for quick edits, high for tricky problems.

example/effort xhigh

Type it in the chat — works the same in Claude Desktop and the terminal. Levels are low, normal, high, and xhigh. Higher effort means longer reasoning before Claude acts — worth it for a subtle bug or a design with real trade-offs, slower for trivial edits. Claude Opus 4.8 defaults to high; other models default to normal. (In the Claude chat app, the same idea is the Extended Thinking toggle.)

Part ofHow hard Claude thinks

/fast

Toggle fast mode — trades a bit of cost for roughly 2.5× the response speed.

example/fast

Type it in the chat — works the same in Claude Desktop and the terminal. Toggles on and off; use it when you're iterating quickly and waiting is the bottleneck. It doesn't change how carefully Claude thinks — just how quickly it responds. Available on Claude Opus 4.8.

Part ofHow hard Claude thinks

! <command>

Run a shell command from inside the chat and see the output land directly in the conversation.

example! git log --oneline -5

A Power-Track trick: the ! prefix passes the line straight to your shell. Handy for checking a git log, running a test, or triggering a login (! gcloud auth login) without leaving the Claude session; the output appears inline so Claude can see it too. It assumes you're comfortable with shell commands, so it's aimed at terminal users rather than the everyday Desktop chat.

Part ofThe app vs the command line

/goal

Set a lasting goal and let Claude keep working and re-checking until it's met.

example/goal all tests pass and the linter is clean

Give Claude a condition to hold to — /goal the build stays green — and it keeps the session pointed at that goal, re-checking after each change instead of stopping at the first reply. Type it in the chat; works the same in Claude Desktop and the terminal. Pairs naturally with /loop (run on a cadence) and /schedule (run later, remotely).

Part ofHooks, schedules, and loops

/workflows

View, manage, and resume the multi-agent workflows running in your session.

example/workflows

An advanced, Power-Track-leaning command. It opens the live view of any Workflows you've started — the scripted fan-outs where Claude orchestrates many subagents at once — so you can watch progress, see each agent's group, and resume a workflow within the same session. Starting a workflow is as simple as asking in plain language (which works in Claude Desktop too); this management view is for the heavier, technical end of that. See the Workflows & agent teams capability for what they are.

Part ofAgent teams and parallel work

/autofix-pr

Let Claude watch your open pull request in the cloud and push fixes until it's green.

example/autofix-pr

A developer-facing, Power-Track-leaning command. Run it from a branch with an open pull request and Claude takes over the PR in the cloud — resolving CI failures and review comments, pushing fixes, and keeping the PR green while you do something else. It won't push to protected branches like main by default, and it won't merge for you. If your work doesn't involve pull requests, you won't need it; the everyday Claude Desktop features are what matter most.

Part ofReviewing AI-written work

Starting Claude

claude

Start Claude Code in your current folder (the terminal / Power-Track way in).

exampleclaude

This is the Power Track front door — the terminal version of Claude Code. Most people don't need it: in Claude Desktop you just open the app, open your folder, and start chatting, no command required. Reach for claude if you prefer a terminal (or you're on a Linux distribution the Desktop beta doesn't cover). Run it from inside a project directory and an interactive session opens; everything else — asking, editing, running commands — happens from there.

Part ofWhat Claude Code is (and how to start)

claude -c

Pick up your most recent conversation right where you left off.

exampleclaude -c

A Power-Track (terminal) command — --continue is the long form. Use it when you closed the terminal and want the same context back. In Claude Desktop, you don't need it: your recent conversations are listed in the sidebar, so you just click the one you want to resume.

Part ofRunning a session well

claude -p

Run one prompt without the chat UI and print the answer — a Power-Track tool for scripts and pipes.

exampleclaude -p "summarize this repo"

A Power-Track (terminal) command for automation — --print is the long form. Because it reads input and writes plain output, you can pipe Claude into other commands (e.g. send a log file in and ask what failed). This is genuinely terminal-only: there's no Desktop equivalent, because the whole point is scripting without a chat window. A non-technical Desktop user won't need it.

Part ofThe app vs the command line

claude -r

Reopen an earlier conversation from a list of your recent sessions.

exampleclaude -r

A Power-Track (terminal) command — --resume is the long form. Unlike claude -c, which jumps straight into the most recent chat, this lets you pick which past session to return to. In Claude Desktop you don't need it: every past conversation is in the sidebar, ready to click.

Part ofRunning a session well

claude update

Update Claude Code to the latest version.

exampleclaude update

A Power-Track (terminal) command for the CLI install. Run it now and then to stay current; claude doctor is its companion, checking your installation and flagging problems. Claude Desktop updates itself like any other app — you don't run this there.

Part ofWhat Claude Code is (and how to start)

claude --dangerously-skip-permissions

Start Claude without any permission prompts — a Power-Track flag for fully automated CI and scripts.

exampleclaude --dangerously-skip-permissions -p "run the test suite and fix any failures"

An advanced Power-Track (terminal) flag. All tool calls execute without asking — intended only for headless automation where there's no human in the loop. The flag name is intentionally alarming: use it only in sandboxed or disposable environments, never on a machine with sensitive files or credentials. Desktop users should ignore this — the right Desktop setting is the recommended "Ask permissions" mode, which keeps a human approving risky actions.

Part ofPermissions, plan mode, and staying in control

claude --allowedTools

Restrict which tools Claude can use for this run — a Power-Track flag for scoped automation.

exampleclaude --allowedTools "Read,Write,Bash" -p "refactor this file"

A Power-Track (terminal) flag. Accepts a comma-separated list of tool names; the inverse, --disallowedTools, blocks specific tools instead. Both are for scripted or CI use where you want a tighter permission surface than the interactive defaults. On Claude Desktop, you control the same thing through the permission prompts and the "Ask permissions" mode — no flags to type.

Part ofPermissions, plan mode, and staying in control

Everything you do by clicking on Desktop has a command-line twin in the Power Track. You never need the right column — it's here for the curious.

What you wantOn Desktop (no code)Command line (Power Track)
Open a folder to work inDrag it onto Claude, or File → Opencd ~/folder
Ask Claude to do somethingType it in the chat, in plain wordsclaude "organize this folder"
Review proposed changesRead the visual diff in the preview paneclaude diff
Approve a changeClick Accept on the permission promptclaude accept
Undo the last changeClick Undo — originals are keptgit restore .
Start a new task cleanlyOpen a new chat, or clear the current one/clear
Give Claude more contextDrag extra files into the chat/add-dir ../assets