Skip to content
SkillModel-led1,207 tokens in use

wiki-switch

List, show, create and switch named Obsidian wiki vault profiles by re-pointing one config symlink, with secrets hidden in output.

3,792 stars on the repository MIT LicenseAr9av/obsidian-wiki · skills/wiki-switch
pip install obsidian-wiki
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing wiki-switch costs

41tokens idle
1,207tokens in use

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

shelldetectedwrites filesdetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Good
  • Frontmatter12/15
  • Structure17/25
  • Examples12/15
  • Output10/15
  • Size15/15
  • Resources10/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Runs shell commands−5

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 15
  • Writes files−8

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 96

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Excellent
  • Development activity100
  • Maintenance100
  • Community60
  • Maturity28
  • Momentum40

This skill manages several Obsidian wiki vaults from one machine. Each vault is a config file named config.<name> in the obsidian-wiki config folder, and the active vault is whichever file the config symlink points to. The agent can list the profiles, show one, create one from the active config, or switch to another.

A switch changes your persistent default. For a single request against another vault, the inline @name override handled by the shared llm-wiki skill leaves the symlink alone.

What You Get

  • A list of vault profiles with a one-line description each and the active one marked
  • A switch that re-points the config symlink and confirms the vault path
  • A new profile scaffolded from the active config, asking only for the vault-specific values that differ
  • A show command that prints a profile with API key and secret lines replaced by asterisks
  • Guidance on when to use the inline @name override for a one-off request

Common Use Cases

  • Moving between a personal and a work wiki
  • Creating a profile for a new vault from the current one
  • Checking which vault is active before an ingest
  • Reviewing a profile’s settings without exposing secrets

What Makes It Unique

The skill treats each vault as a complete config file and a switch as a single symlink change, so there is no profile database to keep in sync. It reads the section headers of the config to decide which values to ask for, copies shared settings unchanged, and leaves activation to the user after a new profile is created.

Under The Hood

The agent loads the SKILL.md and the shared llm-wiki skill for the config resolution rules. It runs small shell commands on your machine: ln to re-point the symlink, cp to copy a config, and readlink to find the active profile. It reads and writes files in the obsidian-wiki config folder under your home directory, including config files that may hold keys, and redacts key and secret lines when showing one. It makes no network calls.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers