Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add sonichi/sutando --skill runtime-switchgit clone --depth 1 https://github.com/sonichi/sutandoWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/sonichi/sutando/runtime-switch)<a href="https://agentmods.dev/skills/sonichi/sutando/runtime-switch"><img src="https://agentmods.dev/badge/skills/sonichi/sutando/runtime-switch/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sonichi/sutando/runtime-switch"><img src="https://agentmods.dev/badge/skills/sonichi/sutando/runtime-switch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00066 | $0.01235 |
| Opus 5.5 | $0.00026 | $0.00494 |
| Sonnet 5.5 | $0.00013 | $0.00247 |
| Haiku 4.5 | $0.00007 | $0.00123 |
Grade A, and why
runtime-switch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
runtime-switch
Use it when the owner, in their DM, asks to switch the core's runtime: "switch to Claude Code",
"use Codex", "run on Codex", "换成 Claude Code", "切到 Codex", or asks which runtime the core is on
and wants to change it. Anyone else, or any other room: say the runtime is switched from the owner's
DM and do nothing. Never run start-cli.sh --runtime … or --restart yourself from inside the core.
python3 skills/runtime-switch/scripts/runtime_card.py post --room <owner DM> [--reply-to <event>]
python3 skills/runtime-switch/scripts/runtime_card.py post --room <owner DM> --print # the card, not sent
python3 skills/runtime-switch/scripts/runtime_card.py status # JSON: in use, next start, confirmed core
Post the card even when the owner already named the runtime: the switch happens on the tap.
The card
Two buttons, Codex and Claude Code; the runtime in use is the primary one and is named in the text. The note says what carries over: tasks, results, state, memory and the workspace are shared by both runtimes; only the live conversation does not.
A tap
src/agent_card.py click routes a tap to runtime_card.py reply (the recorded handler). Only the
owner's tap, in the DM the card was posted in, on a card this agent posted, acts
(agent_card.click_verdict). A tap on the runtime in use changes nothing; a second switch while one
is under way is refused.
- Sign-in first, before anything stops. Claude Code:
claude auth status --jsonunder the core's config dir; Codex:src/codex_account.pyon the core's Codex home (the account card's probes). Not signed in, or not readable: the card answers "Sign in first" with that runtime's sign-in controls in the card itself (drawn by the desktop app on the computer that runs the core; elsewhere the card says to open it there). Nothing restarts. The tap is kept:runtime_card.py await-sign-inwaits up to 15 minutes, and once the sign-in is there it switches without being asked again. - Signed in: it answers "Switching the core from X to Y…" at once and starts
runtime_card.py switchdetached, in its own session, because the core restarts. switchrunssrc/agent/graceful-restart.sh -- --runtime <rt>: it waits for the core's current turn, thenstart-cli.sh --restart --runtime <rt>. The launcher writes the desktop's selection (runtime.jsoncoreRuntime) and<workspace>/state/core-runtime.jsononly once the new core's panes run that CLI.settleconfirms from those two, never from a heartbeat alone: the record names the target with a session created after the switch began, and the runtime the launcher picks next is the target. It posts "Switched to Y. The core restarted on it ✓" or what could not be confirmed. When graceful-restart did not stop the core (exit 3, 4, 5) it says the core is still on X. When it did and no core comes back on Y,switchputs X's record back, restarts onto X the same way, and says on the card whether X is running again or what to do outside chat: a core that is down cannot answer.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 75 lines · 66 tokens per session scan A eab547388de3
runtime-switch is a skill published in the GitHub repository sonichi/sutando (413 stars, last pushed today), licensed MIT. It adds 66 tokens to every session and 1,235 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-26.
runtime-switch compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| runtime-switchsonichi/sutando | Skill | 413 | today | MIT | A | 66 | Claude Code |
| app-buildervellum-ai/vellum-assistant | Skill | 1.5k | 3d ago | MIT | A | 162 | Claude Code, Codex |
| gmailvellum-ai/vellum-assistant | Skill | 1.5k | 3d ago | MIT | A | 20 | Claude Code, Codex |
| assistant-migrationvellum-ai/vellum-assistant | Skill | 1.5k | 3d ago | MIT | A | 90 | Claude Code, Codex |
| guardian-verify-setupvellum-ai/vellum-assistant | Skill | 1.5k | 3d ago | MIT | A | 26 | Claude Code, Codex |
| stripe-link-walletvellum-ai/vellum-assistant | Skill | 1.5k | 3d ago | MIT | A | 52 | Claude Code, Codex |
| vellum-memory-v3-migrationvellum-ai/vellum-assistant | Skill | 1.5k | 3d ago | MIT | A | 63 | Claude Code, Codex |