HackerPapers

arXiv:2602.11988cs.SE

Evaluating AGENTS.md: Are Repository-Level Context Files Helpful for Coding Agents?

Thibaud Gloaguen, Niels Mündler-Sasahara, Mark Niklas Müller, Veselin Raychev, Martin Vechev

Abstract

A widespread practice in software development is to tailor coding agents to repositories using context files, such as AGENTS.md. Although this practice is strongly encouraged by agent developers, there is currently no rigorous investigation into whether such context files are actually effective for real-world tasks. In this work, we study this question and evaluate coding agents' task completion performance in two complementary settings: established SWE-bench tasks from popular repositories, with LLM-generated context files, and a novel collection of issues from repositories containing developer-committed context files. Surprisingly, we find that providing context files does not generally improve task success rates, while increasing inference cost by over 20% on average. This observation holds across different LLMs, coding agents, and for both LLM-generated and developer-committed context files. Specifically, we find that while instructions in the context files are well followed by coding agents, repository overviews, although popular and recommended by model providers, are not helpful. We conclude that while context files are useful for specifying non-standard coding practices, any attempts to improve performance should be rigorously evaluated before deployment.

arXiv comments
Journal reference
DOI
Subjects
cs.SESoftware Engineering cs.AIArtificial Intelligence

On Hacker News

Linked by 14 identifiable commenters in 14 comments across 13 threads, from Feb 2026 to Oct 2026. Found in 3 HN submissions from Feb 2026 to Jun 2026. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments13 threads

    • Some of the noise comes from writing for two audiences(humans and agents) in the same file. There are established conventions for separating the two, and research suggests that the “repository overview” documents agents tend to favor aren’t even helpful to agents themselves.…

      ghboo0927View on HNParent context

    • Theres a study from earlier this year which suggests the opposite: https://arxiv.org/abs/2602.11988 Most of the agents.md and what people use it for / write into is does, in fact, not make a difference. Now, sure, this study is a bit old for LLM standards - as everything beyond…

      Systemerror7A69View on HNParent context

    • Studies show that LLM-generated context files have a negative impact on LLM performance: https://arxiv.org/abs/2602.11988

      iLoveOncallView on HNParent context

    • Believe it or not, after writing this comment I was doing some more reading on the task. I'm planning to reorganize our context repo after finding this paper (it argues that AI generated context files can stunt the performance of models): https://arxiv.org/abs/2602.11988 For…

      NichoPaolucciView on HNParent context

    • Are you referring to the one (1) study that showed that when cheaper LLM's auto-generated an AGENTS.md, it performed more poorly than human editted AGENTS.md? https://arxiv.org/abs/2602.11988 I'd love to see other sources that seek to academically understand how LLM's use…

      criley2View on HNParent context

  1. Anatomy of the .claude/ folder 1 comment
    • Great, so how do you know this stuff works? Did you evaluate it against other approaches? How do you know it's actually reliable? The Vercel team had some interesting findings[1]: > In 56% of eval cases, the skill was never invoked. The agent had access to the documentation but…

      imiricView on HNParent context

  2. Agents.md Are Useless 1 comment
    • Another reference: https://arxiv.org/abs/2602.11988. Too many times they ignore what is defined depending on the prompt and/or context. It's just another task to sync a source of truth.

      morganneyView on HNParent context

    • The research is: Evaluating AGENTS.md: Are Repository-Level Context Files Helpful for Coding Agents? https://arxiv.org/abs/2602.11988 --- Overall, it makes sense to me that excessive and/or unnecessary instructions dilute the importance of each instruction. Ideally it shouldn't…

      OutOfHereView on HNParent context

    • This method of copying an LLM-generated summary of your preferences into Claude memory feels similar to their recommendation to use /init to generate a CLAUDE.md based on the project, which recent research[0] suggests may be counterproductive. I would assume both Claude memory…

      sheeptView on HNParent context

    • ETH Zurich tested this: LLM-generated prose context = -3% performance, +20% cost. Even human-written = +4% at +19% cost. The problem is prose bloat. Structured formats avoid that by design. https://arxiv.org/abs/2602.11988

      wolfejamView on HNParent context

    • The persistent identity files are interesting but there's a cost problem. A recent paper (arxiv 2602.11988 https://arxiv.org/html/2602.11988v1) found context files increase inference cost by 20%+ with marginal performance gains; LLM-generated ones actually decreased success…

      mercutio93View on HNParent context

  3. Hugging Face Skills 1 comment
    • I'm actually on the fence with skills. Vercel shared a study where they claimed skills performed actually worse [0] - than just injecting into the context directly via agents.md. Similarly, there was a paper recently that suggested the same [1] Of course, the classic response to…

      neyaView on HNParent context

  4. Writing code is cheap now 1 comment
    • There is some papers [0] showing that the skill and agent files reduce the reasoning effectiveness in some use cases (e.g. autogenerated) [0] https://arxiv.org/abs/2602.11988 reference: https://news.ycombinator.com/item?id=47034087

      mycallView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.