compact-yaml-frontmatter

Installation
SKILL.md

Compact YAML Frontmatter & Knowledge Metadata

Overview

In automated knowledge management, RAG documentation suites, and AI skill repositories, every Markdown file starts with a YAML frontmatter block (--- ... ---).

Unoptimized frontmatter blocks frequently accumulate 15 to 25 lines of redundant metadata (author emails, redundant timestamps, verbose SEO keyword paragraphs, placeholder schemas), consuming 150 to 300 tokens per file. When a RAG retrieval system fetches 10 documents, the agent burns 2,500 tokens purely on metadata headers before reading any actual content.

The Compact YAML Frontmatter Protocol enforces a Lean 3-to-4 Field Standard, delivering maximum indexing signal with minimal token footprint.


Bloated Metadata vs. Lean High-Density Frontmatter

Installs
1
GitHub Stars
2
First Seen
Oct 23, 2026