Your course progress0 of 14 chapters
Chapter 15
Glossary and Cheat Sheet
All the terms and commands from the course, in one place. Search for a word, or filter by topic: basics, advanced or CLI commands. Next to each term there's a link to the chapter where it's explained in depth.
34 terms
- Token
- The unit language models measure text in: a small chunk, roughly part of a word. Everything Claude reads and writes is counted in tokens, which drives speed, cost and how much fits in the context window.Chapter 12
- Context window
- Everything Claude "sees" at a given moment: instructions, CLAUDE.md, messages, and every file and output it has read. It's large (hundreds of thousands of tokens, a million on some models) but it fills up, quality drops when it's full, and Claude Code then compacts automatically.Chapter 12
- CLAUDE.md
- A file of standing instructions loaded at the start of every session: the project's purpose, working rules, test commands. Keep it short (under 200 lines) and specific. It guides Claude; it doesn't enforce anything.Chapter 4
- Prompt
- The request you write to Claude. A good prompt follows the golden rule: specificity, context, step by step, and verification.Chapter 4
- Agent
- An AI that doesn't just answer but acts in a loop: read, decide, act, check, until the task is done. Claude Code is an agent.Chapter 1
- Terminal
- A window where you type commands to the computer. On Windows: PowerShell or CMD. On Mac and Linux: Terminal.Chapter 3
- Permission prompt
- The moment Claude stops and asks before editing a file or running a command. Read what it plans to do before approving.Chapter 3
- Commit
- A Git save point of the whole project, with a message describing what changed. You can always go back to it.Chapter 8
- Pull Request (PR)
- A formal proposal on GitHub to merge a branch into main, with a description, the list of changes, and room for review before merging.Chapter 8
- MCPModel Context Protocol
- An open standard for connecting Claude to external tools and data such as Notion, databases and task trackers. Add servers with claude mcp add, and only from sources you trust.Chapter 10
- Sub-agent
- A helper Claude starts for a specific task, with its own context window, instructions and tools. It returns only a summary, keeping the main conversation clean. Define your own in .claude/agents.Chapter 12
- Auto mode
- A permission mode where Claude works without asking, while a separate safety model checks each action in the background and blocks risky ones like force push. It's the starting mode in recent versions. Switch modes with Shift+Tab.Chapter 3
- Prompt caching
- Every message resends the whole conversation, but the server briefly remembers what it already processed and reads the identical beginning from cache at a much lower price. Switching models or compacting mid-task breaks the cache.Chapter 12
- .claudeignore
- A common myth: according to the official docs, this file has no effect. To stop Claude from reading files, use Read rules under deny in .claude/settings.json, e.g. Read(./.env).Chapter 10
- Skill
- A written work recipe: a folder with a SKILL.md file. Only its name and description load up front; the body loads when needed. Claude runs it on its own based on the description, or you run it with /name.Chapter 11
- Hook
- A script that runs automatically at a specific point in Claude's work, e.g. before every command. Unlike CLAUDE.md, it's enforced every time.Chapter 10
- Permission rules
- allow, ask and deny rules in .claude/settings.json that decide what Claude Code allows, asks about, or blocks, in every permission mode. For example deny Bash(git push --force *).Chapter 8
- Worktree
- A separate copy of the project on its own branch, so several sessions can work in parallel without colliding.Chapter 13
- Cloud session
- Claude Code running on an Anthropic virtual machine that pulls your code from GitHub. It keeps going even when your computer is off.Chapter 13
- /compact
- Summarizes the conversation to free space in the context window and continues the same task. You can add what to keep. Best at natural breaks.Chapter 3
- /clear
- Starts a fresh conversation. Files are not deleted. Use it between unrelated tasks.Chapter 3
- /context
- Shows what's taking up space in the context window right now, by category.Chapter 10
- /usage
- Shows usage, costs and plan limits, including the prompt cache line and savings recommendations.Chapter 10
- /rewind
- Goes back to an earlier point in the conversation and files (also Esc twice). Doesn't undo terminal commands or edits you made yourself.Chapter 7
- /init
- Creates a starter CLAUDE.md based on what Claude understands about the project.Chapter 4
- /memory
- Opens your CLAUDE.md files and auto memory for editing.Chapter 10
- /mcp
- Lists MCP servers and their connection status, and lets you sign in to or disable them.Chapter 10
- /code-review
- Reviews the current changes for bugs in a separate agent. Also works with a PR number.Chapter 8
- claude -c
- Continues the most recent conversation in the current folder.Chapter 3
- claude --teleport
- Pulls a cloud session into your terminal, including its branch and conversation. Needs a clean Git state and the same repository.Chapter 13
- claude --chrome
- Starts Claude Code connected to the Chrome extension, so it can test sites in a real browser.Chapter 13
- Shift + Tab
- Cycles permission modes: manual, accept edits, plan and auto.Chapter 3
- @file
- Attaches a file to your prompt, with autocomplete. Saves Claude a search.Chapter 4
- !command
- Runs a terminal command straight from Claude Code, and the output joins the conversation.Chapter 4
Quick cheat sheet: the 10 most important commands
To print or keep next to your computer
claude Start Claude Code in the current folder
claude -c Continue the last conversation
Shift+Tab Switch permission mode
@file Attach a file to the request
!command Run a terminal command inside the conversation
Esc / Esc Esc Stop / go back to an earlier point
/clear A new conversation between tasks
/compact Summarize a long conversation to free up space
/context What's taking up space in the context window
/help All commands