본문으로 건너뛰기
cccskills
무료GitHub에 공개

vault-skill-factory

Turn reviewed wiki knowledge into a reusable Agent Skill package with SKILL.md, supporting references, and source records. Output goes to a review directory so a person can inspect it before choosing to install it.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

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.

설치 방법 보기

이럴 때 유용합니다

  • Turn reviewed wiki knowledge into a reusable skill
  • Combine related pages into an agent's working guide
  • Create a skill package with traceable sources
  • Inspect generated files before installing a skill

포함된 파일(1)

  • SKILL.md7.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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.

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.

Step 1: Choose the cluster

Decide which pages become the skill. The user may name a topic, tag, or project; otherwise propose candidates.

  1. Seed from the user's intent (a topic, tag, project, or a named page).
  2. Expand the cluster:
    • If QMD is configured (QMD_WIKI_COLLECTION), run qmd query "<topic>" -c "$QMD_WIKI_COLLECTION" --files (or vsearch) to gather semantically related pages — this is the intended way to find the full cluster, not just exact-tag matches.
    • Otherwise Grep/Glob by tag and wikilink-neighbourhood (pages linked from the seed pages).
  3. Filter by maturity: keep pages whose lifecycle: is in SKILL_FACTORY_MATURITY or whose tier: is core. Drop draft pages unless the user explicitly includes them.
  4. 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" (per skill-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 skill

SKILL.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. Their path differs between a pip/uv install and a source checkout, so check both layouts under $OBSIDIAN_WIKI_REPO and use the first that exists:

  • $OBSIDIAN_WIKI_REPO/skills/skill-creator/scripts/ — packaged install (OBSIDIAN_WIKI_REPO points at the bundled _data/ dir, which ships the skills under skills/).
  • $OBSIDIAN_WIKI_REPO/.skills/skill-creator/scripts/ — source checkout.

Whichever resolves, it holds:

  • improve_description.py — tighten the generated description for 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):
    ln -s ../../.skills/<name> <repo>/.claude/skills/<name>   # after copying <name>/ into .skills/, sans SKILL_FACTORY.md
    
    Note explicitly: review first; do not run setup.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)
  • description is pushy and accurate (when + what)
  • SKILL.md body is lean; depth lives in references/
  • ^[inferred]/^[ambiguous] markers preserved; no synthesis laundered into fact
  • references/sources.md traces back to vault pages + their sources
  • SKILL_FACTORY.md provenance manifest present (excluded from the installable skill)
  • Report names the path and the manual, project-local-only install step; nothing auto-installed

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Extract reusable knowledge from Claude Code conversations, memory files, and desktop agent audit logs. Organize findings by topic in Obsidian, preserving source attribution and distinguishing project details from patterns shared across projects.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Preserve project decisions from past Claude sessions
  • Turn debugging conversations into reusable notes
  • Document workflows found in desktop audit logs
Ar9av/obsidian-wiki3.6천2026년 10월 21일 업데이트

Explore an unfamiliar codebase before editing it. Produce a ranked map of important files, functions, callers, and dependencies, with source locations and evidence types to guide code reading and assess the likely impact of changes.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Understanding an unfamiliar module before editing
  • Finding callers of a function
  • Assessing the impact of changed files
Ar9av/obsidian-wiki3.6천2026년 10월 21일 업데이트

Extract reusable knowledge from Codex CLI conversation and session logs, then organize it into topic-based Obsidian wiki pages. Combine insights across sessions, process new or changed files, and remove sensitive information rather than copying raw transcripts.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Turning Codex conversations into reusable wiki knowledge
  • Adding only new or changed session history
  • Consolidating recurring debugging techniques across sessions
Ar9av/obsidian-wiki3.6천2026년 10월 21일 업데이트

Turn GitHub Copilot CLI and VS Code conversation history into topic-based Obsidian wiki pages. Extract decisions, debugging approaches, and project knowledge from summaries, conversations, and saved notes, processing only new or changed sessions by default.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Preserve design decisions from past Copilot conversations
  • Combine debugging knowledge across multiple sessions
  • Add knowledge from new or updated sessions
Ar9av/obsidian-wiki3.6천2026년 10월 21일 업데이트

Find missing references between wiki pages using names, aliases, shared tags, and project context. Add links in the text or a related section, record relationship types, and report confidence levels and pages that remain disconnected.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Connect newly imported pages to existing wiki content
  • Turn unlinked mentions of page names into references
  • Find disconnected pages and project filing candidates
Ar9av/obsidian-wiki3.6천2026년 10월 21일 업데이트

Maintain an Obsidian wiki by checking source freshness, updating its index and activity summary, and recording maintenance status. Set up a daily 9 AM schedule and optional terminal reminders for overdue updates.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Refresh a wiki each morning
  • Check for changed or missing source files
  • Set up daily maintenance and terminal reminders
Ar9av/obsidian-wiki3.6천2026년 10월 21일 업데이트

Ar9av의 스킬 모두 보기

이 스킬의 문제 신고