frontmatter-guard SKILL.md skillA
frontmatter-guard from kanevry/session-orchestrator is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add kanevry/session-orchestrator/frontmatter-guard@git:20261003.c34ec50Pins git:20261003.c34ec50 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- kanevry/session-orchestrator
- Path
skills/frontmatter-guard/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261003.c34ec50, committed Oct 3, 2026
- First version recorded
- May 8, 2026
- Size
- 8,827 bytes
- Repository stars
- 53
- License
- MIT
Injects the canonical vault frontmatter schema snippet into agent prompts before any vault-write task, preventing malformed YAML frontmatter in Obsidian notes. <example>Context: wave-executor is about to dispatch a vault-mirror agent that writes learning notes under ~/Projects/vault/40-learnings/. user: "dispatch vault-write agent" assistant: "Injecting frontmatter-guard snippet into agent prompt (vault scope detected). Required fields: id, type, created, updated. Enum type…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Frontmatter-Guard Skill > Project-instruction file resolution: `CLAUDE.md` and `AGENTS.md` (Codex CLI) are transparent aliases — see [skills/_shared/instruction-file-resolution.md](../_shared/instruction-file-resolution.md). Wherever this skill mentions `CLAUDE.md`, the alias rule applies. ## Purpose vault-mirror and other vault-write agents frequently produce notes with missing or malformed YAML frontmatter — incorrect `type` enum values, missing `id`, wrong date formats. The resulting notes fail the vault-sync validator at session-end, causing hard-gate failures that interrupt the close flow. This skill solves the problem at the source: it injects the canonical vault frontmatter schema as a Markdown snippet into agent prompts *before* any vault-write task is dispatched. Agents that receive the snippet produce conformant frontmatter on the first attempt, eliminating the validator feedback loop. ## When to Use Trigger this skill whenever the task being dispatched has vault-write scope. Use the `detectVaultTaskScope()` heuristic from `scripts/lib/frontmatter-guard.mjs` to decide programmatically: ```js …
Read the whole file at its exact version.
How to install
mdr add kanevry/session-orchestrator/frontmatter-guard@sha256:ded10fe1495b39f0The line at the top of this page pins the label git:20261003.c34ec50, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_enjc7ncwoflopuuu)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between May 8, 2026 and Oct 3, 2026, about one every 37 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261003.c34ec50 latest | 2026-10-03 | c34ec50 | 8,827 B | A | view · diff |
| git:20260906.9b0a555 | 2026-09-06 | 9b0a555 | 8,805 B | A | view · diff |
| git:20260815.957b21b | 2026-08-15 | 957b21b | 7,089 B | A | view · diff |
| git:20260518.a68e94f | 2026-05-18 | a68e94f | 7,071 B | A | view · diff |
| git:20260508.7158b82 | 2026-05-08 | 7158b82 | 7,098 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8827 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
kanevry/session-orchestrator · 53 stars · license MIT · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_enjc7ncwoflopuuu GET https://markdownregistry.com/api/v1/resolve?ref=kanevry/session-orchestrator/frontmatter-guard GET https://markdownregistry.com/api/v1/blob/ded10fe1495b39f0723da76d0008782f625046f189febe269f4e66ffc84f320c
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from kanevry/session-orchestrator
Every file in kanevry/session-orchestrator