/goblin-archivist:sniff-vaultfrom goblin-archivist
Read-only survey of an Obsidian vault: folder layout, note types, properties, tags, templates, Tasks formats, plugins, published content, and Linter rewrites. Writes nothing inside the vault.
Ships in goblin-archivist. 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.
The archivist noses through the whole vault before it touches anything. A fixed script reads every note and writes three files outside the vault; you then read them, write your annotations to a fourth file and walk the user through what was found. Nothing is written inside the vault, by the script or by you.
The archivist is on: ${user_config.enabled}. Carry on only if that reads exactly true. Anything else (false, empty or the placeholder itself) means stop: say goblin-archivist is switched off, or its options did not load (/config, goblin-archivist, Archivist on).
${user_config.vault}${user_config.base_folder}A value that is empty or still reads ${user_config...} is unset.
/config (goblin-archivist, Archivist folder): a folder outside the vault and outside any repository that would commit it, holding one subfolder per project and vault/ for vault-wide reports. Do not pick one for them.python3 "${CLAUDE_PLUGIN_ROOT}/scripts/archivist.py" vaults. It lists the vaults Obsidian knows (path, open, exists). Ask which one with AskUserQuestion, then carry on with that path for this run and tell the user to set the Vault option so the question does not come back.python3 "${CLAUDE_PLUGIN_ROOT}/scripts/archivist.py" sniff --vault "<vault>" --base "<archivist folder>"
The script reads every Markdown note and the named files in .obsidian (plugin manifests and the settings of Tasks, Templater, Periodic Notes, Digital Garden, Share Note and Linter). It never reads .trash or any other dot-folder's notes. It refuses an output folder inside the vault, and one inside a git repository that does not ignore it, since the report quotes the vault. It prints the three paths as JSON.
| Exit | Meaning | Do |
|---|---|---|
| 0 | Done | Step 3 |
| 2 | Bad path; an output folder or file inside the vault, linked into it or in an unignored repository; git could not be asked; or a write failed | Report the message; stop |
| 3 | Vault unset | Step 1.2 |
| 4 | Archivist folder unset | Step 1.1 |
Two runs over an unchanged vault give byte-identical files. A rerun overwrites survey.json, report.md and schema.draft.json and nothing else.
Read report.md whole, then schema.draft.json. Read individual notes only to settle a question the report raises, and say which you opened.
Write schema.notes.md in the same folder. The script never touches that file, so annotations survive a rerun; if it already exists, read it first and add a dated section rather than replacing what is there. Never edit schema.draft.json or report.md.
The draft is mechanical: a property is required for a type when at least 90% of that type's notes carry it, optional from 10%. Annotate where the mechanism misleads, one entry per point, each with what the draft says, what you propose, why and the question for the user:
idea beside untyped in Ideas), or one name covering two kinds of note.Lead with the totals and the three findings most likely to change the schema. Then go through schema.notes.md a section at a time, putting each question to the user and recording the answer in the file under the question. The schema is a proposal until the user approves it; approving it, and writing it anywhere, belong to a later step of goblin-archivist and not to this skill.
What SKILL.md sets; muted values are Claude Code's defaults
When the vault's shape needs to be known before anything is written to it: the first run of goblin-archivist, or after the vault has been reorganised and the schema needs revisiting.
opushighThree short reads, in order
Other plugins' skills for the same job
npx claudepluginhub jasonwarrenuk/goblin-mode --plugin goblin-archivist