Tooluck logoTooluck
SKILL.md

wiki-switch

Agent skill fromAr9av/obsidian-wiki

List, create, or switch named Obsidian wiki vault profiles under the global config directory. Use when changing the active vault, checking which vault is active, or managing multi-vault profiles.

How to install wiki-switch

install wiki-switch
# install the obsidian-wiki pack with the skills CLI
npx skills add Ar9av/obsidian-wiki

# or add only this skill to Claude Code: copy the folder

skills/wiki-switch/

# into

~/.claude/skills/wiki-switch/ (all projects)

.claude/skills/wiki-switch/ (one project)

skills/wiki-switch/SKILL.md

MITFull file
1# Wiki Switch — Manage Multiple Vault Profiles
2
3**Global config dir.** Every path below is relative to the global config dir, resolved per the
4Config Resolution Protocol in `llm-wiki/SKILL.md`: `$XDG_CONFIG_HOME/obsidian-wiki` (default
5`~/.config/obsidian-wiki`), or the legacy `~/.obsidian-wiki` if that already exists on disk. Resolve
6it once per invocation with:
7
8```bash
9CONFIG_DIR="$( [[ -d "$HOME/.obsidian-wiki" && ! -e "${XDG_CONFIG_HOME:-$HOME/.config}/obsidian-wiki" ]] && echo "$HOME/.obsidian-wiki" || echo "${XDG_CONFIG_HOME:-$HOME/.config}/obsidian-wiki" )"
10```
11
12Each vault is a complete config file at `$CONFIG_DIR/config.<name>`. The active vault is
13whichever file `$CONFIG_DIR/config` symlinks to. Switching vaults means re-pointing that symlink.
14
15**Switch vs. inline targeting.** `/wiki-switch <name>` changes your **persistent default** (re-points
16the symlink, affecting all future requests). To touch a different vault for just one request without
17changing your default, use the inline **`@name`** override in any request (e.g. `@work save this`,
18`wiki-query @personal about X`). The `@name` override is handled by the **Config Resolution Protocol**
19in `llm-wiki/SKILL.md`, not by this skill — it resolves `$CONFIG_DIR/config.<name>` for that one
20invocation and never re-points the symlink.
21
22## Dispatch
23
24Parse the invocation and route to the right section:
25
26| Invocation | Action |
27|---|---|
28| `/wiki-switch <name>` | → **Switch** |
29| `/wiki-switch list` | → **List** |
30…

Excerpt shown under the repository's MIT license.

More skills in obsidian-wiki

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates