Claude 4.5 sonnet keeps writing long .md files and keeps burning much token on it
Try creating a rule telling it not to.
i do have rule telling to not do it, yet it creates long md file, then deletes it automatically.
![]()
request id: 820f96a0-2dc7-47fb-b050-19f532a5b54c
request id: 0cca4846-4957-4c03-b752-c62d13f020c4
Hey, thanks for the report. We’ll look into it.
Interested in this fix too
Yea that is a total waste. Thanks for identifying it.
After it does it next time, you could ask the model to write a rule for you that you can paste into Cursor Rules that will prevent it from creating these .md files. Maybe your rule for some reason is being misinterpreted. You can also ask for it to tell you which rules its being instructed to follow, so you can verify it at least got them, and then ask it to write a rule that will better follow next time.
i also met this problem,rule doe not help anything ,it will try to generate lot of md files . when you telling not to generate changlog, it will generate something like “instrution “ “description” .
no mattle what task it is ,it will generate 4~6 md files .and summy serveral times for telling me how it work.
I abandoned completely it because of it.
I created a rule to don’t write .md files also and it keeps writing. Need a fix for that too.
Yeah, I tried too
Exactly i have added rules too but still it ignore rules and keep writing them which results in burning many output tokens
It may be generating .md files because it sees a bunch in the project. Could try adding all .md files to .cursorignore. Not a solution, just some workaround that might work.
Also did anyone try asking the model why its generating .md files despite the rule and to produce a better rule that it will follow?
same happening to me I have about 25 MD files cuz almost every answer generates a new MD file lol!!! geez, loving the model but the MD abuse is killing me.
Setup your directory with the free models, make a rules.md
when i give rule to not generate or create a summary in .md file after you done. you know what ? it start to create in .txt after ! hahaha
Can I simply control the model so that it doesn’t create certain files? I’m tired of them creating .md and .js.
4.5 is completley broken
Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Setting a rule in cursor gets ignored or not applied.
Steps to Reproduce
Create a new rule to tell the LLM to not create documentation or markdown files
Give the LLM a task that implements a new feature or library. Use the new xyz library to to ABC.
The llm will create the code as expected but then it creates markdown files and instructions when explicitly told not to.
I have to tell it to read it’s ruleset then it sometimes will comply or still ignore 5 messages later.
Windsurf has solved this issue where it always adheres to its rules.
Expected Behavior
No documentation should be created
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
- 7.44
Vscode version 1.99.3
Date 2025-10-10
For AI issues: which model did you use?
Any model in my case sonnet 4.5
Does this stop you from using Cursor
No - Cursor works, but with this issue
fr, i am done with these .md files too so i created User-Rule saying don’t create docs unless specifically asked for
With my Agent Compass Agents make Docs only when I ask.


