thunderbolt: Skill for Claude Code

.agents/skills/thunder-update-model/SKILL.md

thunder-update-model is a skill for Claude Code, Codex from thunderbird/thunderbolt. It costs 42 tokens per session (3,442 once invoked), scanned A, original, MPL-2.0.

A guided coding workflow for replacing one built-in AI model in a product's model catalogue with another. It covers the change from a new worktree through checks and a branch ready for publishing.

In plain words
What is it for?
Use it when removing an existing model and adding its replacement to the catalogue. It helps prepare and verify the code change before it is sent for publication.
Why use it?
It reduces the chance of missing related routes, prices, defaults, legacy identifiers, version changes, or tests when retiring a model. It also keeps the required developer questions and review steps in one process.

Skill for Claude CodeCodex

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

This is thunderbird/thunderbolt's own configuration. It tells Claude Code and Codex how to work on thunderbolt itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything thunderbolt configures →

About the project

Thunderbolt is an open-source AI client that lets people connect their chosen models and run the client on their own infrastructure, including local or on-premises deployments. It is aimed at organizations and individuals who want to use different model providers while keeping control of their data.

thunderbird/thunderbolt · 4,816 stars · on GitHub · thunderbolt.io

Reuse

Borrowing it

Nothing to install: this file belongs to thunderbird/thunderbolt. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/thunderbird/thunderbolt/main/.agents/skills/thunder-update-model/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/thunderbird/thunderbolt

Made for: Claude Code, Codex.

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

agentmods badge for thunder-update-model

README.md
[![agentmods](https://agentmods.dev/badge/skills/thunderbird/thunderbolt/thunder-update-model/github.svg)](https://agentmods.dev/skills/thunderbird/thunderbolt/thunder-update-model)
Your own site
<a href="https://agentmods.dev/skills/thunderbird/thunderbolt/thunder-update-model"><img src="https://agentmods.dev/badge/skills/thunderbird/thunderbolt/thunder-update-model/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.

agentmods 80×15 button for thunder-update-model

Your own site · 80×15
<a href="https://agentmods.dev/skills/thunderbird/thunderbolt/thunder-update-model"><img src="https://agentmods.dev/badge/skills/thunderbird/thunderbolt/thunder-update-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,442 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.03442
Opus 5.5 $0.00017 $0.01377
Sonnet 5.5 $0.00008 $0.00688
Haiku 4.5 $0.00004 $0.00344

Measured 21d ago against content hash 056c34c03751, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

thunder-update-model scanned grade A with 1 finding 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 21d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

set -o pipefail; curl -fsS https://inference.tinfoil.sh/v1/models | jq -r '.data[] | select(.type=="chat") | "\(.id)\tdeprecated=\(.deprecated // false)\tdep_date=\(.deprecationDate // "-")\tctx=\(.context_window)\tmm=\(
.agents/skills/thunder-update-model/SKILL.md · 229 lines

How it starts

The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Updating a built-in model

Swap one built-in model for its replacement, from a fresh worktree to a verified branch ready for /thunderpush. The questions need the developer, so run this in the developer-facing session, not in a subagent.

Read first

  1. references/swap-checklist.md in this folder. It is the implementer's contract; skim it now so the questions below collect everything it needs.
  2. docs/internals/architecture/managed-inference.md (routes, price rows, legacy slugs) and docs/internals/architecture/reconciled-defaults.md#changing-a-default (version bump, snapshot test, one-way retirement).
  3. The catalog itself, shared/defaults/models.ts. Where a doc and the code disagree, the code wins.

Argument

Up to four space-separated tokens, in this order: the leaving model (slug or export constant, never a display name), the provider that serves the replacement, the incoming model id, and a Linear ticket (THU-nnn). Each token answers its question below; ask only the questions that remain. Claude Code passes them as $ARGUMENTS; other harnesses pass the text typed after the skill name.

Harness notes

Three actions differ by harness; every "ask" in the stages means the first row.

Action Claude Code Any other harness
Ask the developer AskUserQuestion. Print the options as a numbered list in chat, after the stage's table if it has one, then wait for the developer's reply before continuing. Keep the question text as written.
Enter the worktree EnterWorktree({ path }), loaded with ToolSearch (select:EnterWorktree). Prefix every later shell command with cd <absolute worktree path> && and use absolute paths.
Delegate the implementation Agent tool. Pick the model and the effort for this swap from what the stages revealed: how much the catalog, the backend and the compatibility layer change, and how much of it the tests cover. Any model the harness offers is eligible, from the cheapest to the strongest, and effort moves on the same judgement. State the choice and the reason in one line before delegating. No isolation: "worktree". The same judgement, with the models that harness offers: a subagent where one exists, otherwise implement it yourself through the checklist.

Read the full file on GitHub · 229 lines

Files

What ships with it

1 file 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.

Changes

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.

  1. 21d ago Changed · +3 lines 056c34c03751
  2. 22d ago First seen · 226 lines · 42 tokens per session scan A d8f95606eae7

Subscribe to this mod's changes

thunder-update-model is a skill published in the GitHub repository thunderbird/thunderbolt (4,816 stars, last pushed today), licensed MPL-2.0. It adds 42 tokens to every session and 3,442 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-08.