<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/time-to-shrink-your-claude-md-files-9iqttipgg" -->

---
title: Time to shrink your claude.md files | daily.dev
description: With the arrival of Opus 5, Anthropic recommends significantly shrinking claude.md context files for better results and token efficiency, and the Claude Code...
canonical: https://daily.dev/posts/time-to-shrink-your-claude-md-files-9iqttipgg
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Time to shrink your claude.md files | daily.dev
og:description: With the arrival of Opus 5, Anthropic recommends significantly shrinking claude.md context files for better results and token efficiency, and the Claude Code...
og:url: https://daily.dev/posts/time-to-shrink-your-claude-md-files-9iqttipgg
og:image: https://api.daily.dev/og/posts/9IqTtiPGg.png
og:image:alt: Time to shrink your claude.md files
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Time to shrink your claude.md files

**[Ido Shamun](https://daily.dev/sources/28849d86070e4c099c877ab6837c61f0)** · [@idoshamun](https://daily.dev/idoshamun) · 1 min read · 13 upvotes · 2 comments

## Summary

With the arrival of Opus 5, Anthropic recommends significantly shrinking claude.md context files for better results and token efficiency, and the Claude Code team cut their own system prompt by 80%. A ready-to-use prompt is provided to find all claude.md files in a project and trim them down to the minimum context needed based on Anthropic's new context engineering guidance for Claude 5 generation models.

## Content

Since Opus 5, claude.md files should be reduced significantly for better results and token efficiency. The claude code team reduced the system prompt by 80%.

If you haven't done it yet, here's a prompt to help you out:

> The new generational models dont need so much context and we can reduce significantly the [claude.md](http://claude.md) files. see this: [https://claude.com/blog/the-new-rules-of-context-engineering-for-claude-5-generation-models](https://claude.com/blog/the-new-rules-of-context-engineering-for-claude-5-generation-models). find all the [claude.md](http://claude.md) files and keep only the min context we need there based on the doc above. our goal is to avoid mistake, keep the code consistent and be token efficient

## Community discussion

Top comments from developers on daily.dev.

**@yaireo** · 0 upvotes

> title typo `you` 👉 `your`
>
> Also the block of text should utilize markdown citation rather than reside within a code block

## Similar posts on daily.dev

- [GitHub - drona23/claude-token-efficient: Universal CLAUDE.md - cut Claude output tokens by 63%. Drop-in. No code changes.](https://daily.dev/posts/github---drona23-claude-token-efficient-universal-claude-md---cut-claude-output-tokens-by-63-drop-cba3nnscu) · Hacker News · 3 upvotes · 0 comments
- [Claude Code Context Management](https://daily.dev/posts/claude-code-context-management-4iv2b3ese) · SitePoint · 0 upvotes · 0 comments

---

Tags: [#anthropic](https://daily.dev/tags/anthropic), [#prompt-engineering](https://daily.dev/tags/prompt-engineering), [#claude-code](https://daily.dev/tags/claude-code), [#context-engineering](https://daily.dev/tags/context-engineering)

[View this post on daily.dev](https://daily.dev/posts/time-to-shrink-your-claude-md-files-9iqttipgg)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/time-to-shrink-your-claude-md-files-9iqttipgg","headline":"Time to shrink your claude.md files","text":"With the arrival of Opus 5, Anthropic recommends significantly shrinking claude.md context files for better results and token efficiency, and the Claude Code team cut their own system prompt by 80%. A ready-to-use prompt is provided to find all claude.md files in a project and trim them down to the minimum context needed based on Anthropic's new context engineering guidance for Claude 5 generation models.","url":"https://daily.dev/posts/time-to-shrink-your-claude-md-files-9iqttipgg","datePublished":"2026-09-06T06:43:53.033Z","dateModified":"2026-09-13T20:54:24.565Z","author":{"@type":"Person","name":"Ido Shamun","url":"https://daily.dev/idoshamun","image":"https://media.daily.dev/image/upload/s---xy_OAwk--/f_auto,q_auto/v1703781380/avatars/avatar_28849d86070e4c099c877ab6837c61f0","description":"I'm to blame if something goes wrong here 🙈","worksFor":{"@type":"Organization","name":"daily.dev","logo":"https://daily-now-res.cloudinary.com/image/upload/s--MASZOhnv--/f_auto/v1614088267/landing/Daily.dev_logo"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":195620}},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":13},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":2}],"comment":[{"@type":"Comment","text":"title typo you 👉 your\nAlso the block of text should utilize markdown citation rather than reside within a code block","datePublished":"2026-09-06T07:58:04.487Z","dateModified":"2026-09-06T07:59:27.253Z","url":"https://daily.dev/posts/9IqTtiPGg#c-hOdllQ4dL","author":{"@type":"Person","name":"Yair Even Or","url":"https://daily.dev/yaireo","image":"https://avatars.githubusercontent.com/u/845031?v=4"}}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/28849d86070e4c099c877ab6837c61f0","name":"Ido Shamun"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Ido Shamun","item":"https://daily.dev/sources/28849d86070e4c099c877ab6837c61f0"},{"@type":"ListItem","position":3,"name":"Time to shrink your claude.md files"}]}
```

