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.
npx agentmods add rules/beettlle/pi-spine/obsidian-integrationgit clone --depth 1 https://github.com/beettlle/pi-spineWrote 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.
[](https://agentmods.dev/rules/beettlle/pi-spine/obsidian-integration)<a href="https://agentmods.dev/rules/beettlle/pi-spine/obsidian-integration"><img src="https://agentmods.dev/badge/rules/beettlle/pi-spine/obsidian-integration.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00015 | $0.00689 |
| Opus 5 | $0.00008 | $0.00345 |
| Sonnet 5 | $0.00003 | $0.00138 |
| Haiku 4.5 | $0.00002 | $0.00069 |
Grade A, and why
obsidian-integration 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Obsidian integration
When the user asks to read, create, search, or manage vault content—or develop plugins/themes—use the Obsidian CLI. Requires Obsidian to be open. Authoritative command list: obsidian help — CLI docs.
Upstream skills (install, do not duplicate): obsidian-skills
npx skills add https://github.com/kepano/obsidian-skills
Or copy skills into project .cursor/skills/ per Cursor documentation.
Targeting
| Parameter | Use |
|---|---|
file= |
Wikilink-style name (no path/extension required) |
path= |
Exact path from vault root, e.g. folder/note.md |
vault= |
First arg to target a vault: obsidian vault="My Vault" search query="x" |
silent |
Flag: do not open files after command |
--copy |
Copy command output to clipboard |
total |
On list commands: return count only |
Default target: active file in most recently focused vault.
Common commands
| Command | Description |
|---|---|
obsidian read file="My Note" |
Read note content |
obsidian create name="New" content="# Hi" template="T" silent |
Create note |
obsidian append file="My Note" content="line" |
Append to note |
obsidian search query="term" limit=10 |
Search vault |
obsidian daily:read / daily:append content="- [ ] task" |
Daily note |
obsidian property:set name="status" value="done" file="My Note" |
Frontmatter property |
obsidian backlinks file="My Note" |
Backlinks |
obsidian tasks daily todo |
Task queries |
Multiline CLI content: use \n for newline, \t for tab in content=.
Plugin development loop
obsidian plugin:reload id=my-pluginobsidian dev:errors— fix and repeat from step 1 if errorsobsidian dev:screenshot path=screenshot.pngorobsidian dev:dom selector=".workspace-leaf" textobsidian dev:console level=error
Also: obsidian eval code="...", obsidian dev:css selector="..." prop=..., obsidian dev:mobile on — see obsidian help.
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.
- 5d ago First seen · 63 lines · 15 tokens per session scan A a6b9d548d5d9
obsidian-integration is a cursor rule published in the GitHub repository beettlle/pi-spine (3 stars, last pushed today), licensed MIT. It adds 15 tokens to every session and 689 once invoked, about $0.0001 per session on Opus 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-31.
Other cursor rules, from other repositories
reflection-basic
Basic reflection format for Level 2 Simple Enhancement tasks.
cursor-fable-rules
Fable coding lifecycle discipline and situational awareness for Cursor.
git-workflow
Rules for git operations, commit strategy, and GitHub CLI usage.
feedback-enhanced
Enhanced feedback mechanism with 1-hour timeout - 增强反馈机制,1小时超时.
122-swift-development
122: Swift development workflow including TDD, refactoring, and performance optimization.
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.