Registry / garrytan

garrytan/gbrain/frontmatter-guard

Validate and auto-repair YAML frontmatter on brain pages. Catches malformed pages before they enter the brain (missing closing ---, nested quotes, slug mismatches, null bytes, empty frontmatter, YAML parse failures), explains files sync holds instead of importing, and drives the previewed `gbrain repair frontmatter` fix. Wraps the `gbrain frontmatter` CLI for agent-driven workflows.

Agent skill · version 0.0.0-master.1795275522.g27cc90b · from garrytan/gbrain

Install

npx yarkr-cli add skill:garrytan/gbrain/frontmatter-guard

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:garrytan/gbrain/frontmatter-guard
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:garrytan/gbrain/frontmatter-guard

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:garrytan/gbrain/frontmatter-guard

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.