Switch, list, inspect, and scaffold named Obsidian vault config profiles from one global config directory.

skills.sh installs
2.1K
GitHub stars
3.8K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers switching the persistent default by re-pointing the config symlink, plus listing, showing, and creating vault profiles
  • Includes list, show, and new actions, with @name inline overrides handled separately by the Config Resolution Protocol
  • Redacts lines containing API_KEY or SECRET when displaying a config, and never switches automatically after creating a profile
  • Designed for users who keep separate work and personal Obsidian wikis and need to change the active one

Install

$ npx -y skills add ar9av/obsidian-wiki --skill wiki-switch -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Wiki Switch — Manage Multiple Vault Profiles

Global config dir. Every path below is relative to the global config dir, resolved per the Config Resolution Protocol in llm-wiki/SKILL.md: $XDG_CONFIG_HOME/obsidian-wiki (default ~/.config/obsidian-wiki), or the legacy ~/.obsidian-wiki if that already exists on disk. Resolve it once per invocation with:

CONFIG_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" )"

Each vault is a complete config file at $CONFIG_DIR/config.<name>. The active vault is whichever file $CONFIG_DIR/config symlinks to. Switching vaults means re-pointing that symlink.

Details

Repository
github.com/ar9av/obsidian-wiki
Categories
Productivity & Notes, CLI & Terminal
First seen
Jun 3, 2026

More from ar9av/obsidian-wiki

All 34

Similar to Wiki Switch

More Productivity & Notes