Skip to content

Instantly share code, notes, and snippets.

@scottwater
Created February 10, 2026 14:55
Show Gist options
  • Select an option

  • Save scottwater/e638a5c5179e8c8e8a4f44f010dab8d6 to your computer and use it in GitHub Desktop.

Select an option

Save scottwater/e638a5c5179e8c8e8a4f44f010dab8d6 to your computer and use it in GitHub Desktop.
An AI Chooser Thingy Ma Bob
#!/usr/bin/env bash
set -euo pipefail
choice=$(gum choose --header "Which AI?" "Amp" "Claude Code" "Codex" "Open Code")
case "$choice" in
"Amp") exec amp ;;
"Claude Code") exec claude --dangerously-skip-permissions ;;
"Codex") exec codex --dangerously-bypass-approvals-and-sandbox ;;
"Open Code") exec opencode ;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment