Hacker News new | ask | show | jobs
by darkerside 4 days ago
Wouldn't the best option here be to use the agent itself to generate it while the repo is still new and small?
2 comments

Auditing a friends large vibed app recently, they had done exactly this. The file had turned into a many-thousand-line blob of text that was closer to just being a chat log, with random facts about the design process and excessively verbose descriptions of things that should have just been comment blocks in the code. Claude even printed an error when starting a new session, complaining about the size. So I would say definitely don't go hands-off...keep it tight, and have it contain only points that you've personally found should be there.
haha yes i find my agent often adding unnecessary stuff to the AGENTS.md and I have to tell it to "take that out, it's just a one-time thing"
That assumes the agent knows what to put in it to affect the agents own behaviour in a positive way that aligns with the users intent.