AI.MD — Convert CLAUDE.md to AI-native structured-label format #579
Replies: 2 comments
-
|
This is interesting because it is testing whether instruction structure is actually more machine-readable, not just shorter. The part I would want to see next is an ablation on real coding tasks, since compression alone can look impressive while hiding subtle losses in priority, exceptions, or edge-case behavior. |
Beta Was this translation helpful? Give feedback.
-
|
The benchmark is compelling. 53% size reduction with full rule preservation proves that prose is inefficient as a medium for machine-readable instructions. The model was reconstructing structure from free text every time. Same issue at the prompt layer. When you write role, constraints, and objective as a single prose blob, the model has to infer those boundaries. Explicit semantic blocks let it parse cleanly without guesswork. The compliance improvement you see with structured labels is that same effect. I've been building flompt for exactly this, a visual prompt builder that decomposes prompts into 12 semantic blocks and compiles to Claude-optimized XML. Open-source: github.com/Nyrok/flompt |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What it does
AI.MD converts human-written
CLAUDE.mdfiles into AI-native structured-label format.Same rules, zero deletions — just restructured for how LLMs actually parse.
Results
Tested with a real production CLAUDE.md across 4 models:
Claude Code recommends keeping CLAUDE.md under 200 lines. The original was 224 (over limit). After conversion: 142 (well within).
10 techniques used
<gates><rules><rhythm>)Install
Then say "AI.MD" or "distill my CLAUDE.md" to Claude Code.
Links
examples/directoryBeta Was this translation helpful? Give feedback.
All reactions