Claude Code is Anthropic's agentic coding tool. You describe a task, and Claude reads your code, runs commands and edits files to carry it out, asking for permission according to rules you set. This course teaches you to direct it, configure it for a project, extend it, automate it and, above all, check what it produces.
This lesson explains what the course expects of you, how the exercises work and how you will know whether you have succeeded. It has no exercise; it ends with readiness self-checks.
Who the course is for
The course is for developers who already write, test and commit code. You do not need to have used Claude Code or any other coding agent before. You do need these abilities from the start; the self-checks at the end of this lesson let you test each one:
| Ability | If you are not ready |
|---|---|
| Use a terminal: change folders, run a program with arguments, read its exit status, set an environment variable | The setup lessons give the commands you need, with short explanations; the Linux Foundations course covers the shell fully |
Use Git: status, diff, add, commit, log, branches, restore, revert, reading a merge conflict | Take Git Foundations first: the course relies on Git to review and undo Claude's work |
Read and change a small Python program and run its pytest tests | Study Python first; the course does not teach Python |
| Read and edit JSON and Markdown files | The lessons explain each settings file and front matter block before you need it |
| Know at a user level what a large language model does | The next module recaps what the course needs |
What you need
Paid access to Claude Code. Claude Code is not part of Anthropic's free Claude plan. To do the exercises you need one of:
- a Claude Pro, Max, Team or Enterprise subscription; or
- a Claude Console account with API billing, where you set your own spending limit.
Without one, you can read every lesson and answer the checks, but you cannot do the exercises, and reading is not the same as being able to do them. Plans and prices change; check Anthropic's current plans before you choose.
Usage. Every exercise uses your plan's allowance or your API credit. Each
exercise states what the author's own runs used, as an estimate from Claude
Code itself: small exercises have cost about US$0.04 to US$0.10 each with
the sonnet model alias. Your figures will differ. Subscriptions also have
session and weekly limits; if you reach one, Claude Code tells you when it
resets.
A computer. A 64-bit x64 or ARM64 computer with at least 4 GB of memory and an internet connection, running macOS 13 or later, Ubuntu 20.04 or later, Debian 10 or later, or Windows 10 (version 1809) or later through WSL2, the Windows Subsystem for Linux. Claude Code also runs directly on Windows, but some lessons, such as the sandbox lesson, need macOS, Linux or WSL2. You also need Git and Python 3.12 or later.
The practice repository. Every exercise uses one small, fictional Python project: Tidewell Bike Hire, which quotes prices for bike hires. Everything in it is made up, including a deliberately fake secrets file. You never point Claude Code at real work code in this course. The setup lessons show how to get the repository and check it.
How the course is organised

The course journey: twelve core modules in order, then an optional module.
Read the diagram left to right, row by row. The arrows show the order the modules build on each other:
- Start here and How Claude Code works: installing, signing in, and how Claude works through a task using tools, context and sessions.
- Directing and reviewing changes and Project instructions: getting good work from Claude and checking it, then giving a project lasting instructions.
- Permissions, settings and safety: deciding what Claude may do without asking, keeping secrets out of reach, and the risks of untrusted content.
- Skills and subagents, Hooks and MCP servers: the ways to extend Claude Code, and how to choose between them.
- Scripted runs, Parallel work and Troubleshooting: running Claude Code from scripts with limits, working on several tasks at once, and diagnosing what goes wrong.
- The Final challenge combines these on a fresh copy of the repository. The optional GitHub Actions lesson needs a GitHub account and is not required for any core outcome.
Each lesson has three views: Full Course teaches it, Revision helps you reconstruct the main ideas later, and Quick Reference collects the commands and decisions.
How the exercises work
Success is judged by what you can inspect
Claude's wording, and often its route to a result, differs every time, even for the same request. Two people following the same exercise will see different conversations. So no exercise asks you to match Claude's words. Each one names evidence you can check yourself:
- tests that pass or fail when you run them;
- files and settings that exist and contain what they should;
- exit codes and JSON output from scripted runs;
- the Git history and diff.
Claude saying "done, all tests pass" is a claim, not evidence. You will run the check yourself every time.
Transcripts and output are illustrative
Lessons show text from the author's own runs: Claude's tool calls, command output and diffs. Each is labelled illustrative. Use it to learn what to look for, not to predict exactly what you will see. Timings, wording, costs and the order of steps vary.
Versions matter
Claude Code is updated very often, sometimes several times a week, and some
behaviour changes between versions. The course was tested with Claude Code
2.1.308. When a lesson depends on behaviour introduced in a particular
version, it says so. If what you see differs from a lesson, check your
version with claude --version and look for the change in Claude Code's
changelog before assuming you made a mistake.
Each exercise follows the same shape
Practical exercises state their goal, the starting state, any inputs, where to run each command, what is created or changed, what success looks like, what to do when your result differs, a small task to try on your own, and how to reset or clean up. Exercises run inside the practice repository and use Git so that you can always return to a known state.
Check your readiness
Try each check before reading its answer. If several are hard, follow the "If you are not ready" advice in the table above before you continue.
- Terminal. In a terminal, how do you run
python3 report.pywith an environment variableMODEset tofastfor that one command only, and then see the command's exit status? - Git. You changed two files and want to commit only one of them and throw away the change to the other. Which commands do you use?
- Python and pytest. A test fails with
assert 2000 == 1000intest_first_hour_free. Which value did the code return, and which did the test expect? - JSON. What is wrong with
{"allow": ["Read", "Edit",]}? - Language models. True or false: if a language model's answer is fluent and confident, it is correct.
Answers
- In Bash or Zsh:
MODE=fast python3 report.py, thenecho $?prints the exit status (0 usually means success). In PowerShell, set$env:MODE = "fast"before the command and check$LASTEXITCODE; unlike the Bash form, this setting lasts for the rest of the session. git add <file to keep>andgit commit -m "<message>", thengit restore <file to discard>. Check withgit statusbefore each step.- The left side of a pytest
assert ==is the value the code produced (2000); the right is the expected value (1000), as the test was written. - JSON does not allow a trailing comma after the last item; remove the
comma after
"Edit". Claude Code's settings files are JSON, so this matters. - False. A model can produce fluent, confident text that is wrong. That is why every exercise in this course is checked with evidence you inspect.