/commonplace:wiki-initfrom commonplace
Initializes the wiki plugin for any folder of markdown files. Detects vault structure, writes config files, and discovers domains/genres. Invoke explicitly via /wiki-init.
Ships in commonplace. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Initialize the wiki plugin for any folder of markdown files — an Obsidian vault, a plain directory, or anything in between. Detects structure automatically and writes the config files needed for all other skills to work.
Obsidian is not required. The plugin works on any folder of .md files with YAML frontmatter and [[wikilinks]]. Obsidian is just a good browser for this format if the user has it.
paper, concept, moc) across up to 200 notes.wiki/config.json in the vault with detected structure, stub pattern, and MOC count pattern.vault-path to CLAUDE_PLUGIN_DATA (persistent across plugin updates) so all commands auto-discover the vaultCLAUDE.md with a domain registry sentinel block.wiki/conventions.json with empty rules — the wiki-conventions-tuner agent fills in the rules afterwardsResolution order:
/path/to/folder" → use thatpwd (run pwd to get the absolute path).obsidian/ or .wiki/ → use thatAny folder works — no Obsidian required. If the folder is empty or has no existing notes, that's fine: the plugin will initialize a skeleton structure.
commonplace init --vault "<vault-path>"
Read the JSON output directly — it reports what was written and flags any low-confidence detections.
If the output includes lowConfidence entries, review them with the user:
.wiki/config.json directly to correct the valueInit auto-discovers domains from vault directories and writes .wiki/domains.json. Review with the user:
public or private for any unclear domains$VAULT_PATH/.wiki/domains.json to correct scopes or add missing domainsInit writes .wiki/conventions.json with discovered genre detection signals (cssclasses values, top-level dirs) but leaves rules: {} empty for each. The init output's conventions.untuned field lists genres needing rules.
If conventions.untuned is non-empty, dispatch the wiki-conventions-tuner agent. Pass the vault path inline (do not let it discover). The agent samples notes per genre and proposes lead-link and external-source-citation rules, then writes them back after user approval.
If conventions.untuned is empty (everything already tuned from a previous run), skip this step.
The indexer also re-runs genre discovery automatically (auto-detects when new genres cross the 3-note threshold). To re-run discovery on demand without a full init, use commonplace discover-genres.
commonplace index --vault "<vault-path>"
After init, the vault path is stored in CLAUDE_PLUGIN_DATA (persistent directory that survives plugin updates). All commonplace commands auto-discover the vault — no --vault flag needed.
Tell the user:
init.ts or edit .wiki/config.json directlyWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
commonplace@stray-bits-sanctuary is listed by noopz/stray-bits-sanctuary — review the source before installing
npx claudepluginhub noopz/stray-bits-sanctuary --plugin commonplace10 skills in this plugin
/autoimproveAutonomous vault improvement loop (writes changes). Use when user says 'improve the vault', 'autoimprove', 'fix what you can', 'what's the vault score'. Do NOT use for read-only diagnostics — that's wiki-lint./paper-analyzerDeep paper breakdown (does not write vault notes). Use when user says 'analyze this paper', 'break down this paper', 'is this paper any good', or sends an arXiv ID/PDF with no save intent. Do NOT use when user wants the paper saved — that's wiki-ingest./vault-skillRun one of the vault's own Claude Code skills (its .claude/skills/, e.g. a YouTube or project intake) from a session started outside the vault. Use when the user names a vault skill or asks to "run <name> from my vault"./wiki-compileFill concept stubs with citation-grounded definitions. Use when user says 'fill in the stubs', 'compile concepts', 'flesh out concepts', or as follow-up after wiki-lint reports stubs. Do NOT use for new sources not yet in vault — that's wiki-ingest./wiki-domainSet up, list, rename, or merge research domains. Use when user says 'add a domain for X', 'set up a domain', 'what domains exist', 'change scope of X domain', 'merge X and Y domains'. Do NOT speculatively fire on ingest prompts — wiki-ingest hands off explicitly when no domain matches./wiki-ingestALWAYS use when the user wants a source saved to the vault — pastes an arXiv ID/URL, says 'add this to the vault', 'save this', 'remember this', 'I found this interesting', or describes a specific finding/technique/project to capture. Do NOT activate for general topic conversation — only when there's explicit save intent or a concrete source (URL, paper ID, pasted content).Other plugins' skills for the same job