Lesson 5 of 13
Track 03 · Claude Code
Claude Code 101
By the end of this lesson you will be able to install and navigate Claude Code to autonomously edit and manage your codebase from your terminal.
Setup is simple: install the tool globally via npm and launch it by typing claude. Inside, you can use hooks, deterministic scripts in your settings file that trigger before or after Claude takes an action; sub-agents that run in isolated context windows for focused tasks; and slash commands (now managed as reusable skills) to streamline daily workflows.
Worked example: an auto-formatting hook. Configure a post-tool-use hook in settings.json so that every time Claude finishes editing a file, a script like Prettier runs automatically to format the code.
Practice task: install Claude Code via npm, open a local repository, use /agents to create a custom sub-agent, and have it summarize the repository's structure without filling up your main context window.