
Vault Skill Factory
Create a reviewable Agent Skill package from mature curated wiki pages.
Install
npx skills add Ar9av/obsidian-wiki --skill vault-skill-factory -g -a claude-code -y- Repository
- Ar9av/obsidian-wiki3.6k
- Category
- AI and agents
- Updated
- 3d ago
- License
- MIT
- Context cost
- Mediumabout 1,807 tokens
- Runs scripts
- No, instructions only
What it does
Create a reviewable Agent Skill package from mature curated wiki pages. Use when turning verified vault knowledge into a reusable skill. Reads the vault and writes only to a review directory; it does not install skills.
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.
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.

