daBongo LMS AI Training Courses

Claude Chat, Code, and Cowork – Three Modes, One AI

Lesson 2: What Is Claude Code? – The Agentic AI Assistant

Lesson Objectives

By the end of this lesson, students should be able to:

  • Define what "agentic" means in the context of Claude Code mode
  • Identify the specific capabilities Code mode has that Chat mode does not
  • Explain what CLAUDE.md files are and what they do
  • Describe at least three user scenarios where Code mode provides meaningful value
  • Understand the safety considerations that come with agentic capabilities

Lesson Content

Code mode is not just for developers.

The name "Code" implies software development, and Code mode is genuinely powerful for developers. But the name undersells it. Code mode is more accurately described as Claude's agentic mode – a version of Claude that can take actions on your computer, not just respond to questions about it.

Understanding what "agentic" means is the key to understanding this mode.

What agentic means.

In Chat mode, Claude is a respondent. You ask, Claude answers. The output is text you read and decide what to do with.

In Code mode, Claude is an agent. It can take actions: read a file on your hard drive, write or edit that file, run a terminal command, search the web, spawn sub-agents to work on parallel tasks, and chain these actions together across multiple steps to complete a complex goal. You describe what you want done; Claude figures out how to do it and does it.

This is a fundamentally different relationship with the tool. Chat mode is conversation. Code mode is delegation.

What Code mode can do that Chat mode cannot.

  • Read and write files: With your permission, Code can read documents, spreadsheets, code files, and any other file on your computer directly – without you copying and pasting their contents. It can also create new files and edit existing ones.
  • Run shell commands: Code can execute terminal commands – running scripts, installing packages, moving files, querying databases, checking system status.
  • Use external tools: Through a system called Model Context Protocol (MCP), Code can connect to external services, databases, APIs, and applications configured on your computer.
  • Spawn sub-agents: For large tasks, Code can create multiple parallel agents, each working on a piece of the problem independently, then merge the results.
  • Multi-step task execution: Code can plan a sequence of actions and execute them one by one, checking its own work and adjusting as it goes.

CLAUDE.md – the project memory file.

When you work in Code mode on a specific project or directory, you can create a file called CLAUDE.md in that location. Claude reads this file at the start of every Code session in that directory. It is where you write standing instructions: how this project is structured, conventions to follow, commands that are commonly needed, things Claude should always or never do in this context.

CLAUDE.md is how you teach Code mode about your specific world – so you stop re-explaining the same context every session. We cover CLAUDE.md in full detail in the Persistent Memory course.

Who gets real value from Code mode.

Software developers: The most direct use case. Code can review files in a codebase, write and edit code, run tests, manage git operations, and work through development tasks step by step.

Technical writers and documentation authors: Code can read source files and generate documentation from them directly, maintaining accuracy between code and docs.

Data analysts and researchers: Code can read data files, run analysis scripts, and produce summaries – without requiring the analyst to manually export and paste data.

Power users with complex file workflows: Anyone who works with large numbers of files – organizing, processing, converting, summarizing – can delegate that work to Code mode rather than doing it manually.

Professionals using Claude Code as a daily assistant: With CLAUDE.md set up well, Code mode remembers your preferences, your projects, and your working style across every session. For heavy Claude users, this persistent context is transformative.

The permission model.

Code mode operates with a permission system. When Claude wants to take an action – read a file, run a command, edit something – it tells you what it intends to do and asks for approval. You can approve individual actions, approve all actions of a type for the session, or deny. This permission model is what makes Code mode safe to use even for powerful operations: Claude does not act without your knowledge.

Practical Example

A marketing operations manager is not a software developer, but she manages hundreds of marketing asset files across multiple campaigns.

Every month she spends hours manually renaming files, organizing folders, and checking that assets match a naming convention her team uses.

She opens Code mode, describes the naming convention and the folder structure she wants, and asks Claude to audit the current folder and produce a list of files that do not match.

Claude reads the directory, checks each filename against the rules, and returns a report.

She reviews it and asks Claude to rename the non-compliant files.

Claude shows her exactly what it plans to rename and to what, asks for confirmation, and executes.

What took her three hours now takes fifteen minutes.

No developer skills required – just the willingness to describe the task clearly and review Claude's plan before it executes.

Lesser-Known Tip

When working in Code mode on a complex task, you can ask Claude to enter "plan mode" before it starts acting. In plan mode, Claude tells you everything it intends to do before doing any of it. You can review the plan, adjust it, approve it, and then have Claude execute – rather than approving actions one at a time as they happen. For unfamiliar or high-stakes tasks, plan mode gives you full visibility before anything changes. Activate it by pressing Shift+Tab or by typing "enter plan mode" at the start of your request.

Safety Notes

Code mode's agentic capabilities are powerful and require proportional care. Always review what Claude plans to do before approving actions that modify, delete, or move files. For irreversible actions – permanent deletion, overwriting important files, sending data to external services – add explicit confirmation steps and verify the target files before approving. Do not run Code mode sessions with broad file permissions on directories containing sensitive personal or organizational data unless you specifically intend for Claude to access that content. For organizational use, check your company's policies on AI tools with file system access before using Code mode on work documents.

Practice Task

Open Code mode in the Claude desktop app. Ask Claude to describe what it can do in Code mode and what tools it has available. Then give it a low-stakes task: ask it to create a new text file in a folder you specify, write a brief summary of what Code mode is into that file, and tell you the file path. Review the action Claude proposes before approving. This confirms the permission model is working and gives you hands-on experience with how Code mode handles file operations.

Completion Check

You should be able to explain what "agentic" means in the context of Code mode, describe at least four capabilities Code mode has that Chat mode does not, explain what a CLAUDE.md file does, and describe one real-world scenario outside of software development where Code mode provides meaningful value.

Log in and enroll to access lesson quizzes.

Scroll to Top