AIToday
AI Coding AssistantsLarge Language ModelsZenn AI/MLPublished: Nov 28, 2026, 22:01 JST

Claude Code setup diet: CLAUDE.md 26,297 バイト to 5,727 バイト

Send on LINE
Claude Code setup diet: CLAUDE.md 26,297 バイト to 5,727 バイト

3 Key Points

  1. What happened

    A developer restructured their Claude Code setup so only an index stays resident, shrinking CLAUDE.md from 26,297 バイト to 5,727 バイト and git-workflow's SKILL.md from 127,656 バイト to 7,992 バイト, merged on 2026-11-28.

  2. Why it matters

    The reduced file sizes mean less material is loaded up front in each session, while details stay available on demand, so this changes how the agent reads its instructions rather than discarding information.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

The setup had grown gradually: every time the developer wanted a specific behavior, a line went into CLAUDE.md, and useful procedures accumulated as Skills. At 37 Skills in total, 24 AWS-related ones were already configured to stay resident by name only, but CLAUDE.md and the large git-workflow Skill remained fully loaded, so unrelated instructions traveled along with each task.

The restructuring drew on a similar guideline in Lauren Tan's PStack, which keeps only an index and trigger conditions resident and opens the body when needed. In practice, the developer split detailed rules into docs/session-rules.md, turned the large git-workflow Skill into a staged-read structure split by task such as creating a PR or handling review, and left an index in CLAUDE.md pointing to the right file for each situation.

The author is explicit that file size and token consumption are separate questions. A same-change comparison between old and new configurations is still running, checking whether the same output appears at the same quality and whether details are opened when needed, and results will be reported later whether favorable or not.

FAQ
How much did the configuration files shrink?
CLAUDE.md went from 26,297 バイト to 5,727 バイト, and the git-workflow SKILL.md went from 127,656 バイト to 7,992 バイト. The author notes these are file-size reductions, not lost information.
Where did the detailed rules go after the change?
Detailed operating rules were moved into docs/session-rules.md and opened on demand. The CLAUDE.md file keeps an index telling the agent which file to open in which situation.
Has token consumption been measured yet?
No. The author is running a same-change comparison between the old and new configurations and has not finished it, so no reduction percentage is claimed.
Send on LINE

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 articleBaiont Quant's Feng Ji builds AI-agent OS via Cosmic Dawn