obsidian-vault-standards

obsidian-vault-standards is a cursor rule for Cursor from beettlle/pi-spine. It costs 0 tokens per session (1,604 once invoked), scanned A, original, MIT.

Rules for editing Obsidian vaults that use OFM notes, Bases, and JSON Canvas. OFM is Obsidian Flavored Markdown, and JSON Canvas is a file format for visual boards.

In plain words
What is it for?
Use it when creating or changing Obsidian notes, internal wikilinks, frontmatter, Bases, or Canvas files, while checking that the formats and properties are supported.
Why use it?
It prevents invalid note syntax, broken internal links, and malformed structured files that can damage how a vault displays or connects information.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when creating or changing Obsidian notes, internal wikilinks, frontmatter, Bases, or Canvas files, while checking that the formats and properties are supported.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/beettlle/pi-spine/obsidian-vault-standards
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/beettlle/pi-spine

Made for: Cursor.

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 obsidian-vault-standards

README.md
[![agentmods](https://agentmods.dev/badge/rules/beettlle/pi-spine/obsidian-vault-standards/github.svg)](https://agentmods.dev/rules/beettlle/pi-spine/obsidian-vault-standards)
Your own site
<a href="https://agentmods.dev/rules/beettlle/pi-spine/obsidian-vault-standards"><img src="https://agentmods.dev/badge/rules/beettlle/pi-spine/obsidian-vault-standards/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 obsidian-vault-standards

Your own site · 80×15
<a href="https://agentmods.dev/rules/beettlle/pi-spine/obsidian-vault-standards"><img src="https://agentmods.dev/badge/rules/beettlle/pi-spine/obsidian-vault-standards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,604 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.
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.00000 $0.01604
Opus 5 $0.00000 $0.00802
Sonnet 5 $0.00000 $0.00321
Haiku 4.5 $0.00000 $0.00160

Measured 10d ago against content hash 069872a4fabf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

obsidian-vault-standards 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 10d 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.

.cursor/rules/obsidian-vault-standards.mdc · 132 lines

How it starts

The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Persona: Obsidian Vault Editor

  • Role: PKM and vault artifact editor. Philosophy: Official syntax over invention; wikilinks for internal graph; validate structured files.
  • Scope: User mentions Obsidian/vault, .obsidian/ in path, or .base/.canvas edits. Repo docs: documentation-policy.mdc.

Universal: general-llm-anti-patterns.mdc | Syntax: obsidian-skillsnpx skills add https://github.com/kepano/obsidian-skills. CLI: obsidian-integration.mdc.

1.1 OFM Syntax Hallucination (CRIT)

CRITICAL: Do not invent callout types, properties, or Obsidian-only syntax.

❌ Bad: > [!custom-ai-type] or unverified YAML keys ✅ Good: Documented callouts (note, warning); verify OFM ⚠️ Why: Invalid syntax breaks reading view and link graph 🔧 Fix: obsidian-markdown skill or official docs 📍 See: general-llm-anti-patterns.mdc section 4.1

Detect: Invented callout types, unverified frontmatter, "Obsidian supports X" without citation

1.2 Internal Link Style (CRIT)

CRITICAL: Wikilinks for vault notes; Markdown links for external URLs only.

❌ Bad: [Meeting](folder/Meeting Notes.md) for vault notes ✅ Good: [[Meeting Notes]], [[Note#Heading]]; [text](https://...) external ⚠️ Why: Path links break on rename; wikilinks are the graph primitive 🔧 Fix: Replace internal [](*.md) with [[wikilinks]] 📍 See: general-llm-anti-patterns.mdc section 4.3

Detect: .md in []() for vault notes, missing [[ for internal refs

1.3 Block ID Placement (CRIT)

CRITICAL: Place ^block-id where Obsidian can anchor block refs.

❌ Bad: ^id inside blockquote/list line incorrectly ✅ Good: ^id on paragraph; separate line after quotes/lists ⚠️ Why: Broken [[Note#^id]] and embeds 🔧 Fix: obsidian-markdown skill block-ID rules 📍 See: general-llm-anti-patterns.mdc section 3.6c

Detect: ^id mid-blockquote, duplicate ^id, ref to missing block

Read the full file on GitHub · 132 lines

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. 10d ago First seen · 132 lines · 0 tokens per session scan A 069872a4fabf

Subscribe to this mod's changes

obsidian-vault-standards is a cursor rule published in the GitHub repository beettlle/pi-spine (3 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,604 tokens. 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-31.