Ask HN: Is it better to have no Agent.md than a bad one?
1–10 of 11 posts
Re: Ask HN: Is it better to have no Agent.md than a bad one?
#2Something is better than nothing. It's pretty hard to have bad ones, also takes effort to craft good ones. The bad ones are the ones with incorrect information.
Re: Ask HN: Is it better to have no Agent.md than a bad one?
#3https://github.com/trailofbits/claude-code-config?tab=readme...
Re: Ask HN: Is it better to have no Agent.md than a bad one?
#4My approach is to keep them minimal. Make them a table of contents and spark notes, spread them across the repo, keep them up to date as the repo changes. Something is better than nothing. It's pretty hard to have bad ones, also takes effort to craft good ones. The bad ones are the ones with incorrect information.
Re: Ask HN: Is it better to have no Agent.md than a bad one?
#5One approach (Claude Code) is to evolve it over time. Start small and run /insights often and use that to refine the CLAUDE.md as needed. https://github.com/trailofbits/claude-code-config?tab=readme...
Re: Ask HN: Is it better to have no Agent.md than a bad one?
#6Start with nothing, and only add a single sentence to your Agent.md after the AI repeatedly makes the same specific mistake.
Re: Ask HN: Is it better to have no Agent.md than a bad one?
#7Yes, zero instructions are better than wrong instructions because outdated or incorrect context actively forces the AI to write broken code. Start with nothing, and only add a single sentence to your Agent.md after the AI repeatedly makes the same specific mistake.
Re: Ask HN: Is it better to have no Agent.md than a bad one?
#8Re: Ask HN: Is it better to have no Agent.md than a bad one?
#9My approach is to keep them minimal. Make them a table of contents and spark notes, spread them across the repo, keep them up to date as the repo changes. Something is better than nothing. It's pretty hard to have bad ones, also takes effort to craft good ones. The bad ones are the ones with incorrect information.
Hmm sounds reasonable