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 skills add po4yka/llm-wiki-skills --skill llm-wiki-obsidian-hardeninggit clone --depth 1 https://github.com/po4yka/llm-wiki-skillsWrote 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/skills/po4yka/llm-wiki-skills/llm-wiki-obsidian-hardening)<a href="https://agentmods.dev/skills/po4yka/llm-wiki-skills/llm-wiki-obsidian-hardening"><img src="https://agentmods.dev/badge/skills/po4yka/llm-wiki-skills/llm-wiki-obsidian-hardening/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.
<a href="https://agentmods.dev/skills/po4yka/llm-wiki-skills/llm-wiki-obsidian-hardening"><img src="https://agentmods.dev/badge/skills/po4yka/llm-wiki-skills/llm-wiki-obsidian-hardening.svg" alt="Reviewed on agentmods" width="80" 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.00068 | $0.00723 |
| Opus 5.5 | $0.00027 | $0.00289 |
| Sonnet 5.5 | $0.00014 | $0.00145 |
| Haiku 4.5 | $0.00007 | $0.00072 |
Grade A, and why
llm-wiki-obsidian-hardening 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.
How it starts
The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LLM-Wiki Obsidian Hardening
Goal
Make an Obsidian vault safer for agent-assisted LLM-Wiki work.
When to use
- Before letting a coding agent edit an Obsidian vault for the first time.
- When wikilinks, embeds, or attachment folders keep breaking after agent edits.
- When setting up
AGENTS.md/CLAUDE.mdboundaries for a vault used with LLM-Wiki workflows. - When a vault syncs via iCloud, Syncthing, or Obsidian Sync and index or WAL files risk corruption.
- Before running bulk edits or migrations across vault notes.
Inputs
- Obsidian vault path.
- Desired mode: audit-only or apply.
- Sync method if known.
- Existing plugins and conventions if relevant.
Procedure
1. Preflight
Check:
- git or backup exists;
.obsidian/is present;- attachment folders and embedded files;
- wikilink style;
- frontmatter style;
- existing
AGENTS.md/CLAUDE.md; - sync tool and local cache/index files;
- re-verify the vault's current file state immediately before applying changes, since sync tools may have modified files since the initial scan.
2. Protect Obsidian semantics
Ensure instructions say:
- preserve
[[wikilinks]]unless user asks otherwise; - do not rewrite embeds
![[...]]; - do not move attachments without link repair;
- do not
catthe whole vault; - use
rgor Obsidian CLI when available; - preserve comments, aliases and YAML quoting.
3. Add LLM-Wiki boundaries
Recommend or add:
raw/
wiki/
inbox/
_meta/
_agent/
Add protected section markers around human synthesis when useful.
4. Harden writes
Suggest:
- dry-run for bulk edits;
- git branch for migrations;
- frontmatter validation;
- no edits under
raw/; wiki-lintafter large changes;- local-only handling for sensitive notes.
5. Sync and index policy
Flag dangerous patterns:
- syncing SQLite WAL/SHM files;
- syncing HNSW/vector index files;
- using multiple sync systems on one vault;
- treating generated indexes as source of truth.
Prefer per-device indexes and reconstructable caches.
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.
- 1mo ago First seen · 119 lines · 68 tokens per session scan A 2226535717e4
llm-wiki-obsidian-hardening is a skill published in the GitHub repository po4yka/llm-wiki-skills (4 stars, last pushed 2d ago), licensed MIT. It adds 68 tokens to every session and 723 once invoked, about $0.0003 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-31.
Other skills, from other repositories
obsidian-memory
Explicit-only Obsidian memory workflow. Use when the user explicitly asks to work with an Obsidian vault, LLM wiki, agent memory, RAW/source ingest, provenance, QUERY, LINT, or release safety for a markdown knowledge system. Do not auto-route ordinary coding sessions into external vault workflows.
wiki-lint
Health-check a wiki vault. Finds orphan pages (no inbound links), dead wikilinks (point to non-existent pages), missing frontmatter fields, stale claims, empty sections, and pages absent from catalog.md. Produces a structured report with severity tiers and proposes concrete fixes — but does not auto-apply them unless…
save
File the current Claude conversation (or a specific insight from it) as a structured wiki note. Auto-detects the right type (decision, answer, session-log, technique, ADR), writes appropriate frontmatter, places the file in the correct wiki folder, and updates catalog.md, journal.md, hot.md. Use when the user says…
librarian
Orchestrate vault knowledge workflows using the Librarian MCP server. Ingest solutions, search prior art, explore the knowledge graph, log daily learnings.
wiki-export
Export a vault's wiki either as a single portable file (llms.txt or llms-full.txt per the llmstxt.org standard) or as an OKF knowledge bundle (Google's Open Knowledge Format v0.1 — a shareable directory of markdown files any AI agent can consume). Use when the user says "export my wiki", "make an llms.txt", "share my…
wiki-query
Answer a question using ONLY the existing wiki vault as the knowledge base — no web search, no general LLM knowledge. Reads hot.md first (cheap recent context), then catalog.md to navigate, then drills into specific pages, then optionally semantic-searches the wiki, and synthesizes an answer with citations. Use when…