Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
ar9av avatar

Wiki Capture

  • 2.4k installs
  • 3.1k repo stars
  • Updated August 4, 2026
  • ar9av/obsidian-wiki

wiki-capture saves conversation knowledge as classified Obsidian wiki notes or quick _raw/ staging files.

About

The wiki-capture skill preserves conversation substance as permanent Obsidian wiki notes, not chat transcripts. Full mode classifies content into synthesis, concept, source, decision, or session types, rewrites declarative knowledge with provenance markers, writes frontmatter-rich pages, links at least two existing wiki pages, and updates index.md, log.md, and hot.md. Quick mode via --quick drops topic-clustered findings to _raw/ in under sixty seconds with no manifest or index writes, gated by KEEP versus SKIP rules that favor manual invocation. Config resolves OBSIDIAN_VAULT_PATH and link format via the llm-wiki protocol. Full mode body templates vary by type with Context, Finding, Reasoning, and Related sections. Quick mode clusters findings by topic, assigns base_confidence from discussion through test confirmation, and defers promotion to /wiki-ingest. Optional QMD refresh runs update and embed after vault writes without rolling back on failure. Teams invoke it when users say save this, capture this, or file this conversation into lasting knowledge.

  • Full mode: classify, rewrite declaratively, write wiki page with wikilinks.
  • Quick mode: _raw/ staging under 60s; promotion via /wiki-ingest later.
  • Five content types: synthesis, concept, source, decision, session.
  • KEEP/SKIP gate prevents spam; Stop hook errs toward SKIP.
  • Updates index.md, log.md, hot.md; optional QMD refresh after writes.

Wiki Capture by the numbers

  • 2,423 all-time installs (skills.sh)
  • +36 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #158 of 1,879 Documentation skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

wiki-capture capabilities & compatibility

Capabilities
full and quick capture modes with keep/skip gati · five type classification with folder routing · declarative rewrite with extracted inferred ambi · vault tracking updates to index log and hot file · optional qmd update and embed refresh after writ
Works with
obsidian
Use cases
documentation · memory · planning
npx skills add https://github.com/ar9av/obsidian-wiki --skill wiki-capture

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2.4k
repo stars3.1k
Security audit3 / 3 scanners passed
Last updatedAugust 4, 2026
Repositoryar9av/obsidian-wiki

How do I turn what we just discussed into a permanent, structured wiki note in my Obsidian vault?

Save conversation knowledge as structured Obsidian wiki notes with full classification or quick _raw/ staging.

Who is it for?

Obsidian wiki users preserving decisions, findings, concepts, or session takeaways from agent chats.

Skip if: Skip for purely logistical chat, inconclusive exploration, or content already in the wiki.

When should I use this skill?

User says save this, /wiki-capture, capture this finding, or quick save to wiki.

What you get

A finished wiki page in the correct category folder or staged _raw/ files ready for /wiki-ingest.

  • Structured wiki note
  • Vault category placement

Files

SKILL.mdMarkdownGitHub ↗

Wiki Capture — Conversation to Wiki Note

You are preserving knowledge from the current conversation as a permanent wiki note. The goal is to extract the substance — the knowledge itself — not a summary of what was said.

This skill has two modes:

  • Full mode (default) — classify the content and write a finished, cross-linked wiki page directly into the right category. This is the rest of this document (Steps 1–7).
  • Quick mode (`--quick`) — zero-friction staging: drop findings to _raw/ in under 60 seconds with no manifest/index/log/QMD writes. Used for mid-session capture and by the session-end Stop hook. See below, then stop — do not run the full-mode steps.

Quick Mode (--quick)

Trigger when invoked as /wiki-capture --quick, by "quick capture" / "capture this finding" / "save this bug fix" / "save this gotcha" / "drop this to raw" / "quick save to wiki", or automatically by the session-end Stop hook.

Speed contract: Inline only. No subagents. No QMD. No manifest/index.md/log.md/hot.md writes. Target: <60 seconds. Promotion to full wiki pages happens later via /wiki-ingest.

1. Resolve config (Config Resolution Protocol in llm-wiki/SKILL.md): get OBSIDIAN_VAULT_PATH and OBSIDIAN_RAW_DIR (default: $OBSIDIAN_VAULT_PATH/_raw). Ensure $OBSIDIAN_RAW_DIR exists; create it if not.

