Skip to content
Back to skills

Frontmatter Guard

ASecurity

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: note|daily|pro...

  • 53 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 20, 2026
ai-agentsnode

Security analysis

A100/100

Scanned October 6, 2026

npx -y skills add Kanevry/session-orchestrator --skill frontmatter-guard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Frontmatter Guard?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Frontmatter Guard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kanevry-frontmatter-guard-98bc4e5c/badge)](https://www.skillsdirectory.com/skills/kanevry-frontmatter-guard-98bc4e5c)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: frontmatter-guard
description: "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: note|daily|project|person|reference|idea|learning|session.\" <commentary>The wave-executor pre-dispatch hook calls detectVaultTaskScope() — the fileScope contains /Projects/vault/40-learnings/ so the guard triggers and the snippet is prepended to the agent system prompt.</commentary></example>"
metadata:
  user-invocable: "false"
  model: inherit
---

# frontmatter-guard

> **Portable mirror — generated, do not edit.** The canonical workflow lives at
> [`skills/frontmatter-guard/SKILL.md`](../../../skills/frontmatter-guard/SKILL.md); read that file for the full instructions.
> This mirror carries only agentskills.io-spec-legal frontmatter so harnesses that
> discover skills under `.agents/skills/` can find and route to the skill.
>
> Regenerate with `node scripts/generate-agents-skills.mjs`.

Read the linked document in full and follow its complete workflow, including prechecks and stop conditions. Resolve its link relative to this SKILL.md, not the project working directory. The plugin root is three directories above this file. Resolve package paths such as `skills/` and `scripts/` from that root and relative links in the canonical document from its own directory. Keep the user’s project as the target of project operations.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…