Dev proposes indexed Agent.md framework to cut AI coding agent context costs

Weird-Project-8176 · reddit · 2026-11-30

A developer shares how they organize agentic coding tools (Codex etc.) for building a full product: an Agent.md entry file indexes Rules.md, structure.md, style.md and backend.md, which every agent reads before each task. The pain point: on medium-sized projects the model still re-reads huge swaths of docs and code for tiny tasks, wasting tokens and missing details. The proposed fix is to split rule files into per-component blocks (buttons, images, etc.) and have the index assemble only the relevant blocks per task. Their verdict: current tools can build apps but fall short of market-ready products without such an information-organization framework.

Original post →

More from coding & agent

coding & agent channel →