Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

AI Switch

fengshuzifengshuzi109 downloads

Sync and prepare AI coding tool configurations for quick model switching.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates6

Sync AI coding tool configuration snapshots into your vault. This plugin starts as a simple config snapshot syncer and will grow into a helper for programming beginners to quickly switch and configure AI models.

Features

  • Copies local AI tool configs into Markdown snapshots such as Config Manager/zhang_aifende_macbook-air/codex/config.toml.md.
  • Automatically groups snapshots by machine and tool folder.
  • Syncs when the plugin loads, when settings change, or when the ribbon button is clicked.
  • Provides a small sidebar for syncing snapshots and applying a note snapshot back to local config.
  • Supports custom config sources: add any config file or folder by name and path, alongside the built-in Codex / Claude / OpenCode presets.
  • Read-only for system config directories; it only reads local files and writes snapshots into the vault.

Usage

  1. Enable the plugin.
  2. Keep Codex, Claude and OpenCode checked if you want to sync them.
  3. Change a tool path only when your config is stored somewhere else.
  4. Click the ribbon button to open the AI Switch sidebar.
  5. Use Sync to note to refresh snapshots, or Apply to local to write a snapshot back to the local config file.
  6. Open files directly in Obsidian's file explorer:
Config Manager/
└── zhang_aifende_macbook-air/
    ├── codex/
    │   └── config.toml.md
    ├── claude/
    │   └── settings.json.md
    └── opencode/
        └── opencode.json.md

Custom config sources:

In Settings → AI Switch → Custom config sources, click Add custom source and enter a name and path (supports ~, files or folders, .toml / .json / .yaml / .yml). Each source syncs the same way as the built-in tools and can be toggled or removed.

Default tool paths:

~/.codex/config.toml
~/.claude/settings.json
~/.config/opencode

Folder sources import .toml, .json, .yaml and .yml files recursively. Missing paths are skipped automatically.

When applying a snapshot to local config, AI Switch asks for confirmation and creates a timestamped backup next to the original file before overwriting it.

Roadmap

  • Show model/provider presets for common AI coding tools.
  • Help beginners switch model configs safely.
  • Add controlled config apply/write-back flows after snapshot viewing is stable.

Settings

  • Config root folder: Vault-relative folder for snapshots. Default: Config Manager.
  • Codex: Sync ~/.codex/config.toml by default.
  • Claude: Sync ~/.claude/settings.json by default.
  • OpenCode: Sync ~/.config/opencode by default.

Development

npm install
npm run build

License

MIT

HealthExcellent
ReviewCaution
About
Sync AI coding tool configuration snapshots into your vault as Markdown files, copying local .toml, .json and .yaml configs and grouping snapshots by machine and tool. Manage snapshots from a sidebar, refresh on demand, and apply snapshots back to local configs with confirmation and automatic timestamped backups.
FilesSidebarBackup
Details
Current version
1.0.6
Last updated
Yesterday
Created
2 months ago
Updates
6 releases
Downloads
109
Compatible with
Obsidian 1.7.2+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
fengshuzifengshuzi
github.com/fengshuzi
GitHubfengshuzi
  1. Community
  2. Plugins
  3. Files
  4. AI Switch

Related plugins

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Recent Files

Display a list of recently opened files.

Reveal Active File Button

Add a button to the top of the File Explorer, to reveal the active file.

Custom File Explorer sorting

Manual or automatic config-driven reordering and sorting of files and folders in File Explorer.

Novel word count

Display a word count, page count, creation date, or other statistics for each file, folder and vault in the File Explorer pane.

Flexplorer

Enhance the file explorer with custom sorting, pinning, and hiding.

File Explorer Note Count

See the number of notes in each folder within the file explorer.

File Tree Alternative

An alternative file tree view with separate folder and file panes.

Differential ZIP Backup

Back our vault up with lesser storage.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.