frontmatter-guard
95 / 100 · Low risk
Fine to try.
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.
What this skill can do
Runs commands on your computer
Other copies in this repository
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'frontmatter-guard' ] || [ -L ~/.agents/skills/'frontmatter-guard' ]; then echo 'A skill folder named frontmatter-guard already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/garrytan/gbrain' "$d" && git -C "$d" checkout --quiet '001c8c39e84d726e9bb6ecbae053458c970d5af3' -- 'skills/frontmatter-guard' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/frontmatter-guard' ~/.agents/skills/'frontmatter-guard' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'frontmatter-guard' ~/.claude/skills/'frontmatter-guard' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/garrytan/gbrain/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-10 | 001c8c3 | 95 |
| 2026-11-08 | 98dda48 | 95 |
| 2026-11-07 | a03306c | 95 |