2. Gate — KEEP or SKIP? Before extracting, judge whether this session has capture value. This keeps the skill safe to call automatically without spamming _raw/.

  • SKIP (exit with "Nothing worth capturing in this session.") if ALL are true: the conversation is purely conversational (planning/Q&A/explanation) with no implementation; no errors, debugging, or problem-solving visible; nothing surprising or undocumented; every finding is already obvious from the docs.
  • KEEP (proceed) if ANY are true: a fix or workaround was found through investigation; non-obvious library/API/framework behavior was confirmed (edge case, undocumented constraint, time-costing gotcha); a debugging session reached a concrete conclusion; a reusable pattern emerged.
  • When invoked via the Stop hook, err toward SKIP — only KEEP on clear evidence. When invoked manually, err toward KEEP — the user called it for a reason.

3. Scan for reusable findings — non-obvious bugs and root causes, framework/library gotchas, surprising API behavior, investigated workarounds, environment/toolchain quirks, patterns from debugging. Skip PM updates, config already in CLAUDE.md, inconclusive back-and-forth, anything obvious from the docs, and pleasantries. If nothing material emerged, say so and stop.

4. Cluster by topic — one _raw/ file per topic cluster, not per finding. Name each as a kebab-case slug (e.g. swift-actor-reentrancy, nextjs-hydration-mismatch).

5. Infer project context from repo names, file paths, framework mentions, error messages. Use the most specific name you can reliably infer; else null.

6. Write raw files — for each cluster, write $OBSIDIAN_RAW_DIR/<ISO-date>-<slug>.md. Read references/RAW-FORMAT.md for the full frontmatter spec, finding-block body structure, and provenance/confidence calibration. Per-cluster fields that vary: title, tags (2–4 from taxonomy), summary (≤200 chars), project (inferred or null), base_confidence (0.6 discussed → 0.75 fix applied → 0.9 test confirmed), provenance.extracted/provenance.inferred (sum to 1.0), lifecycle_changed (today), sources ("<project> session (<YYYY-MM-DD>)").

7. Confirm — list staged files and tell the user to run /wiki-ingest to promote them:

   Staged to _raw/:
     _raw/2026-05-27-swift-actor-reentrancy.md   — "Actor reentrancy causes deadlock in async forEach"
   Run /wiki-ingest to promote these to full wiki pages.

Quick mode deliberately does not write the manifest, index.md, log.md, hot.md, or refresh QMD — promotion via /wiki-ingest handles all of that. Stop here; do not run the full-mode steps below.

---

Full Mode

Before You Start

1. Resolve config — follow the Config Resolution Protocol in llm-wiki/SKILL.md (walk up CWD for .env~/.obsidian-wiki/config → prompt setup). This gives OBSIDIAN_VAULT_PATH and OBSIDIAN_LINK_FORMAT (default: wikilink). 2. Read $OBSIDIAN_VAULT_PATH/index.md to understand existing wiki content (avoid duplicates) 3. Read $OBSIDIAN_VAULT_PATH/hot.md if it exists — it gives context on recent activity

When writing internal links in Step 5, apply the link format from llm-wiki/SKILL.md (Link Format section) using the OBSIDIAN_LINK_FORMAT value.

Step 1: Identify What's Worth Preserving

Scan the conversation. Ask: what knowledge emerged here that would be valuable in 3 months with no memory of this chat?

Worth preserving:

  • Decisions made and why they were made
  • Analysis, frameworks, mental models developed
  • Technical findings, patterns, or procedures
  • Synthesized understanding of a topic
  • Clear explanations of a concept that took effort to arrive at
  • Key facts from an external source discussed in the conversation

Skip:

  • Logistics, scheduling, pleasantries
  • Exploratory back-and-forth where no conclusion was reached
  • Content that's already in the wiki

If nothing material emerged, tell the user and stop.

Step 2: Classify the Content Type

Assign one of five types — this determines the target folder and tone:

TypeDescriptionTarget folder
synthesisMulti-step analysis or an answer to a specific question that required reasoningsynthesis/
conceptA definition, framework, or mental model (what a thing is)concepts/
sourceSummary of an external document, article, or resource discussedreferences/
decisionA strategic, architectural, or design choice and its rationalesynthesis/
sessionA complete discussion summary when the conversation spans multiple topicsjournal/

If the content clearly belongs to a specific project (detected from context or user mention), place it under projects/<project-name>/<category>/ instead.

Step 3: Rewrite as Declarative Knowledge

Do not write a summary of the conversation. Write the knowledge itself, in declarative present tense:

  • Not: "The user asked about X and Claude explained that..."
  • Yes: "X works by..."
  • Not: "We decided to use Y because..."
  • Yes: "Y is preferred over Z because [reason]. [^[inferred] if the rationale was implied, not stated explicitly]"

