frontmatter-guard

frontmatter-guard is a skill for Claude Code from Kanevry/session-orchestrator. It costs 173 tokens per session (390 once invoked), scanned A, original, MIT.

A prompt safeguard for adding the required frontmatter template before an agent writes an Obsidian vault note. Frontmatter is the metadata block at the start of a note.

In plain words
What is it for?
Use it before dispatching an agent to write learning notes under the specified project vault location.
Why use it?
It reduces malformed metadata that could make vault notes harder to organize or process.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is [`skills/frontmatter-guard/SKILL.md`](../../../skills/frontmatter-guard/SKILL.md); read that file for the full instructions..

Part of the session-orchestrator plugin — 56 skills, 34 commands, 17 agents, 10 hooks shipped together

Good fit Use it before dispatching an agent to write learning notes under the specified project vault location.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Kanevry/session-orchestrator
agentmods
npx agentmods add skills/kanevry/session-orchestrator/frontmatter-guard

Made for: Claude Code.

Or install session-orchestrator, the plugin that ships this one along with the rest of its 56 skills, 34 commands, 17 agents, 10 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for frontmatter-guard

README.md
[![agentmods](https://agentmods.dev/badge/skills/kanevry/session-orchestrator/frontmatter-guard/github.svg)](https://agentmods.dev/skills/kanevry/session-orchestrator/frontmatter-guard)
Your own site
<a href="https://agentmods.dev/skills/kanevry/session-orchestrator/frontmatter-guard"><img src="https://agentmods.dev/badge/skills/kanevry/session-orchestrator/frontmatter-guard/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for frontmatter-guard

Your own site · 80×15
<a href="https://agentmods.dev/skills/kanevry/session-orchestrator/frontmatter-guard"><img src="https://agentmods.dev/badge/skills/kanevry/session-orchestrator/frontmatter-guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 173 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 390 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 9
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 13
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00173 $0.00390
Opus 5.5 $0.00069 $0.00156
Sonnet 5.5 $0.00035 $0.00078
Haiku 4.5 $0.00017 $0.00039

Measured 1mo ago against content hash 3ada0bb2297e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

frontmatter-guard scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/frontmatter-guard/SKILL.md · 19 lines

What it actually says

frontmatter-guard

Portable mirror — generated, do not edit. The canonical workflow lives at 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.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +1 lines 3ada0bb2297e
  2. 2mo ago Changed · +2 lines 3737ff280756
  3. 2mo ago Changed · +2 lines 34c91e7ddaaa
  4. 3mo ago First seen · 14 lines · 173 tokens per session scan A 3061baacb766

Subscribe to this mod's changes

frontmatter-guard is a skill published in the GitHub repository Kanevry/session-orchestrator (53 stars, last pushed 9d ago), licensed MIT. It adds 173 tokens to every session and 390 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

frontmatter-guard compared with skills from other repositories

frontmatter-guard next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
frontmatter-guardKanevry/session-orchestratorSkill539d agoMITA173Claude Code
wikiSethGammon/CitadelSkill9437d agoMITA56Claude Code
portfolio-dashboardHabitat-Thinking/ai-literacy-superpowersSkill1242d agononeA50Claude Code
office-wordOrkas-AI/OrkasSkill7.7kyesterdayMITA2Claude Code, Codex
office-excelOrkas-AI/OrkasSkill7.7kyesterdayMITA3Claude Code, Codex
extract-resumesuxrobGM/jobpilotSkill11724d agoMITA32Claude Code
report-formatsandisab/swe-marketplaceSkill23yesterdayMITA112Claude Code