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

fengshuzifengshuzi

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

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

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

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

95%
HealthExcellent
ReviewSatisfactory
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.1
Last updated
12 hours ago
Created
12 hours ago
Updates
2 releases
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.

Flexplorer

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

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.

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.

Claudian

Embeds Claude Code/Codex as an AI collaborator in your vault. Your vault becomes agent's working directory, giving it full agentic capabilities: file read/write, search, bash commands, and multi-step workflows.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.