Marcos Hernanz Shares Full AGENTS.md File After 60 Billion Tokens

X postMarcos HernanzResource

Drawing on experience from processing approximately 60 billion tokens, Marcos Hernanz shares his complete AGENTS.md configuration for AI coding agents.

Key points

  1. Marcos Hernanz published his complete AGENTS.md template.
  2. The setup is based on his stated experience of processing around 60 billion tokens.
  3. The post builds on an earlier update regarding components he consistently includes in AGENTS.md files.

Why it matters

AGENTS.md files serve as a repository-level standard to provide context, constraints, and guidelines directly to autonomous coding agents.

Analysis

The source material provides minimal text beyond the claim and link, focusing on sharing practical configuration standards distilled from extensive high-volume LLM usage.

Original post

Marcos Hernanz

@MarcosHernanz · 2 August 2026

After doing ~60B tokens, this is my full AGENTS.md t.co/VVXIwtSAcO t.co/PvST6109sm

10.8k likes154 replies20.2k bookmarks2m views

View on X
Selected replies (3)
  • @TrickRiggin @MarcosHernanz If you fine tune your AGENTS.MD as often as I do, you'll find this useful. Syncs agents.md from the host to whatever box you have ssh access to. t.co/nTpxojANTy
  • @ContextuallyAI @MarcosHernanz Worth naming why this one won, because the recipe is reusable. Human readable so anyone can edit it. Lives with the thing it describes so it moves when the project moves. Owned by no vendor so no vendor could refuse it. Zero new infrastructure. Four properties, twelve months,
  • @Zelmari57 @MarcosHernanz time to unpin boss

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • X post:AYi

    8 Rules for AGENTS.md: Cutting Token Waste and AI Over-Engineering

    Drawing from experience across approximately 60 billion processed tokens, Marcos Hernanz from Vercel's Next.js team compiled eight fundamental rules for AGENTS.md. The configuration steers coding agents toward writing pragmatic, minimal code instead of introducing superfluous abstractions and unnecessary dependencies.

    5kbookmarks403.3kviews

    AI & LLMs· Resource

  • Repository:GonChen/real-engineering-prompt

    Real Engineering Prompt: Minimal Behavioural Directives for Coding Agents

    This open-source project offers a concise instruction template (AGENTS.md) designed to bind modern coding agents to core engineering practices like minimal complexity, scoped modifications, and evidence-backed verification.

    4stars

    AI & LLMs· Resource

  • Repository:VoltAgent/awesome-design-md

    Awesome DESIGN.md: Markdown Design System Profiles for AI Coding Agents

    The awesome-design-md repository curates ready-to-use DESIGN.md files derived from well-known brand design systems. These plain-text Markdown files provide AI coding agents with design tokens, patterns, and style rules for generating visually coherent UIs.

    118.6kstars

    AI & LLMs· Resource

  • X post:Luke Parker

    Streamlining Pull Request Bodies with Luke Parker's 'writing-pr' Skill

    Luke Parker shared a prompt skill configuration titled 'writing-pr' designed for AI agents and hosted in an agents.md file. The skill aims to generate concise and readable pull request descriptions rather than verbose text.

    1.2kbookmarks34.8kviews

    AI & LLMs· Resource

  • Repository:coleam00/skills

    Cole's AI Skills: Modular Skill Files for Coding Agents

    The GitHub repository 'coleam00/skills' provides a collection of 33 practical skills designed for AI coding agents such as Claude Code. Instead of maintaining a monolithic 2,000-line CLAUDE.md instruction file, each skill resides in a standalone folder with a SKILL.md file and is loaded on demand. The set revolves around a standard development cycle: prime, plan, implement, validate, review, commit, and PR.

    482starsPython

    AI & LLMs· Tool

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.