vault-skill-factory

vault-skill-factory is a skill for Claude Code from Ar9av/obsidian-wiki. It costs 93 tokens per session (3,442 once invoked), scanned A, original, MIT.

A generator that turns a group of carefully checked Obsidian wiki pages into a reusable Agent Skill containing instructions and reference files.

In plain words
What is it for?
It helps select mature wiki content, create a reviewable SKILL.md and references folder, and explain how to install the result locally if wanted.
Why use it?
It provides a repeatable way to package trusted notes for reuse while keeping the generated skill separate until a person reviews and installs it.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; reads ~/.codex paths; mentions Codex.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is ln -s ../../skills/<name> <repo>/.claude/skills/<name> # after copying <name>/ into skills/, sans SKILL_FACTORY.md.

Part of the obsidian-wiki plugin — 42 skills, 2 hooks, 1 MCP server shipped together

Good fit It helps select mature wiki content, create a reviewable SKILL.md and references folder, and explain how to install the result locally if wanted.

Compare 6 skills from other repositories ↓
About the project

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.

Ar9av/obsidian-wiki · 3,835 stars · on GitHub

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/Ar9av/obsidian-wiki
agentmods
npx agentmods add skills/ar9av/obsidian-wiki/vault-skill-factory

Made for: Claude Code.

Or install obsidian-wiki, the plugin that ships this one along with the rest of its 42 skills, 2 hooks, 1 MCP server.

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 vault-skill-factory

README.md
[![agentmods](https://agentmods.dev/badge/skills/ar9av/obsidian-wiki/vault-skill-factory/github.svg)](https://agentmods.dev/skills/ar9av/obsidian-wiki/vault-skill-factory)
Your own site
<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.

agentmods 80×15 button for vault-skill-factory

Your own site · 80×15
<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>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,442 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
  • Socket pass 7 Nov 2026
  • Snyk pass 6 Nov 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
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.
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.00093 $0.03442
Opus 5.5 $0.00037 $0.01377
Sonnet 5.5 $0.00019 $0.00688
Haiku 4.5 $0.00009 $0.00344

Measured 14d ago against content hash 4c3a54beb268, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/vault-skill-factory/SKILL.md · 240 lines

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 run setup.sh or 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

  1. Resolve config (Config Resolution Protocol in llm-wiki/SKILL.md): get OBSIDIAN_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 the skills/ 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 + description frontmatter), not wiki pages — never write them into skills/ (that category is for knowledge pages and is graph-/lint-/index-tracked).
    • SKILL_FACTORY_MATURITY — comma list of lifecycle: values that count as "mature". Default: reviewed,verified. Pages with tier: core also qualify.
  2. Read index.md to understand what the vault holds.

Read the full file on GitHub · 240 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. 14d ago Changed · +103 lines · +46 tokens per session 4c3a54beb268
  2. 24d ago Changed b1f2d65ac26e
  3. 1mo ago Changed · -7 lines · -125 tokens per session 77ba7354521a
  4. 3mo ago First seen · 144 lines · 172 tokens per session scan A 3acb03105495

Subscribe to this mod's changes

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.

Related

vault-skill-factory compared with skills from other repositories

vault-skill-factory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vault-skill-factoryAr9av/obsidian-wikiSkill3.8k3d agoMITA93Claude Code
llm-wikiTheSmuks/ai-project-templateSkill81mo agoMITA31Claude Code, Codex
llmwikiatomicstrata/llm-wiki-compilerSkill2.3k2d agoMITA66Claude Code, Codex
llm-wikizosmaai/pi-llm-wikiSkill6345d agoMITA52Claude Code
link-memorygowtham0992/linkSkill2252d agoMITA0Claude Code, Codex
link-retrievegowtham0992/linkSkill2252d agoMITA42Claude Code, Codex
link-ingestgowtham0992/linkSkill2252d agoMITA44Claude Code, Codex