The frontmatter-guard agent skill ensures YAML frontmatter on brain pages is valid and automatically repairs common mechanical errors.