What problem does it solve? Brain pages accumulate malformed YAML frontmatter over time — missing closing markers, nested quotes, slug mismatches, null bytes — which silently break sync and search until they surface as failures. This Skill audits, validates, and auto-repairs frontmatter before corrupted pages enter the brain. ## Core Features & Use Cases - Eight-class validation: Detects MISSING_OPEN, MISSING_CLOSE, YAML_PARSE, SLUG_MISMATCH, NULL_BYTES, NESTED_QUOTES, NON_STRING_FIELD, and EMPTY_FRONTMATTER errors across all registered sources. - Safe auto-repair: The --fix flag writes .bak backups before mutating files, with --dry-run previews for batch operations. - CI and pre-commit integration: Validate single paths with exit codes for pipelines, or install a git pre-commit hook to block malformed pages at commit time. - Use Case: After months of agent-written pages, run an audit to find 17 issues across your brain, preview the fixes, then repair them with backups while leaving human-authored drafts untouched. ## Quick Start Ask the agent to run a frontmatter audit across the brain and report how many issues exist per error class before fixing anything.