vault-skill-factory
Skill3 starsChanged 12 days agoMITView on GitHub
Generate a portable, self-contained Agent Skill from mature, curated Obsidian wiki pages — turning a cluster of verified knowledge into a reusable "digital expert" (SKILL.md + references/). Use this skill when the user says "/vault-skill-factory", "make a skill from my wiki", "turn these pages into a skill", "generate an agent skill from my vault", "package my notes on X as a skill", "build a domain-expert skill from my wiki", or wants to distill recurring, mature wiki knowledge into a shareable skill. Inspired by OpenKB's "drop in a book → out comes a digital expert" pattern. The factory ONLY reads the vault and WRITES TO A REVIEW DIRECTORY — it never installs skills, never writes into .skills/, and never touches global skill directories.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- Ar9av/obsidian-wikiedited, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- Ar9av/obsidian-wiki★ 3.7k88% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- claude-history-ingestSkill
- cross-linkerSkill
- daily-updateSkill
- graph-colorizeSkill
- hermes-history-ingestSkill
- impl-validatorSkill
- llm-wikiSkill
- memory-bridgeSkill
- skill-creatorSkill
- tag-taxonomySkill
- wiki-agentSkill
- wiki-captureSkill
- wiki-context-packSkill
- wiki-dashboardSkill
- wiki-dedupSkill
- wiki-digestSkill
- wiki-exportSkill
- wiki-history-ingestSkill
- wiki-importSkill
- wiki-ingestSkill
- wiki-lintSkill
- wiki-querySkill
- wiki-rebuildSkill
- wiki-researchSkill
- wiki-setupSkill
- wiki-stage-commitSkill
- wiki-statusSkill
- wiki-switchSkill
- wiki-synthesizeSkill
- wiki-updateSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 1 is distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 44
Default: reviewed,verified.
- Very specific: line 45
Read index.md to understand what the vault holds.
- Very specific: line 54
If QMD is configured (QMD_WIKI_COLLECTION), run qmd query "<topic>" -c "$QMD_WIKI_COLLECTION" --files (or vsearch) to gather semantically …
- Very specific: line 58
Filter by maturity: keep pages whose lifecycle: is in SKILL_FACTORY_MATURITY or whose tier: is core.
- Very specific: line 89
SKILL.md body: should be lean (the trigger logic + a compact reasoning guide), pushing depth into references/.
- Distinctive: line 111
Use them when the user wants a polished/validated artifact.
- Very specific: line 125
Do not install it yourself.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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,LLM_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 a 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 into a category folder from the vault's CATEGORIES table (those hold knowledge pages and are graph-/lint-/index-tracked; older vaults have one namedskills/, which is knowledge too, not agent skills).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.
Step 1: Choose the cluster
Decide which pages become the skill. The user may name a topic, tag, or project; otherwise propose candidates.
- Seed from the user's intent (a topic, tag, project, or a named page).
- Expand the cluster:
- If QMD is configured (
QMD_WIKI_COLLECTION), runqmd query "<topic>" -c "$QMD_WIKI_COLLECTION" --files(orvsearch) to gather semantically related pages — this is the intended way to find the full cluster, not just exact-tag matches. - Otherwise
Grep/Globby tag and wikilink-neighbourhood (pages linked from the seed pages).
- If QMD is configured (
- Filter by maturity: keep pages whose
lifecycle:is inSKILL_FACTORY_MATURITYor whosetier:iscore. Dropdraftpages unless the user explicitly includes them. - Confirm the cluster with the user (list page names + count) before generating. If fewer than ~3 mature pages match, say so — a skill from one thin page isn't worth it; offer to proceed anyway or widen the net.
Step 2: Design the skill
From the cluster, decide:
name— kebab-case, derived from the cluster's subject (e.g.french-theory-expert,peptide-protocols). Must not collide with an existing skill in.skills/.description— the trigger. Write it "pushy" (perskill-creator): state when to use it (all the phrasings a user might say) and what it does. This field is what makes the skill fire.- Reasoning approach — how an agent should use this knowledge: the questions it answers, the method it applies, the caveats it respects. Distil this from the pages' synthesis, not a copy-paste.
- Depth material — which page bodies become
references/files.
Step 3: Write the skill to the review dir
Create $SKILL_FACTORY_OUTPUT_DIR/<name>/ with:
<name>/
├── SKILL.md # frontmatter (name + pushy description) + reasoning approach + key knowledge
├── references/ # depth material distilled from the cluster
│ ├── <topic>.md # one per sub-theme; declarative knowledge, not chat
│ └── sources.md # provenance: which vault pages this was built from (+ their sources)
└── SKILL_FACTORY.md # provenance manifest (see below) — NOT part of the installed skillSKILL.md body should be lean (the trigger logic + a compact reasoning guide), pushing depth into
references/. Follow the structure of existing skills in this repo. Preserve ^[inferred] /
^[ambiguous] markers when carrying over uncertain claims — a generated skill must not launder
synthesis into fact.
references/sources.md lists every vault page used (by [[wikilink]]) and their upstream
sources: — so the skill stays auditable back to the vault and original sources.
SKILL_FACTORY.md (factory metadata, kept out of the installable skill) records: generation
date, the cluster pages + their lifecycle/tier, the maturity filter used, and the vault commit/hash
if available. This lets a regenerate-on-update workflow diff later.
Optional, if the user asks: append/update a marketplace.json entry in the output dir (the OpenKB
one-line-install convention) — still not an install, just a manifest.
Step 4: Optionally lean on skill-creator
skill-creator ships reusable scripts ($LLM_WIKI_REPO/.skills/skill-creator/scripts/):
improve_description.py— tighten the generateddescriptionfor better triggering.package_skill.py— bundle the skill dir into a distributable archive.quick_validate.py— sanity-check the skill's structure.
Use them when the user wants a polished/validated artifact; don't reinvent them.
Step 5: Report — and stop
Tell the user:
- the path:
$SKILL_FACTORY_OUTPUT_DIR/<name>/ - the cluster it was built from (page count + names)
- the trigger
description - How to install if they want it (their decision, project-local only):
Note explicitly: review first; do not runln -s ../../.skills/<name> <repo>/.claude/skills/<name> # after copying <name>/ into .skills/, sans SKILL_FACTORY.mdsetup.sh(it fans skills into global dirs); never global-install without explicit agreement.
Do not install it yourself. Do not write to .skills/. Done.
Quality checklist
- Output went to
$SKILL_FACTORY_OUTPUT_DIR, never.skills/or a global dir - Cluster confirmed with the user; only mature pages (per
SKILL_FACTORY_MATURITY/tier: core) descriptionis pushy and accurate (when + what)- SKILL.md body is lean; depth lives in
references/ ^[inferred]/^[ambiguous]markers preserved; no synthesis laundered into factreferences/sources.mdtraces back to vault pages + their sourcesSKILL_FACTORY.mdprovenance manifest present (excluded from the installable skill)- Report names the path and the manual, project-local-only install step; nothing auto-installed
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

