mcpbeat Sign in

Wiki Switch Agent Skill

> 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.

1k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
3103
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/Ar9av/obsidian-wiki --skill wiki-switch

The instruction itself

6 sections, as written by the author

Wiki Switch — Manage Multiple Vault Profiles

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.

Dispatch

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 |


Switch (default action)

Activate a named vault profile.

  • Verify ~/.obsidian-wiki/config.<name> exists. If not, tell the user the vault doesn't exist and list what's available (run List).
  • Run:
   ln -sf ~/.obsidian-wiki/config.<name> ~/.obsidian-wiki/config
  • Read OBSIDIAN_VAULT_PATH from the newly active config.
  • Confirm to the user:
   Switched to vault: <name>
   Vault path: <value of OBSIDIAN_VAULT_PATH from the config>

List

Show all registered vault profiles and which is active.

  • Find all files matching ~/.obsidian-wiki/config.* (exclude config itself — that's the symlink).
  • Resolve the current symlink target: readlink ~/.obsidian-wiki/config
  • For each config file, read the first non-empty comment line (lines starting with #) as a human description of the vault. Fall back to the file's suffix as the label if no comment exists.
  • Display:
   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).


Show

Print the full config for a vault.

  • If a name is given, read ~/.obsidian-wiki/config.<name>.
  • If no name given, read ~/.obsidian-wiki/config (the active vault).
  • If the file doesn't exist, tell the user and list what's available.
  • Print the file contents verbatim (redact any lines containing API_KEY or SECRET — show *** instead of the value).

New

Scaffold a new vault config from the current active config as a template.

  • Check ~/.obsidian-wiki/config.<name> doesn't already exist. Abort if it does.
  • Copy the active config:
   cp ~/.obsidian-wiki/config ~/.obsidian-wiki/config.<name>
  • Read the copied config. Config files use # --- 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:
  • Fields in sections labeled "vault-specific", "paths", or similar → ask the user for new values
  • Fields in sections labeled "vault-independent", "global", "shared" → keep as-is (copy over unchanged)
  • Fields in sections labeled "secrets" → ask if the new vault uses the same credentials or different ones
  • If there are no section headers, present all fields and let the user decide which to change
  • Ask the user for updated values for the vault-specific fields. Use the current values as visible defaults — the user only needs to supply what differs.
  • Write the updated values into ~/.obsidian-wiki/config.<name>.
  • Update the top comment line to describe the new vault (e.g., # Obsidian Wiki — <name> vault).
  • Confirm:
   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 skills for the same job

different authors, same section of the catalogue
DOCX
by anthropics
vendor ×16

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks

7k tokens
PDF
by anthropics
vendor ×16

Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.

13k tokens scripts
PPTX
by JayZeeDesign
×15

Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks

308k tokens scripts
Canvas Design
by anthropics
vendor ×13

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

1388k tokens
PDF
by anthropics
vendor ×10

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.

15k tokens scripts
DOCX
by w95
×6

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.

5k tokens
PPTX
by w95
×4

Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Trigger whenever the user mentions \"deck,\" \"slides,\" \"presentation,\" or references a .pptx filename, regardless of what they plan to do with the content afterward. If a .pptx file needs to be opened, created, or touched, use this skill.

2k tokens
Obsidian Markdown
by ZhanlinCui
×3

Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax. Use when working with .md files in Obsidian, or when the user mentions wikilinks, callouts, frontmatter, tags, embeds, or Obsidian notes.

3k tokens

How to use it

Copy the folder

Take ar9av/wiki-switch from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.