AIToday
Large Language ModelsAI Coding AssistantsZenn AI/MLPublished: Oct 18, 2026, 22:00 JST

CLAUDE.md and Skills: a 3-layer setup ends repeated AI briefings

CLAUDE.md and Skills: a 3-layer setup ends repeated AI briefings

3 Key Points

  1. What happened

    A Claude Code user split recurring explanations into knowledge notes, Skills, and CLAUDE.md, and said session-opening briefings dropped to zero with a roughly 25-line CLAUDE.md.

  2. Why it matters

    Each file is read at a different moment — CLAUDE.md every session, Skills only when invoked — so long procedures kept in CLAUDE.md get re-read on unrelated tasks and raise cost.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

During a first month with Claude Code, the author was restating the same project facts every session — the stack (Next.js App Router, Supabase, Stripe), the test commands, and the branch-and-PR flow. When an explanation was missed, the AI would try to push straight to main or misread "Kit" as a toolkit and produce odd variable names. His rule of thumb is that anything explained three times belongs in a file, not in the chat.

The proposed split follows how often each file is read rather than what it contains. Facts and terminology go into knowledge markdown files, which are handed over only when needed. Procedures done at least weekly become SKILL.md files under .claude/skills, either project-specific or shared across all projects, with the description field doubling as the trigger condition. Rules that hold every session go into CLAUDE.md at the project root, and the author warns that stuffing long procedures there makes the file fat and less effective, since it is read even on unrelated tasks.

What gives the advice its edge is the pruning discipline. The author lists what to leave out of CLAUDE.md — long procedures, style rules a linter can enforce, one-off instructions, and fast-changing details like current owners and deadlines — and offers a three-question test for where something belongs. He also treats drift as maintenance: rather than adding instructions in chat, he fixes the file, which he argues turns the documentation into an asset that improves with use.

FAQ
What is the difference between CLAUDE.md and Skills?
CLAUDE.md is loaded automatically every session and should hold only things that are always true. Skills are read only when invoked by name or by a related request, so long procedures belong there.
How long should CLAUDE.md be?
The author's target is 80 lines or fewer, and his own project's version is about 25 lines. He recommends generating a draft with the /init command and then cutting it down.
When the AI output is wrong, should you add more instructions?
No. The author fixes the files instead of piling on chat instructions, asking the AI which file and line caused the gap and applying a minimal one-to-three-line fix.

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleOnlyFans creators question Meta's Muse sexting while Instagram restricts them