Install any skill in seconds. Free to start, no credit card required.
Get Started Free →エージェントのCLI/モデルをライブ切替するスキル。settings.yaml更新→/exit→新CLI起動→ pane metadata更新を一発で実行。Thinking有無も制御。 「モデル切替」「Sonnetにして」「Opusに変えて」「足軽全員切替」「Thinking切って」で起動。
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-18 | ✗→✓ | ▲ Improved | 47% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 16% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 17% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 44% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 22% | 0% |
稼働中のエージェントのCLI種別・モデル・Thinking設定をライブで切り替える。 settings.yaml → build_cli_command() → /exit → 新CLI起動 → pane metadata更新 を一貫実行。
settings.yaml (source of truth)
│
├─ cli.agents.{id}.type → claude | codex | copilot | kimi
├─ cli.agents.{id}.model → claude-sonnet-4-6 | claude-opus-4-6 | ...
└─ cli.agents.{id}.thinking → true | false
│
├── build_cli_command()
│ └─ thinking: false → "MAX_THINKING_TOKENS=0 claude --model ..."
│ └─ thinking: true → "claude --model ..."
│
└── get_model_display_name()
└─ thinking: true → "Sonnet+T" / "Opus+T"
└─ thinking: false → "Sonnet" / "Opus"| model (settings.yaml) | 表示名 | +Thinking | |---|---|---| | claude-sonnet-4-6 | Sonnet | Sonnet+T | | claude-opus-4-6 | Opus | Opus+T | | claude-haiku-4-5-20251001 | Haiku | Haiku+T | | gpt-5.3-codex | Codex | — | | gpt-5.3-codex-spark | Spark | — |
bash# settings.yaml の現在値で再起動(CLIリセットしたいだけのとき) bash scripts/switch_cli.sh ashigaru3 # モデル変更(settings.yaml も自動更新) bash scripts/switch_cli.sh ashigaru3 --model claude-opus-4-6 # CLI種別ごと変更(Codex → Claude) bash scripts/switch_cli.sh ashigaru3 --type claude --model claude-sonnet-4-6 # Claude → Codex Spark bash scripts/switch_cli.sh ashigaru5 --type codex --model gpt-5.3-codex-spark
bash# 全足軽をSonnetに for i in $(seq 1 7); do bash scripts/switch_cli.sh ashigaru$i --type claude --model claude-sonnet-4-6 done # 全足軽をSparkに for i in $(seq 1 7); do bash scripts/switch_cli.sh ashigaru$i --type codex --model gpt-5.3-codex-spark done # 全エージェント(家老・軍師含む)を再起動 for agent in karo ashigaru1 ashigaru2 ashigaru3 ashigaru4 ashigaru5 ashigaru6 ashigaru7 gunshi; do bash scripts/switch_cli.sh "$agent" done
settings.yaml の thinking フィールドを編集してから switch_cli.sh を実行:
yaml# config/settings.yaml cli: agents: ashigaru3: type: claude model: claude-opus-4-6 thinking: false # ← MAX_THINKING_TOKENS=0 で起動
bash# settings.yaml 編集後に再起動 bash scripts/switch_cli.sh ashigaru3
Thinking ON/OFF の切替手順:
config/settings.yaml の対象エージェントの thinking: を true / false に変更bash scripts/switch_cli.sh <agent_id> で再起動+T の有無が反映されるbash# 家老が足軽のCLIを切り替える場合 bash scripts/inbox_write.sh ashigaru3 "--type claude --model claude-opus-4-6" cli_restart karo
inbox_watcher が cli_restart type を検知し、switch_cli.sh を自動実行する。
--type/--model 指定時のみ)@agent_cli)/exit + Enter/exit + Enter/exit + Enterbuild_cli_command() で新コマンド構築MAX_THINKING_TOKENS=0 prefix 付与@agent_cli, @model_name| ファイル | 役割 | |---|---| | scripts/switch_cli.sh | メインスクリプト | | lib/cli_adapter.sh | build_cli_command(), get_model_display_name() | | config/settings.yaml | エージェント設定(type, model, thinking) | | scripts/inbox_watcher.sh | cli_restart type ハンドリング | | logs/switch_cli.log | 実行ログ |
Other measured skills in the registry, with their headline benchmark lift.