obsidian-wiki is a framework that helps AI agents build and maintain an interconnected knowledge base from text-based material in an Obsidian vault. It is for people who want their agents to remember discoveries, connect related information, and answer questions with wiki-link citations. Catalogue add-ons provide the agent skills, instructions, agents, and configuration used to create and maintain these wikis.
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.
git clone --depth 1 https://github.com/Ar9av/obsidian-wikinpx agentmods add skills/ar9av/obsidian-wiki/vault-skill-factoryWrote 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/ar9av/obsidian-wiki/vault-skill-factory)<a href="https://agentmods.dev/skills/ar9av/obsidian-wiki/vault-skill-factory"><img src="https://agentmods.dev/badge/skills/ar9av/obsidian-wiki/vault-skill-factory/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/ar9av/obsidian-wiki/vault-skill-factory"><img src="https://agentmods.dev/badge/skills/ar9av/obsidian-wiki/vault-skill-factory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
- NVIDIA SkillSpector warn
SkillSpector: 1 finding, 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 Rogue Agent · line 23 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00093 | $0.03442 |
| Opus 5.5 | $0.00037 | $0.01377 |
| Sonnet 5.5 | $0.00019 | $0.00688 |
| Haiku 4.5 | $0.00009 | $0.00344 |
Grade A, and why
vault-skill-factory 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 14d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- beeweave-vault-skill-factory — 88% identical, 148 lines differ
How it starts
The opening of the file, as written. The whole thing — 240 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vault Skill Factory
You turn a cluster of mature, curated wiki pages into a portable Agent Skill: a
SKILL.md plus a references/ folder, written to a review directory for the human to inspect
and (only if they choose) install. This is the inverse of wiki-capture: capture turns a
conversation into a page; the factory turns a body of pages into a reusable skill.
Hard guardrails (read first)
- Never write into
skills/and never runsetup.shor create symlinks into any global skill directory (~/.claude/skills,~/.codex/skills, …). Generated skills go to the review dir only. Installation is a separate, explicit human decision. - Never auto-install. End by telling the user where the skill is and how to install it project-locally if they want — do not do it for them.
- Source pages are trusted vault content, but do not invent capabilities: the generated skill must reflect what the pages actually say.
Two modes
- Cluster mode (default): build the skill from a body of mature vault pages. Steps 1 to 5 below.
- Recording mode: build the skill from one recorded walkthrough: the owner doing a job once while saying out loud what they're doing and why. Use it when the user hands you a transcript, recording export or voice note and asks for a skill from it ("turn this recording into a skill", "I did the invoice run out loud, make it a skill"). Follow Recording mode below in place of Steps 1 and 2, then continue at Step 3.
Before You Start
- Resolve config (Config Resolution Protocol in
llm-wiki/SKILL.md): getOBSIDIAN_VAULT_PATH,OBSIDIAN_WIKI_REPO,OBSIDIAN_LINK_FORMAT, the QMD vars, and:SKILL_FACTORY_OUTPUT_DIR— where generated skills land. Default:$OBSIDIAN_VAULT_PATH/_generated-skills(a vault-level, underscore-prefixed excluded dir — like_raw/_staging/_sources, NOT theskills/knowledge category). This co-locates generated skills with the vault they were distilled from. Create it if missing. Note:_generated-skills/holds runtime Agent-Skill bundles (name+descriptionfrontmatter), not wiki pages — never write them intoskills/(that category is for knowledge pages and is graph-/lint-/index-tracked).SKILL_FACTORY_MATURITY— comma list oflifecycle:values that count as "mature". Default:reviewed,verified. Pages withtier: corealso qualify.
- Read
index.mdto understand what the vault holds.
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.
- 14d ago Changed · +103 lines · +46 tokens per session 4c3a54beb268
- 24d ago Changed b1f2d65ac26e
- 1mo ago Changed · -7 lines · -125 tokens per session 77ba7354521a
- 3mo ago First seen · 144 lines · 172 tokens per session scan A 3acb03105495
vault-skill-factory is a skill published in the GitHub repository Ar9av/obsidian-wiki (3,835 stars, last pushed 3d ago), licensed MIT. It adds 93 tokens to every session and 3,442 once invoked, about $0.0004 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.
vault-skill-factory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| vault-skill-factoryAr9av/obsidian-wiki | Skill | 3.8k | 3d ago | MIT | A | 93 | Claude Code |
| llm-wikiTheSmuks/ai-project-template | Skill | 8 | 1mo ago | MIT | A | 31 | Claude Code, Codex |
| llmwikiatomicstrata/llm-wiki-compiler | Skill | 2.3k | 2d ago | MIT | A | 66 | Claude Code, Codex |
| llm-wikizosmaai/pi-llm-wiki | Skill | 634 | 5d ago | MIT | A | 52 | Claude Code |
| link-memorygowtham0992/link | Skill | 225 | 2d ago | MIT | A | 0 | Claude Code, Codex |
| link-retrievegowtham0992/link | Skill | 225 | 2d ago | MIT | A | 42 | Claude Code, Codex |
| link-ingestgowtham0992/link | Skill | 225 | 2d ago | MIT | A | 44 | Claude Code, Codex |