Releases: sstklen/ai-md
Releases · sstklen/ai-md
v0.1.0 — Initial Release
AI.MD v0.1.0
Convert human-written CLAUDE.md into AI-native structured-label format.
What it does
- -53% file size (13,474 → 6,332 bytes)
- -37% line count (224 → 142 lines, within Claude Code's 200-line recommendation)
- Rule compliance 6/8 → 8/8 (tested across 4 LLM models)
Same rules, zero deletions — just restructured for how LLMs actually parse.
10 Techniques
- One concept per line
- Explicit trigger/action/exception labels
- Semantic anchors (labels as hashtags)
- State-machine gates (if → then → else → priority)
- XML section isolation
- Strip all "why" — keep only "what"
- Bilingual labels (English for AI, native language for human output)
- Cross-references instead of repetition
- Not-triggered lists (explicit exclusions)
- Conflict detection with priority resolution
Install
mkdir -p ~/.claude/skills/ai-md && curl -o ~/.claude/skills/ai-md/SKILL.md https://raw.githubusercontent.com/sstklen/ai-md/main/SKILL.mdThen say "AI.MD" or "distill my CLAUDE.md" to Claude Code.
Includes
SKILL.md— The skill (install this)examples/before.md— Sample CLAUDE.md in natural languageexamples/after.md— Same rules converted to AI-native format