/commonplace:wiki-domainfrom commonplace
Creates and manages research domains in an Obsidian vault, handling setup, listing, renaming, merging, and scope/linkGroup configuration.
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: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Create and manage research domains in the Obsidian vault. Domains are directory-based organizational units that group related source notes, with scope rules controlling cross-pollination.
Every source note lives in a domain directory. Domain is inferred from the file path via .wiki/domains.json. Each domain has a scope (public or private) and an optional linkGroup.
Linking rules:
linkGroup can cross-link bidirectionally, regardless of scope. Use this for related private domains (e.g., one project's subdomains that should see each other's concepts)Notes can override their domain's scope with scope: private in frontmatter (e.g., a sensitive note in a public domain).
How private domains behave in a session. Links are one-way: a private note may link to public notes, a public note may never link into a private one. A private domain is sealed — absent from every vault tool, search and connection — until the user runs /vault open <domain> (or starts the session inside its folder). /vault close <domain> seals it again; opening one domain of a linkGroup opens the group. Only the user can open a domain: never set COMMONPLACE_OPEN or pass --open yourself.
aliases: ["…"] on a domain entry lists other names the user calls it by; typing one in a prompt makes the plugin propose /vault open (it never opens on its own)./vault domain public|private <id> re-scopes a domain, including a folder the plugin quarantined because it appeared after the first v2 index.The vault path is stated above by the plugin; run commonplace config for the structure. Use structure.sources and structure.mocs for all directory creation — never assume any specific path.
Read the domain registry from $VAULT_PATH/.wiki/domains.json.
Also show stats from the index:
commonplace index --incremental
vault_list what:"domains" shows source and concept counts per domain (private domains appear only while open).
When the user wants a new domain:
Ask for name, scope, and linkGroup. Name should be kebab-case (e.g., home-automation, retro-consoles). Scope is public or private. If unsure, default to public for technical topics, private for personal/hobby topics. If the domain is related to other private domains, ask which linkGroup it belongs to.
Create the directory:
$VAULT_PATH/{structure.sources}/{Domain Name}/
Use the human-readable name with spaces for the directory (e.g., "Home Automation"), not the slug.
Update the domain registry in $VAULT_PATH/.wiki/domains.json:
Add a new entry to the domains object:
"new-domain-slug": { "path": "{structure.sources}/New Domain Name", "scope": "public", "linkGroup": "optional-group" }
Optionally create a starter MOC:
$VAULT_PATH/{structure.mocs}/{Domain Name} MOC.md
With appropriate frontmatter:
---
tags: [moc, domain-slug]
cssclasses: []
created: YYYY-MM-DD
---
Rebuild indexes:
commonplace index
User: "I want to start tracking retro console restorations"
→ Create directory {structure.sources}/Retro Consoles/
→ Add to .wiki/domains.json: "retro-consoles": { "path": "{structure.sources}/Retro Consoles", "scope": "private" }
→ Create {structure.mocs}/Retro Consoles MOC.md
→ Notes in this domain should have scope: private in frontmatter
→ Report: "Created Retro Consoles domain (private scope). It's isolated — concepts won't cross into your public research. If you later add related hobby domains, I can group them with a linkGroup so they share concepts."
What SKILL.md sets; muted values are Claude Code's defaults
10 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-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)./wiki-initUser-invoked setup: point commonplace at a folder for the first time or reconfigure the active vault. Writes the vault marker, scaffolds `.wiki/`, discovers initial domains/genres. Invoke explicitly via /wiki-init.commonplace@stray-bits-sanctuary is listed by noopz/stray-bits-sanctuary — review the source before installing
npx claudepluginhub noopz/stray-bits-sanctuary --plugin commonplaceOther plugins' skills for the same job