What problem does it solve? Corrupted YAML frontmatter silently breaks search, rendering, and embedding in a gbrain knowledge base, and null bytes in imported markdown corrupt git diffs and truncate content. This Skill gates every brain write with validation so malformed pages never reach the database. ## Core Features & Use Cases - Pre-Write Validation Gate: Checks YAML parsability, required fields per page type, tag structure, ISO date formats, slug hygiene, and duplicate keys before any mcp_gbrain_put_page call. - Null-Byte Scanner: A bundled Python script scans markdown files for null bytes, with git-tracked-only mode, in-place fixing, JSON output, and CI-friendly exit codes. - Use Case: When importing an external markdown repository into the brain, run the scanner with --git-only --fix to strip null bytes, then validate each page's frontmatter against the required-fields table before writing. ## Quick Start Ask the agent to validate the frontmatter of a markdown page against the required-fields rules before writing it to the brain with mcp_gbrain_put_page.