<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sungsoo Youn</title>
    <description>The latest articles on DEV Community by Sungsoo Youn (@dbsoul).</description>
    <link>https://dev.to/dbsoul</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4109618%2Fd053c3ec-78fb-4b8b-8561-19f1657edcb8.png</url>
      <title>DEV Community: Sungsoo Youn</title>
      <link>https://dev.to/dbsoul</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dbsoul"/>
    <language>en</language>
    <item>
      <title>First Setup: What Changes with a Single CLAUDE.md</title>
      <dc:creator>Sungsoo Youn</dc:creator>
      <pubDate>Sat, 05 Sep 2026 04:10:03 +0000</pubDate>
      <link>https://dev.to/dbsoul/first-setup-what-changes-with-a-single-claudemd-2j6</link>
      <guid>https://dev.to/dbsoul/first-setup-what-changes-with-a-single-claudemd-2j6</guid>
      <description>&lt;p&gt;&lt;em&gt;This is chapter 2 of my book **Building Autonomous AI Agents with Claude Code&lt;/em&gt;* — a field guide to turning Claude Code from a coding assistant into an agent that remembers, verifies its own work, and knows when to stop. Everything below is from a system I actually run every day on one Windows PC.*&lt;/p&gt;

&lt;h3&gt;
  
  
  1. CLAUDE.md Is a "Contract Read Every Time"
&lt;/h3&gt;

&lt;p&gt;Every time Claude Code starts a session, it injects the global settings (&lt;code&gt;~/.claude/CLAUDE.md&lt;/code&gt;) and the project's&lt;br&gt;
CLAUDE.md into the system context. In other words, every sentence written here is a &lt;strong&gt;standing instruction that&lt;br&gt;
automatically attaches to every conversation&lt;/strong&gt;. This property is both the strength and the trap.&lt;/p&gt;

&lt;p&gt;The strength is clear. You gain "things you no longer have to say every time."&lt;br&gt;
The trap is this: &lt;strong&gt;every sentence written here competes with every other one, every turn.&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  2. Shorter Gets Followed — A Fact Confirmed by Measurement
&lt;/h3&gt;

&lt;p&gt;There is a common failure path. Rules pile up one by one past 1,000 lines, and at some point the AI&lt;br&gt;
&lt;strong&gt;starts missing the most important rules.&lt;/strong&gt; Inside a long document, instructions bury each other.&lt;/p&gt;

