tokens agents
RENDERED
04

Runtime context

How tokens, meaning, and intent reach the agent at the moment it acts.

A great spec still needs a delivery mechanism that does not lock you to one vendor. That is what the runtime files do.

Skim, then read

The summary

The gist in a few sentences, then the full argument for this layer.

Three Markdown files run your repo's relationship with AI: AGENTS.md (how to build and test), SKILL.md (portable capabilities), and DESIGN.md (the visual system).

This is the top of the stack, where tokens, meaning, and intent get delivered to the agent at the moment it acts.

None of it is finished: the formats are young and agent-to-agent coordination is still open, but writing intent down beats hoping the agent guesses.

Three files now run your repo's relationship with AI. Agents stopped guessing, because three Markdown files started telling them what they need. AGENTS.md says how to build and test the project. SKILL.md packs up capabilities the agent carries from project to project. DESIGN.md hands over your visual system so nothing drifts off-brand. Three files, plain Markdown, and the repo explains itself.

One thing people botch: these are not protocols. MCP is how an agent talks to a system. These files are what it needs to know about your project. Different job.

Why Markdown and not some clever format? Agents read it better than anything else, because it is most of what they trained on. And one file in one spot kills the scatter, no more rules spread across .cursorrules, CLAUDE.md, and whatever ships next week. That scatter is vendor lock-in.

This is the top of the stack, where the other three pillars get delivered. Tokens gave the values. Machine-readable systems gave the meaning. Spec-driven development gave the intent. Runtime context is how all of it reaches the agent at the moment it acts. Skip it and the agent scavenges for build commands, hallucinates one, and breaks your pipeline.

The fix is one rule everyone can follow: make AGENTS.md the single source of truth and point every tool-specific file at it instead of duplicating context everywhere.

None of this is finished, and that is worth saying plainly. The file names are converging, but they are young, and the harder problem past host-to-agent context, getting agents to coordinate with each other, is still unsettled. The bet is not that the format is done. It is that writing intent down in a file the agent can read beats hoping it guesses.

You do not make an agent reliable by making it smarter. You make it reliable by writing down what it needs in a file it can actually read. Three files, maintained once, used everywhere.

Listen

The narrated overview

The same layer, heard. Self-hosted and played from a token-driven player.

Runtime context, the delivery: narrated overview Ready
0:0014:12
audio/04-runtime-context.mp3 Download
Go deep

The annotated sources

The originals, each with one line on why it matters. The annotation is the judgment, and the judgment is the authority.

  • Roundup The three context files AGENTS.md, SKILL.md, and DESIGN.md, the roundup in one place.
  • Standard AGENTS.md The AGENTS.md standard itself, the file that carries build and architectural intent. Now stewarded by the Agentic AI Foundation.
  • SKILL.md Anthropic on Agent Skills The SKILL.md format Anthropic pioneered: portable capabilities an agent carries between projects.
  • DESIGN.md What DESIGN.md is What DESIGN.md is, plus a public library of ready-made design systems you can drop in.
Ask

The notebook

Interrogate the curated corpus directly, and ask the thing this page did not cover.

Open the notebook

Try asking

  • Why Markdown, and not a cleverer machine format?
  • What is the difference between MCP and a context file like AGENTS.md?
  • How do you stop rules from scattering across vendor-specific files?
FAQ

Runtime context, answered

The questions readers bring to this layer.

  • What is AGENTS.md (and SKILL.md, DESIGN.md)?

    They are three plain-Markdown files that tell an agent what it needs about your project. AGENTS.md carries build and architectural intent, now stewarded by the Agentic AI Foundation. SKILL.md, pioneered by Anthropic, packs portable capabilities. DESIGN.md hands over your visual system. They are context files, not protocols like MCP.

  • Why Markdown instead of JSON for agent context files?

    Because models read Markdown with the highest fidelity, it is most of what they trained on. JSON is right for strict contracts like component props. Natural-language rules and architectural intent belong in Markdown, with front matter instead of bloat. One file in one spot also kills the rules-scattered-everywhere problem that becomes vendor lock-in.