Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Switch between multiple Obsidian wiki vault profiles. Use this skill when the user says "/wiki-switch NAME", "switch to my work wiki", "switch vault", "change wiki", "which wiki am I on", "list my wikis", "show my vaults", "create a new vault config", or "add a new wiki profile". The skill manages named config files at ~/.obsidian-wiki/config.NAME and activates one by symlinking it to ~/.obsidian-wiki/config.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | -6% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 38% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 31% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -6% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 33% | 0% |
Each vault is a complete config file at ~/.obsidian-wiki/config.<name>. The active vault is whichever file ~/.obsidian-wiki/config symlinks to. Switching vaults means re-pointing that symlink.
Switch vs. inline targeting. /wiki-switch <name> changes your persistent default (re-points the symlink, affecting all future requests). To touch a different vault for just one request without changing your default, use the inline @name override in any request (e.g. @work save this, wiki-query @personal about X). The @name override is handled by the Config Resolution Protocol in llm-wiki/SKILL.md, not by this skill — it resolves ~/.obsidian-wiki/config.<name> for that one invocation and never re-points the symlink.
Parse the invocation and route to the right section:
| Invocation | Action | |---|---| | /wiki-switch <name> | → Switch | | /wiki-switch list | → List | | /wiki-switch show [name] | → Show | | /wiki-switch new <name> | → New | | /wiki-switch (no args) | → List (treat as list) | | @<name> … (inline, in any request) | → Not this skill — the Config Resolution Protocol resolves that vault for one invocation without re-pointing the symlink |
Activate a named vault profile.
~/.obsidian-wiki/config.<name> exists. If not, tell the user the vault doesn't exist and list what's available (run List).bash ln -sf ~/.obsidian-wiki/config.<name> ~/.obsidian-wiki/config
OBSIDIAN_VAULT_PATH from the newly active config. Switched to vault: <name> Vault path: <value of OBSIDIAN_VAULT_PATH from the config>
Show all registered vault profiles and which is active.
~/.obsidian-wiki/config.* (exclude config itself — that's the symlink).readlink ~/.obsidian-wiki/config#) as a human description of the vault. Fall back to the file's suffix as the label if no comment exists. Vaults: personal My personal research wiki ← active work Work projects wiki Mark the active one with ← active. If the symlink is broken or config doesn't exist, show (none active).
Print the full config for a vault.
~/.obsidian-wiki/config.<name>.~/.obsidian-wiki/config (the active vault).API_KEY or SECRET — show *** instead of the value).Scaffold a new vault config from the current active config as a template.
~/.obsidian-wiki/config.<name> doesn't already exist. Abort if it does.bash cp ~/.obsidian-wiki/config ~/.obsidian-wiki/config.<name>
# --- Section name --- comment headers to group fields into sections (e.g., # --- Vault-specific ---, # --- Vault-independent ---, # --- Secrets ---). Use these sections to determine what to ask about:~/.obsidian-wiki/config.<name>.# Obsidian Wiki — <name> vault). Created: ~/.obsidian-wiki/config.<name> Run /wiki-switch <name> to activate it, then run wiki-setup to initialise the new vault. Do not switch automatically — let the user decide when to activate.
Other measured skills in the registry, with their headline benchmark lift.