&lt;p&gt;In actual operation, when we removed a general-purpose rule set that had grown past 1,300 lines and cut the injected volume by about 89%,&lt;br&gt;
compliance with the core rules went up noticeably. The attempt to raise compliance by adding&lt;br&gt;
&lt;strong&gt;more&lt;/strong&gt; rules had itself been the cause.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Keep only "things that cause real damage when violated" in CLAUDE.md, and move everything else out.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;One counterintuitive case is worth adding. We once listed the "expressions not to use" in the rules —&lt;br&gt;
and then &lt;strong&gt;removed the list.&lt;/strong&gt; Showing those words every turn was actually producing an imprinting effect.&lt;br&gt;
The list now lives in a separate file, and a checker filters output just before it is sent.&lt;br&gt;
&lt;strong&gt;Writing something in the rules and blocking it with a system are different things.&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  3. Split into a Three-Layer Structure
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;File&lt;/th&gt;
&lt;th&gt;What it holds&lt;/th&gt;
&lt;th&gt;Size guideline&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Global&lt;/td&gt;
&lt;td&gt;&lt;code&gt;~/.claude/CLAUDE.md&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Identity, tone, security, prohibitions common to all projects&lt;/td&gt;
&lt;td&gt;Under 100 lines&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Rule fragments&lt;/td&gt;
&lt;td&gt;&lt;code&gt;~/.claude/rules/*.md&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Rules by topic (encoding, paths, DB)&lt;/td&gt;
&lt;td&gt;Under 30 lines per file&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The reason for splitting off rule fragments is &lt;strong&gt;to load them only when needed.&lt;/strong&gt; The DB rules only&lt;br&gt;
need to be present when you touch the DB. If they are always injected, they take up space that other rules need.&lt;/p&gt;
&lt;h3&gt;
  
  
  4. Three Traits of a Well-Written Rule
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;① It can be verified through behavior.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;"Be careful" cannot be verified. The AI cannot judge whether it was careful, either.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;② It carries a one-line reason.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When the AI knows the reason, it &lt;strong&gt;keeps the intent even in situations the rule didn't anticipate.&lt;/strong&gt; A rule&lt;br&gt;
without a reason gets dismissed as "doesn't apply in this case" the moment the situation shifts slightly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;③ It states a replacement behavior, not just a prohibition.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With only a prohibition, the AI &lt;strong&gt;improvises a creative workaround&lt;/strong&gt; at the blocked spot. That workaround is&lt;br&gt;
usually worse.&lt;/p&gt;
&lt;h3&gt;
  
  
  5. What Must Go into the Project CLAUDE.md
&lt;/h3&gt;

&lt;p&gt;The global file differs from person to person, but there are things every project file should share.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="sb"&gt;


&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;strong&gt;"confirmed facts (do not ask again)"&lt;/strong&gt; section is surprisingly effective. If you have been asked the same&lt;br&gt;
question three times, write the answer here. Then there is no fourth time.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Signals When Rules Keep Growing
&lt;/h3&gt;

&lt;p&gt;If your rule file is growing, check the following.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Signal&lt;/th&gt;
&lt;th&gt;Response&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Three or more rules on the same topic are scattered around&lt;/td&gt;
&lt;td&gt;Bundle them into a rule fragment file and move them out&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A rule contains "as an exception"&lt;/td&gt;
&lt;td&gt;That rule is already wrong — rewrite its condition&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A rule keeps being ignored&lt;/td&gt;
&lt;td&gt;Don't rewrite the sentence — &lt;strong&gt;turn it into a hook&lt;/strong&gt; (Chapter 4)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The last row is the key. &lt;strong&gt;If saying it three times doesn't work, build it into the structure.&lt;/strong&gt; Rewriting a rule&lt;br&gt;
in a stronger tone almost never works.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Want the whole system?&lt;/strong&gt; The book has 10 chapters plus 4 ready-to-use templates (CLAUDE.md starter, memory files, auditor checklist, measurement guide) and a hands-on section for every chapter. It's $9.99 as a PDF: &lt;a href="https://dbsoul.gumroad.com/l/autonomous-ai-agents-claude-code" rel="noopener noreferrer"&gt;https://dbsoul.gumroad.com/l/autonomous-ai-agents-claude-code&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Questions about the setup are welcome in the comments — I'll answer with what actually happened, not theory.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>automation</category>
      <category>programming</category>
    </item>
    <item>
      <title>Why an "Autonomous Agent" — The Decisive Difference from a Coding Assistant</title>
      <dc:creator>Sungsoo Youn</dc:creator>
      <pubDate>Fri, 04 Sep 2026 11:02:38 +0000</pubDate>
      <link>https://dev.to/dbsoul/why-an-autonomous-agent-the-decisive-difference-from-a-coding-assistant-4h27</link>
      <guid>https://dev.to/dbsoul/why-an-autonomous-agent-the-decisive-difference-from-a-coding-assistant-4h27</guid>
      <description>&lt;p&gt;&lt;em&gt;This is chapter 1 of my book **Building Autonomous AI Agents with Claude Code&lt;/em&gt;* — a field guide to turning Claude Code from a coding assistant into an agent that remembers, verifies its own work, and knows when to stop. Everything below is from a system I actually run every day on one Windows PC.*&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Most People Use AI as a "Typewriter"
&lt;/h3&gt;

&lt;p&gt;When you first use an AI coding tool, everyone falls into the same pattern. You assign one function, check the result, and assign the next function. It's clearly faster, yet strangely exhausting. Why?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Because a human is still making every judgment.&lt;/strong&gt; The AI is only lending its hands.&lt;br&gt;
Even if your typing speed increases tenfold, if the bottleneck is in your head rather than your hands, the overall speed stays the same.&lt;/p&gt;

&lt;p&gt;This book deals with the opposite side. You wake up in the morning and the AI has already collected information overnight, screened candidates, and prepared a report. The human intervenes &lt;strong&gt;only at the points where judgment is needed.&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  2. Diagnosing Where You Are Right Now
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;If this describes you&lt;/th&gt;
&lt;th&gt;Your current stage&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;You explain the project structure from scratch every time&lt;/td&gt;
&lt;td&gt;Typewriter&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;You have a rules file, but it gets ignored often&lt;/td&gt;
&lt;td&gt;Assistant&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The AI checks yesterday's records first before starting&lt;/td&gt;
&lt;td&gt;Early agent&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;You can trust a "done" report without verifying it&lt;/td&gt;
&lt;td&gt;Agent&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;In the morning, you just pick from a candidate list the AI made&lt;/td&gt;
&lt;td&gt;Autonomous agent&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Most people are on the second row. And what it takes to move from the second to the third is&lt;br&gt;
&lt;strong&gt;not a better model, but a few files.&lt;/strong&gt; That is this book's claim.&lt;/p&gt;
&lt;h3&gt;
  
  
  3. The 3 Conditions of an Autonomous Agent
&lt;/h3&gt;
&lt;h4&gt;
  
  
  Condition 1 — Memory
&lt;/h4&gt;

&lt;p&gt;When a session ends, the AI forgets everything. Yesterday's work, last week's mistakes, even the project's context — all of it. So &lt;strong&gt;it trips in the same place, in the same way, again.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The solution is surprisingly simple. Build a &lt;strong&gt;file-based memory structure&lt;/strong&gt; that the AI reads and writes.&lt;br&gt;
A handoff note (HANDOFF), a work journal (diary), a mistake log (mistakes), a core index (MEMORY) —&lt;br&gt;
four markdown files are the starting point. In Chapter 3, we build this structure from scratch.&lt;/p&gt;
&lt;h4&gt;
  
  
  Condition 2 — Verification
&lt;/h4&gt;

&lt;p&gt;When AI verifies its own output, it inevitably becomes lenient. Just like humans.&lt;br&gt;
And AI has one more thing on top of that — &lt;strong&gt;the habit of treating what it just said as evidence.&lt;/strong&gt;&lt;br&gt;
Once it says "the tests passed," its next judgment gets built on top of that sentence.&lt;/p&gt;

&lt;p&gt;So what's needed is not self-confidence but &lt;strong&gt;structural verification.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;① Tests come first (TDD)
② A separate auditor agent judges from the filesystem alone (Ch. 6)
③ A different AI model cross-reviews
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This triple structure changes how much you can trust the words "I'm done."&lt;/p&gt;

&lt;h4&gt;
  
  
  Condition 3 — Boundary
&lt;/h4&gt;

&lt;p&gt;Autonomy is not "do whatever you want." What can be undone, the AI does on its own;&lt;br&gt;
what cannot be undone (payment, publishing, deletion) must be approved by a human.&lt;/p&gt;

&lt;p&gt;The moment you &lt;strong&gt;write this boundary down explicitly&lt;/strong&gt;, two things improve at once.&lt;br&gt;
The human delegates with peace of mind, and the AI moves without hesitation inside the boundary.&lt;br&gt;
When the boundary is blurry, the AI asks about trivial things — and just goes ahead and does the dangerous ones.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Why Now — The Bottleneck Is Structure, Not Tools
&lt;/h3&gt;

&lt;p&gt;The models are already good enough. The reason many people still use AI as a typewriter is&lt;br&gt;
&lt;strong&gt;that there is no structure wrapped around the model.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Give the same model the same task, and the results differ between the side with memory and the side without.&lt;br&gt;
Memory is not a feature of the model — it is &lt;strong&gt;a file we create.&lt;/strong&gt; The same goes for verification and boundaries.&lt;br&gt;
None of the mechanisms in this book will be replaced by improvements in model performance.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Where This Book Ends Up
&lt;/h3&gt;

&lt;p&gt;When you finish all the chapters, the following will be up and running.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A pipeline that collects and analyzes information on its own at a fixed time every day&lt;/li&gt;
&lt;li&gt;A hook gate that blocks the AI's repeated mistakes through structure&lt;/li&gt;
&lt;li&gt;A quality system that requires a PASS from an independent auditor before declaring "done"&lt;/li&gt;
&lt;li&gt;An operating routine where human intervention is compressed to &lt;strong&gt;10 minutes a day&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And along the way, you will see that every mechanism in this book &lt;strong&gt;came from a real incident.&lt;/strong&gt;&lt;br&gt;
Almost none of the rules here were designed from the start.&lt;br&gt;
Every one of them was created after getting burned badly, once each.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Want the whole system?&lt;/strong&gt; The book has 10 chapters plus 4 ready-to-use templates (CLAUDE.md starter, memory files, auditor checklist, measurement guide) and a hands-on section for every chapter. It's $9.99 as a PDF: &lt;a href="https://dbsoul.gumroad.com/l/autonomous-ai-agents-claude-code" rel="noopener noreferrer"&gt;https://dbsoul.gumroad.com/l/autonomous-ai-agents-claude-code&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Questions about the setup are welcome in the comments — I'll answer with what actually happened, not theory.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>automation</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