Apply provenance markers per llm-wiki:

  • Extracted — explicitly stated in the conversation (no marker)
  • Inferred — generalized or synthesized from the conversation → ^[inferred]
  • Ambiguous — disputed, uncertain, or contradictory → ^[ambiguous]

Step 4: Generate a Slug and Title

Derive a clear, descriptive title from the content. Slugify it:

  • Lowercase, words separated by hyphens
  • Max 50 characters
  • Avoid dates in the slug (the frontmatter has created)

Step 5: Write the Wiki Note

Create the file at the target path with required frontmatter:

---
title: >-
  <Title>
category: <synthesis|concepts|references|journal|skills>
tags: [<2-5 domain tags from taxonomy>]
sources:
  - conversation:<ISO-date>
created: <ISO-8601 timestamp>
updated: <ISO-8601 timestamp>
summary: >-
  <1-2 sentences, ≤200 chars, answering "what knowledge does this page hold?">
provenance:
  extracted: 0.X
  inferred: 0.X
  ambiguous: 0.X
base_confidence: 0.42
lifecycle: draft
lifecycle_changed: <ISO date today>
---

Body structure by type:

synthesis / decision:

# Title

## Context
<What prompted this — the problem or question being addressed>

## Finding / Decision
<The core knowledge or conclusion>

## Reasoning
<Why this is the case or why this choice was made>

## Implications
<What follows from this — what to watch for, next steps, trade-offs>

## Related
<[[wikilinks]] to connected pages>

concept:

# Title

<Definition in one clear sentence.>

## What It Is
<Explanation of the concept>

## How It Works
<Mechanism or structure>

## When to Use
<Applicability, conditions, trade-offs>

## Related
<[[wikilinks]]>

source:

# Title

> Source: <title or URL>

## What It Covers
<What the source is about>

## Key Points
<Bulleted claims with provenance markers>

## Open Questions
<What it raises but doesn't answer — omit if none>

## Related
<[[wikilinks]]>

session:

# Title

*Session captured: <date>*

## Topics Covered
<Brief list>

## Key Takeaways
<The 3-5 most important things that emerged>

## Decisions Made
<Any explicit decisions, with rationale>

## Open Questions
<What remains unresolved>

## Related
<[[wikilinks]]>

Every note must link to at least 2 existing wiki pages. Search index.md before writing. If fewer than 2 related pages exist, create minimal stubs for the most important concepts referenced.

Step 6: Update Tracking Files

`index.md` — Add the new page under its category section.

`log.md` — Append:

- [TIMESTAMP] CAPTURE type=<type> page="<path>" title="<title>"

`hot.md` — Update Recent Activity with what was just captured. Update Key Takeaways if the note introduced something worth flagging. Update updated timestamp.

Step 7: Confirm to User

Report the saved path and title:

Saved to: projects/<name>/synthesis/<slug>.md
Title: <Title>
Type: synthesis

Quality Checklist

  • [ ] Content rewritten as declarative knowledge (not a chat transcript)
  • [ ] Type classified correctly; target path is in the right folder
  • [ ] Frontmatter complete with title, category, tags, sources, summary, provenance
  • [ ] At least 2 wikilinks to existing pages
  • [ ] index.md, log.md, and hot.md updated
  • [ ] Confirmed save path to user

QMD Refresh After Vault Writes

QMD is a search index, not the source of truth. If $QMD_WIKI_COLLECTION is empty or unset, skip this step. Run it only after this skill has written or rewritten vault markdown. If QMD refresh fails, do not roll back the vault changes; report the QMD status separately.

Use $QMD_CLI if set; otherwise use qmd.

${QMD_CLI:-qmd} update

If the output says vectors are needed or embeddings may be stale, run:

${QMD_CLI:-qmd} embed

Verify the collection with either:

${QMD_CLI:-qmd} ls "$QMD_WIKI_COLLECTION"

or, when a specific page path is known:

${QMD_CLI:-qmd} get "qmd://$QMD_WIKI_COLLECTION/<page>.md" -l 5

Record one of:

  • QMD refreshed: update + embed + verified
  • QMD refreshed: update only + verified
  • QMD skipped: QMD_WIKI_COLLECTION unset
  • QMD skipped: qmd CLI unavailable
  • QMD failed: <short error summary>

Related skills

FAQ

What is the difference between full and quick mode?

Full writes classified pages with index updates; quick drops _raw/ clusters without manifest or index writes.

When does quick mode SKIP?

When the session is purely conversational with no fixes, gotchas, or reusable patterns worth preserving.

How many wikilinks must a full-mode note include?

At least two existing wiki pages; create minimal stubs if fewer related pages exist.

Is Wiki Capture safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Documentationnotesworkflow

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.