Keysmith Switch, the prompt manager for your coding agents

Six agents. One prompt library. Look before you deploy.

01One library, six agents.02Paste a prompt, read the plan first.03⌘K, and it's right there.04Scoped cleanup, with a version saved first.

A tour of Keysmith Switch

The Keysmith family on GitHub

Whatever it changes, you see it first.

Adapters do the writing

Deploys and turn-offs are written by each agent's open-source adapter. Switch looks after the library, versions, deploy plans and the record of what it did.

Backed up before it's written

Deploys back up first; cleanups and rollbacks save a version first. Turning off and disconnecting undo only what Switch wrote.

No quiet edits

Adapters receive only the prompt text. The same text reuses the existing entry instead of quietly changing its title or tags.

Prompts stay on your computer

Prompts come from what you paste or local files and are never uploaded. No analytics, no telemetry; every case where the app goes online is listed in the docs.

One prompt library, written in each agent's own format.

Claude Code

macOS · Windows
v7.2/ claude-keysmith

A managed import in your user-level CLAUDE.md

Adapter source
  • The prompt goes in ~/.claude/keysmith/, imported by a marked block in CLAUDE.md
  • Turning it off removes only that block; the rest of the file stays
  • Default cleanup only turns off the deploy; CLAUDE.md, extensions and sessions are opt-in and recoverable
  • Input rewrite changes only one address in settings.json
  • Input rewrite does not support Bedrock or Vertex

Files it touches

CLAUDE.mdkeysmith/settings.json

Codex

macOS · Windows
v0.6.0/ codex-keysmith

Loaded through model_instructions_file in config.toml

Adapter source
  • The prompt goes in ~/.codex/ and config.toml gets model_instructions_file
  • config.toml is backed up first; a hooks.json that would interfere is set aside with a backup
  • Default cleanup only turns off the deploy; AGENTS.md, memories and sessions are opt-in and recoverable; config.toml stays
  • Input rewrite adds a provider and leaves yours unchanged
  • Input rewrite needs a custom provider

Files it touches

config.tomlAGENTS.mdmemories/hooks.json

Grok Build

macOS · Windows
v0.8.0/ grok-keysmith

Written to home rules that every session reads

Adapter source
  • The prompt goes in ~/.grok/rules/99-keysmith.md, read by every Grok session
  • Isolates compat layers and hooks in config.toml, with a user area so custom models don't trigger drift
  • Turning it off removes only the file and block it wrote
  • Input rewrite writes each model's forwarding address between a pair of markers
  • Input rewrite needs Grok to have run once and fetched its model list

Files it touches

rules/99-keysmith.mdconfig.tomlhooks/

ZCode

macOS · Windows
v0.3.5/ zcode-keysmith

Applied as a true system role

Adapter source
  • The prompt goes in ~/.zcode-keysmith/system-role.md and acts as the system role
  • Newer ZCode (3.12–4.0+) backs up zcode.cjs and patches the matching runtime anchor, restoring it on turn-off
  • Older builds use env vars restored on turn-off; cleanup protects backups if the runtime is still patched
  • Input rewrite changes the service address in provider_config.json
  • Input rewrite does not support Coding Plan sign-in

Files it touches

system-role.mdprovider_config.json

pi

macOS · Windows
v0.2.0/ pi-keysmith

Manages global ~/.pi/agent/SYSTEM.md directly

Adapter source
  • Writes the prompt to ~/.pi/agent/SYSTEM.md, backing up first
  • Restores the original on turn-off; never creates ~/.pi/agent if absent
  • Leaves APPEND_SYSTEM.md, AGENTS.md, settings and sessions untouched
  • Clean up only turns off Keysmith's deploy and leaves personal data alone
  • Input rewrite is not supported yet

Files it touches

SYSTEM.md

DSH

macOS · Windows
v0.4.1/ dsh-keysmith

Injects a managed Cordis plugin into your DSH profile

Adapter source
  • Targets profiles/desktop when DSH Desktop is present, otherwise profiles/web
  • Prompts one-click migration if an older deploy lives in profiles/web
  • Removes only the managed plugin on turn-off; never creates ~/.dsh if absent
  • Clean up only turns off Keysmith's deploy, leaving settings, credentials and sessions alone
  • Input rewrite is not supported yet

Files it touches

profiles/desktop/profiles/web/