What makes a good AGENTS.md? - Ben's Bites

Source: original

What makes a good AGENTS.md?

run Claude Cowork from your mobile phone

Mar 19, 2026

AGENTS.md / CLAUDE.md are instruction files that get pre-loaded before your conversation even starts.

Every model has a system prompt - instructions from the model/product makers. Your .md files get added to this. The model now has its system prompt + your instructions pre-loaded.

CLAUDE.md is specific to Claude products. AGENTS.md works across Codex/Droid/Pi/most other tools. You can ‘symlink’ these - ie link my AGENTS.md to CLAUDE.md so that I only ever deal with one set of instructions and any agent will pick it up correctly. (Just ask your agent to symlink them)

What goes into your AGENTS.md?

We previously thought including your tech stack, key files, etc., as like a mini-map for your agent was the right approach. That’s what agents add if they create it.

But there was a study that showed it hurt performance and increased cost by 20% (using extra tokens). The agent can figure out the tech stack, key files, commands, and architecture very easily and quickly.

Instead, it should be pretty empty. It should be your preferences and nudges to correct agent behaviour.

I picked up a tip from Dex, who says wrapping sections in conditional blocks is helpful:

- No spec needed - Create 3 designs before choosing one - Must have dark/light mode switcher

I often switch between spinning up simple sites and more complex apps. I noticed my agents keep writing specs and testing in the browser, which is unnecessary. So I’m adopting this.

You don’t need to mention skills you’ve installed, as their ‘frontmatter’ (the skills’ name and description) is also pre-loaded alongside your AGENTS.md.

If you’re using ChatGPT/Claude Desktop apps these instructions still work. Paste them in ‘personalisation’ / ‘preferences’ / or ‘instructions’ - in your settings.

AGENTS.md also get dynamically loaded as an agent navigates through folders.

my-project/ ├── AGENTS.md ← root instructions (always loaded) └── docs/ └── AGENTS.md ← loaded when agent works in /docs

If it was helpful, reply and let me know 😊

What am I building this week?

Ben’s Bites is brought to you by Viktor

Your next hire isn’t on LinkedIn.Viktor is your last hire. He has his own computer, lives in your Slack, watches how your team works, and starts solving problems before anyone notices them. Writes code. Builds apps. Runs campaigns. No triggers. No workflows. It just works. **Try Viktor free , you have $100 up front.

Headlines

My feed

Loading...

Afters

Brian Scanlan@brian_scanlanWe've been building an internal Claude Code plugin system at Intercom with 13 plugins, 100+ skills, and hooks that turn Claude into a full-stack engineering platform. Lots done, more to do. Here's a thread of some highlights.6:46 PM · Mar 17, 2026 · 181K Views36 Replies · 89 Reposts · 1.4K Likes@levelsio@levelsioThis was asked for for YEARS and I could never find time to build it myself 🗺️ Hoodmaps for 🏡 Airbnb Hoodmaps is my app that lets you find out where to stay in a city, it classifies neighborhoods by: 🟥 Tourists 🟨 Cool 🟩 Rich 🟦 Suits ⬜️ Normies I asked Claude Code to 2:02 AM · Mar 17, 2026 · 276K Views154 Replies · 91 Reposts · 2.57K LikesMistral AI@MistralAIToday, we’re introducing Forge, a system for enterprises to build frontier-grade AI models grounded in their proprietary knowledge. 🌎 Forge bridges the gap between generic AI and enterprise-specific needs. Instead of relying on broad, public data, organizations can train models 9:00 PM · Mar 17, 2026 · 149K Views42 Replies · 225 Reposts · 1.79K LikesMiniMax (official)@MiniMax_AIIntroducing MiniMax-M2.7, our first model which deeply participated in its own evolution, with an 88% win-rate vs M2.5 - Production-Ready SWE: With SOTA performance in SWE-Pro (56.22%) and Terminal Bench 2 (57.0%), M2.7 reduced intervention-to-recovery time for online incidents 5:05 PM · Mar 18, 2026 · 290K Views87 Replies · 143 Reposts · 1.46K LikesalphaXiv@askalphaxivIntroducing MCP for arXiv Let your research agents stand on the shoulders of giants Fast multi-turn retrieval, keyword search, and embedding search tools across millions of arXiv papers 🚀 8:25 PM · Mar 17, 2026 · 125K Views50 Replies · 259 Reposts · 1.9K LikesPontus Abrahamsson — oss/acc@pontusabIntroducing community plugins on Cursor Directory. Add directly via a GitHub link, we auto-detect rules, MCP servers, agents, skills, and more. Or create one manually. Following the Open Plugins standard. 2:15 PM · Mar 18, 2026 · 1.21K Views1 Reply · 1 Repost · 23 Likes

Loading...

* sponsors who make this newsletter possible :)
Email us atshanice@bensbites.com or k@bensbites.com

PreviousNext