Does AGENTS.md Actually Do Anything? How AI Instruction Files Work and Where They Fail

AGENTS.md files may do nothing — their real impact depends heavily on tool support and needs verification.
This article examines the controversial claim that "your AGENTS.md file doesn't do anything." Files like AGENTS.md, .cursorrules, and CLAUDE.md aim to give AI coding assistants persistent project context, but their actual effect is a black box: tool support varies wildly, with some loading them natively and others ignoring them entirely. Even when read, issues like context window trimming, overly long or contradictory instructions, and probabilistic model behavior can render the rules ineffective. The article advises developers to verify their tool's loading mechanism, keep instructions concise and structured, explicitly reference rules in critical tasks, and rely on linters and CI pipelines as hard enforcement — replacing blind trust with rational, verified usage.
Introduction: An Overrated Config File
As AI coding assistants become mainstream, files like AGENTS.md have become a staple in developer projects. The idea is appealing: a dedicated Markdown file that passes project conventions, coding styles, and contextual information to AI agents (like Cursor, Claude Code, GitHub Copilot, etc.), helping the AI better understand your codebase.
Recently, however, a provocative claim surfaced on Hacker News — "Your AGENTS.md file doesn't do anything." This assertion strikes at a core assumption many developers hold: are the AI instruction files we carefully craft actually being used effectively?
This article digs deep into that question, examining how AGENTS.md-style files actually work, where the common misconceptions lie, and how to make them genuinely useful.
What AGENTS.md Actually Is
AGENTS.md — along with similar files like .cursorrules, CLAUDE.md, and .github/copilot-instructions.md — is essentially a product of "convention over configuration" thinking. The goal is to give AI agents persistent, project-level context, such as:
- The tech stack and framework versions in use
- Team conventions for code style and naming
- Directory structure explanations and key module responsibilities
- Recommended or prohibited third-party libraries
- Commands for testing, building, and deploying
In theory, the AI agent reads these files before generating code, producing output that better fits your project's standards. This pattern is popular because it lifts "prompt engineering" out of individual conversations and turns it into a reusable, version-controlled project asset.
The Gap Between Theory and Reality
The problem is that whether the file is read, how it's read, and how much it actually influences the output is often a black box. Support for these files varies enormously across AI tools:
- Native support: Some tools (like Cursor's support for
.cursorrules) actively load the file content into the system prompt. - Convention-based support: Some tools follow community conventions and read specific filenames, but the implementation details are opaque.
- Complete ignorance: In a significant number of cases, the AI won't automatically read these files at all — unless the user explicitly references them.
This is the core of the "doesn't do anything" argument: many developers assume their rules are being applied automatically, when in reality the file might just be sitting in the repo as inert documentation.
Why Your AI Instruction File Might Be Useless
Context Window Constraints
A large language model's context window is a finite resource. When a project has many files and the conversation history is long, the AI system has to make trade-offs. Your AGENTS.md may not have high enough priority and could get pushed out of the context window at a critical moment, rendering your rules effectively invisible.
The File Was Never Actually Loaded
As mentioned, not every tool automatically reads convention-based filenames. If the AI assistant you're using has no mechanism to load the file, it doesn't matter how detailed your instructions are — the AI simply never sees them. This is the most easily overlooked and most fatal problem.
Instructions That Are Too Long or Contradictory
Even if the file is loaded, overly long content, disorganized structure, or contradictory rules make it hard for the AI to follow them effectively. A model's ability to adhere to instructions degrades as complexity increases — "more writing does not equal better results."
No Hard Enforcement Mechanism
A Markdown file is fundamentally a suggestion, not a constraint. AI is a probabilistic generative model — it will reference your rules but won't guarantee following them. Actual standards enforcement still requires hard mechanisms: linters, formatters, CI checks, and the like.
How to Make AGENTS.md Instruction Files Actually Work
Verify Your Tool's Loading Mechanism
The first step is always to confirm that your tool actually reads the file. Check the documentation, and clarify which filenames and loading rules are supported. If you're unsure, run a simple test: add an obvious rule to the file (e.g., "all functions must start with xyz_") and see whether the AI's generated code follows it.
Keep It Concise and Structured
Put the most important rules first. Use clear headings and lists to organize content. Avoid lengthy prose — focus on the scenarios where the AI is most likely to go wrong and most needs guidance. Quality matters far more than quantity.
Reference Rules Explicitly Instead of Relying on Auto-Loading
For critical tasks, proactively reference the relevant rules in your conversation, or paste the file content directly into the context. This "explicit prompting" approach is more effort, but it's the most reliable method.
Use Your Toolchain as a Hard Safety Net
Actual standards enforcement can't rely solely on the AI's "good intentions." Bake your coding standards into ESLint, Prettier, pre-commit hooks, and CI pipelines — let machines enforce them mechanically. AI instruction files handle guidance; the toolchain handles enforcement. The two are complementary, and you need both.
Conclusion: From Blind Trust to Rational Usage
The provocative headline "Your AGENTS.md file doesn't do anything" is ultimately a reminder of an important engineering principle: don't make unverified assumptions about black-box systems.
AGENTS.md-style files aren't worthless, but their effectiveness is highly dependent on the specific tool's implementation, context management strategy, and the quality of the content itself. Rather than spending hours polishing a file that may never be read, first verify that it actually works — then decide how much effort is worth investing.
In the age of AI-assisted development, what we need isn't blind faith, but clear-eyed understanding: AI is a powerful assistant, but its behavior needs to be understood, verified, and constrained. Only then can we reliably convert these tools' potential into real productivity.
Related articles

Facebook M Was 11 Years Too Early: Why AI Assistants Are Going Through a Full Circle
Facebook M failed in 2015 due to tech limitations, yet today's AI companies are rebuilding the same vision. Explore why timing and LLMs changed everything.

herdr: Enabling Different AI Agents to Message Each Other at the Terminal Layer
herdr is a Rust-built terminal multiplexer designed for AI agent collaboration. It enables cross-agent messaging at the terminal layer, supporting 17 agents including Claude Code, Codex, and Cursor.

Squeak 6.1 Released: Tree Browser, Objectland Returns, and Across-the-Board Performance Improvements
Squeak 6.1 is officially released, featuring a new tree browser, the return of Objectland interactive examples, Morphic UI improvements, and broad performance gains.