Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

Learn AI in Bits

Learn AI in Bits artwork

035 - Your CLAUDE.md File Is Probably Too Big

Aug 27, 20266 minAudioSeason 1, Episode 35
ShareXLinkedInFacebookWhatsAppEmail

Claude Code's CLAUDE.md file is supposed to make every coding session smarter, but load it up carelessly and it does the opposite: burying the instructions that matter under everything else you've dumped in over time. This episode is a practical walkthrough of how CLAUDE.md actually works and how to keep it from getting out of hand. The episode covers where these files live in Claude Code's memory hierarchy: a personal file in your home directory, a project file shared through source control, a gitignored CLAUDE.local.md for personal preferences, and an organization-wide managed policy file IT can push to every developer's machine, and how they combine. Nested CLAUDE.md files inside subdirectories like backend or backend/payments don't override their parent. Claude Code concatenates every discovered file into context, with broader instructions loaded first and more specific ones last, so contradictory rules across files can leave Claude with competing guidance instead of a clean override. It also draws a distinction most CLAUDE.md advice skips: auto memory, the separate system where Claude Code writes its own notes based on corrections and preferences you give it as you work, versus CLAUDE.md, which only holds what you deliberately write. Mixing the two is one reason files balloon. Other practical guidance covered includes Claude Code's own recommendation to keep each CLAUDE.md under roughly two hundred lines, the .claude/rules folder for instructions scoped to specific file paths, skills for procedures that only need to load when relevant, the @ import syntax and why it doesn't actually shrink context, and the /init and /context commands for generating and auditing memory files. The episode closes on a point worth remembering on its own: CLAUDE.md is guidance the model tries to follow, not an enforced boundary, and anything that has to be blocked regardless of what Claude decides belongs in a hook or a permission setting instead. Useful for anyone running Claude Code day to day who wants their CLAUDE.md file to actually get followed instead of ignored. Sources & References How Claude remembers your project, Claude Code docs - https://code.claude.com/docs/en/memory Voice narration is AI-generated.

Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

Hosts and Guests

Nobody is credited on this episode yet.

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. 099 - How Does an LLM Generate Text?

    Nov 23, 20265 minAudio

    Follow a prompt through the inner workings of a large language model. This episode explains tokenization, embeddings, transformer layers, attention, logits, probability selection, and the KV cache. It also compares...

    Credit the people on this episode

  2. 098 - Product Managers: What AI Skills Are Companies Looking for?

    Nov 23, 20265 minAudio

    Explore the AI skills employers increasingly expect from product managers working on AI products. This episode covers core product management, AI literacy, model and agent fundamentals, evaluation, product metrics, and...

    Credit the people on this episode

  3. 097 - Developers: What AI Skills Are Companies Looking?

    Nov 23, 20266 minAudio

    Companies are looking for developers who can combine strong software fundamentals with practical AI skills. This episode looks at AI-assisted development, model APIs, RAG, agents, evaluation, debugging, and system...

    Credit the people on this episode

  4. 096 - Structured Outputs — How to Make AI Return Valid JSON

    Nov 22, 20265 minAudio

    Structured outputs help AI models return data that software can reliably read. This episode explains JSON, JSON Schema, and the difference between JSON mode and schema-constrained responses. It also compares how OpenAI,...

    Credit the people on this episode

  5. 095 - Function Calling: How AI Uses Tools

    Nov 22, 20265 minAudio

    Function calling lets AI models work with external tools, APIs, and business systems. This episode explains the tool-calling loop, how applications define and execute functions, and how OpenAI, Claude, Gemini, and...

    Credit the people on this episode