<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>What is Claude Code? |</title><link>https://haobin-tan.netlify.app/doc/claude/claude-code-101/00-what-is-claude-code/</link><atom:link href="https://haobin-tan.netlify.app/doc/claude/claude-code-101/00-what-is-claude-code/index.xml" rel="self" type="application/rss+xml"/><description>What is Claude Code?</description><generator>HugoBlox Kit (https://hugoblox.com)</generator><language>en</language><lastBuildDate>Sat, 03 Oct 2026 00:00:00 +0000</lastBuildDate><image><url>https://haobin-tan.netlify.app/media/icon_hu_eee4a95885829ab2.png</url><title>What is Claude Code?</title><link>https://haobin-tan.netlify.app/doc/claude/claude-code-101/00-what-is-claude-code/</link></image><item><title>What is Claude Code?</title><link>https://haobin-tan.netlify.app/doc/claude/claude-code-101/00-what-is-claude-code/what_is_claude_code/</link><pubDate>Sat, 03 Oct 2026 00:00:00 +0000</pubDate><guid>https://haobin-tan.netlify.app/doc/claude/claude-code-101/00-what-is-claude-code/what_is_claude_code/</guid><description>&lt;h2 id="what-separates-claude-code-from-claude"&gt;What Separates Claude Code from Claude?&lt;/h2&gt;
&lt;p&gt;Unlike Claude.ai, Claude Code has &lt;em&gt;direct&lt;/em&gt; access to your files, your terminal, and your entire codebase. Instead of copying and pasting code back and forth, it goes in and does the work itself.&lt;/p&gt;
&lt;p&gt;The key differentiator is that Claude Code works as an &lt;strong&gt;AI Agent&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id="what-is-an-agent"&gt;What is an Agent?&lt;/h2&gt;
&lt;p&gt;An AI Agent is &lt;strong&gt;software that can interact with its environment and perform actions to complete a defined goal&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;At its core, this works by having a large language model operating in a loop in real time. AI Agents can have access to tools, external services, or even other AI Agents to help reach their goal&lt;/p&gt;
&lt;h2 id="what-can-claude-code-do"&gt;What Can Claude Code Do?&lt;/h2&gt;
&lt;details class="spoiler " id="spoiler-0"&gt;
&lt;summary class="cursor-pointer"&gt;Read and understand your codebase.&lt;/summary&gt;
&lt;div class="rounded-lg bg-neutral-50 dark:bg-neutral-800 p-2"&gt;
You can ask Claude Code to explain a feature or trace a bug throughout your code.
&lt;/div&gt;
&lt;/details&gt;
&lt;details class="spoiler " id="spoiler-1"&gt;
&lt;summary class="cursor-pointer"&gt;Edit files across your project.&lt;/summary&gt;
&lt;div class="rounded-lg bg-neutral-50 dark:bg-neutral-800 p-2"&gt;
Claude Code can refactor a function and update every file that references it.
&lt;/div&gt;
&lt;/details&gt;
&lt;details class="spoiler " id="spoiler-2"&gt;
&lt;summary class="cursor-pointer"&gt;Run terminal commands.&lt;/summary&gt;
&lt;div class="rounded-lg bg-neutral-50 dark:bg-neutral-800 p-2"&gt;
It can execute your build script, run your tests, install packages, and use the output to decide what to do next.
&lt;/div&gt;
&lt;/details&gt;
&lt;details class="spoiler " id="spoiler-3"&gt;
&lt;summary class="cursor-pointer"&gt;Search the web.&lt;/summary&gt;
&lt;div class="rounded-lg bg-neutral-50 dark:bg-neutral-800 p-2"&gt;
If it needs documentation or the latest API references, it can look that up for you.
&lt;/div&gt;
&lt;/details&gt;
&lt;h2 id="using-claude-code-effectively"&gt;Using Claude Code Effectively&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;The context window.&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;Think of this as Claude&amp;rsquo;s working memory. It can hold a lot, but NOT everything at once.&lt;/li&gt;
&lt;li&gt;This is where the &amp;ldquo;agentic&amp;rdquo; aspect comes in — Claude finds strategic ways to locate answers within your codebase without loading the entire thing into context.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;You control its permissions.&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;Claude Code&amp;rsquo;s permission modes let you choose how hands-on to be: it can ask you before running commands or making changes, or run in auto mode, where a background safety check screens each action instead.&lt;/li&gt;
&lt;li&gt;You&amp;rsquo;re always in control, whether you prefer a hands-on or hands-off approach.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;It can make mistakes.&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;Just like any tool, Claude Code isn&amp;rsquo;t perfect. It might misunderstand your intent, introduce a bug, or over-engineer a solution. Staying in the loop helps you catch these early.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>How Claude Code works</title><link>https://haobin-tan.netlify.app/doc/claude/claude-code-101/00-what-is-claude-code/how_claude_code_works/</link><pubDate>Sat, 03 Oct 2026 00:00:00 +0000</pubDate><guid>https://haobin-tan.netlify.app/doc/claude/claude-code-101/00-what-is-claude-code/how_claude_code_works/</guid><description>&lt;p&gt;Claude Code combines several agentic concepts: an agentic loop, a managed context window, tools, and configurable permissions — all inside your terminal. It can read your codebase, take action, and verify its own work.&lt;/p&gt;
&lt;h2 id="the-agentic-loop"&gt;The Agentic Loop&lt;/h2&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;&lt;img src="https://raw.githubusercontent.com/EckoTan0804/upic-repo/master/uPic/141ad1329bacde1d351f9078f8b1aeafecea0340c110721031060f1b11ec46a1.jpg" alt="Diagram of the agentic loop: Your prompt flows into the loop of Gather context, Take action, and Verify results, with the ability to interrupt, steer, or add context at any point" loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Claude Code is best explained through the &lt;strong&gt;agentic loop&lt;/strong&gt;:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;You enter a &lt;strong&gt;prompt&lt;/strong&gt; into Claude Code.&lt;/li&gt;
&lt;li&gt;Claude gathers the &lt;strong&gt;context&lt;/strong&gt; it needs by interacting with the model, which returns text or a tool call that Claude Code can execute.&lt;/li&gt;
&lt;li&gt;It &lt;strong&gt;takes&lt;/strong&gt; &lt;strong&gt;action&lt;/strong&gt; — for example, editing a file or running a command.&lt;/li&gt;
&lt;li&gt;It &lt;strong&gt;verifies the results&lt;/strong&gt; and determines whether they achieve what your prompt set out to do.&lt;/li&gt;
&lt;li&gt;If they do, Claude finishes and waits for the next prompt. If they don&amp;rsquo;t, it loops back and tries again until the results are complete and verifiable.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Throughout this loop, you can add context, interrupt, or steer the model to help guide it toward your goal.&lt;/p&gt;
&lt;h3 id="context"&gt;Context&lt;/h3&gt;
&lt;p&gt;Claude has a &lt;strong&gt;context window&lt;/strong&gt; that determines how much of your conversation, file contents, command outputs, and more it can store and reference.&lt;/p&gt;
&lt;p&gt;Once you reach that limit, Claude Code &lt;strong&gt;compacts&lt;/strong&gt; your conversation — automatically determining what it can remove or summarize to bring the context window back down to a usable size.&lt;/p&gt;
&lt;h3 id="tools"&gt;Tools&lt;/h3&gt;
&lt;p&gt;Tools are the backbone of how agents work.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Tools let Claude Code determine &lt;em&gt;when&lt;/em&gt; to execute code to get closer to completing a task. This could be a file-reading tool, a web search tool, or any number of other capabilities.&lt;/li&gt;
&lt;li&gt;Claude Code uses &lt;strong&gt;semantic understanding&lt;/strong&gt; to determine when to call a tool and how to use the output.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="permissions"&gt;Permissions&lt;/h3&gt;
&lt;p&gt;Claude Code has several permission modes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Manual:&lt;/strong&gt; Claude asks for explicit permission before editing a file or running a shell command.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Auto-accept:&lt;/strong&gt; Files are edited without asking, but commands still require approval.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Plan mode:&lt;/strong&gt; Uses read-only tools to compile a plan of action before starting any work.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Auto mode:&lt;/strong&gt; Claude works without permission prompts while a classifier checks each action in the background, targeted at blocking actions that are irreversible, destructive, or aimed outside your environment. When something is blocked, Claude usually finds a safer approach or asks you for the go-ahead.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="callout flex px-4 py-3 mb-6 rounded-md border-l-4 bg-red-100 dark:bg-red-900 border-red-500"
data-callout="caution"
data-callout-metadata=""&gt;
&lt;span class="callout-icon pr-3 pt-1 text-red-600 dark:text-red-300"&gt;
&lt;svg height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0zM12 15.75h.007v.008H12z"/&gt;&lt;/svg&gt;
&lt;/span&gt;
&lt;div class="callout-content dark:text-neutral-300"&gt;
&lt;div class="callout-title font-semibold mb-1"&gt;Caution&lt;/div&gt;
&lt;div class="callout-body"&gt;&lt;p&gt;Be cautious when skipping permissions — giving Claude Code free rein to run commands means a mistake could be harder to catch before it happens.&lt;/p&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description></item></channel></rss>