Ads

Lesson 4 – Claude Code Course for Beginners

A beginner's walkthrough of Claude Code's slash commands, settings, and daily workflow tricks to speed up terminal coding.

⏱ 15min 👁 640 views 📅 February 6, 2026

More from this course

Claude Code Course for Beginners

Lesson 4 of 17

Summary

Sobre o que é o vídeo

This lesson focuses on moving beyond the initial setup and into the practical, everyday usage of Claude Code. It serves as a direct continuation of the beginner course, shifting the focus from installation to efficient workflow integration. The central theme is mastering the environment itself: how to navigate the tool, configure its core behavior, and utilize built-in shortcuts to dramatically accelerate common coding tasks without friction.

The content is structured as a comprehensive walkthrough of the command-line interface. It demystifies the `.claude` project directory, which acts as the control center for customizing how the AI agent operates within a specific repository. By explaining the purpose of slash commands, model selection, and operational modes, the video empowers beginners to take full control of their terminal-based development experience, moving them from being a passive prompter to an active power-user.

O domínio dos slash commands

The core productivity unlock comes from understanding slash commands. The video details several essential commands that form the backbone of daily interaction. The `/clear` command is emphasized as a crucial housekeeping tool, allowing developers to quickly reset the conversation context and free up the processing window to keep responses fast and on-topic. Beyond just resetting context, the video introduces structural commands like `/add-files` and `/init`, which are vital for setting up the initial working boundaries of the agent in a project.

Mastering these commands is presented not merely as memorizing syntax, but as building a reflex for terminal hygiene. The ability to instantly reset the chat history prevents the AI from hallucinating based on old, tangled instructions, while marking specific files ensures that the model focuses its attention on the exact code that requires modification. This section establishes that the keyboard and slash grammar are the primary interface for speed in Claude Code, rather than long-form chats.

Entendendo a pasta .claude

A significant portion of the lesson is dedicated to the hidden `.claude` folder that is generated inside a project directory. This folder is described as the brain of the project-specific agent, housing critical text files that define persistent rules and memory. The video introduces the concept of `CLAUDE.md`, a markdown file that acts as a centralized repository for plain-English coding instructions, preferences, and documentation that stays active across multiple sessions.

Viewers learn that this file eliminates the need to repeat tedious setup instructions every time they open a new terminal. By populating `CLAUDE.md` with strict coding rules, such as "do not nest more than two levels" or "use specific database migration patterns," the developer can ensure consistent behavior from session to session. This transforms Claude Code from a reactive tool into a programmable partner that remembers the specific constraints of a given codebase.

Selecionando o modelo de IA correto

The ability to toggle between different underlying AI models is a critical skill for optimizing both cost and performance. The video demonstrates how to instantly switch between Claude Sonnet, Opus, and other available configurations on the fly. This is not a static setting buried in a JSON config; it is an active choice that developers must make depending on whether they are performing simple string manipulation or heavy architectural logic.

For quick tasks like formatting files or explaining basic functions, the faster, cheaper models are ideal and keep the loop tight. Conversely, when tackling heavy refactoring, system design, or debugging complex race conditions, the lesson advocates explicitly switching to the most powerful reasoning model available. This segment trains beginners to think economically, teaching them to match the complexity of the task with the capability of the model so they do not consume tokens unnecessarily.

Modos de operação e providers

The lesson dissects the different operational modes available, which control the level of autonomy the AI possesses over the file system. It clearly distinguishes between the default chat mode and the agentic mode that can write and execute code automatically. For beginners who are scared of letting the AI run wild, the video explains how to lock the tool into a read-only or suggestion-only state where it cannot break the codebase.

Furthermore, the video touches on the concept of providers, or third-party gateways, revealing that access to Claude Code is not locked solely to Anthropic's direct API. By routing requests through platforms like OpenRouter or Google Vertex AI, developers can gain access to higher rate limits, different privacy policies, or enterprise billing. This flexibility in the authentication layer is a crucial insight for those using the tool in a professional or corporate setting where direct API keys might not be feasible.

Fornecendo contexto e imagens

Context is the currency of AI coding, and this chapter teaches advanced methods for feeding that context beyond just typing text. The instructor demonstrates how to drag and drop files to attach them directly, but the standout feature is the ability to pass visual data. Using screenshots and mockups, the viewer learns how to ask Claude Code to generate a React component based purely on a screenshot of a Figma mockup or to debug a visual rendering error from a shared browser snapshot.

This capability blurs the line between design and development, turning the terminal into a multimodal tool. Additionally, the video shows how piping terminal output, such as error logs or build failures, directly into Claude Code provides an instant analysis. By teaching the user to pipe error messages straight in, the lesson illustrates how to drastically cut down the time spent manually copying and pasting verbose stack traces.

Compact, Rewind e configurações secretas

The final technical segment covers the "bypass" features that make Claude Code feel like a wizard's tool. The `compact` function is highlighted as an essential memory optimization trick, summarizing the current chat history into a dense form to preserve specific insights while clearing out the filler tokens that slow down performance and increase billing. Just as critical is the introduction of the `Double Esc` rewind feature, which serves as a panic button or time machine to instantly revert or interrupt the agent's chain of thought if it starts veering into dangerous territory.

The video closes out with a rapid-fire review of miscellaneous hidden settings and quality-of-life tweaks. These include adjusting the frequency of file permission prompts, managing the model's cost and end-of-conversation behavior, and general configuration parameters that turn a standard coding assistant into a highly personalized terminal companion. The tone is that of a hidden secrets guide, capping off the lesson with the kind of wisdom usually gained only through weeks of active usage.

What you will learn

  • Utilize slash commands to reset context and manage file focus
  • Configure project-specific persistent rules via the CLAUDE.md file
  • Swap between AI models to balance coding speed and cost
  • Pass screenshots and pipe terminal output for multimodal debugging
  • Activate compact mode and the double-escape rewind to control agent flow

Concepts covered

Technologies used

Chapters 10 markers

  1. Introduction
  2. Slash Commands
  3. The .claude Folder
  4. AI Models
  5. Modes
  6. Providing Context and Images
  7. Compact
  8. Rewind Double Esc
  9. Other Features and Settings
  10. Emoji Time

Next suggested video

Reviews

Student rating 0.0
0 reviews
Rate this lesson

Help other students decide if this lesson is useful.

No reviews yet. Be the first to rate this lesson.