release-readout
БесплатноБез исполняемых скриптовНе проверенCompare a release (or a dev build) against the one before it from the release ledger and say whether it quietly degraded the agent harness: cost per turn…
от Boise-State-Development★ 22 звезды на GitHubОб этом скилле
Release readout
The release ledger (docs/specs/release-ledger.md) keeps cost and quality per
app version and build. This skill turns its readout into a verdict. Verify a
release against the ledger, not a smoke run: a smoke run is a dozen turns on
one build; the ledger is every turn on every build, with the caveats that say
when it cannot tell.
The script computes nothing. Every number and caveat comes from the readout
bundle (apis/shared/costs/ledger_readout.py over ledger_kpis.py, spec D10);
the script formats it. Your job is the reading, and the traps are in §3.
0. Settle the inputs
| Input | Default | Notes |
|---|---|---|
| Environment | dev | Never prod unless the user asks for it and RELEASE_LEDGER_ENABLED is on there. On dev: profile dev-ai, prefix dev-boisestateai-v2 |
| Candidate | newest version with a full day | 1.34.0, or one build 1.34.0#<build> |
| Baseline | the unit before the candidate | Same shape as the candidate (both versions or both builds) |
| Days | 7 | Per window (D5: candidate's first days vs baseline's last days) |
On dev a version is a release cycle, not a release. Between releases every
develop merge is a new build under the same VERSION, so 1.34.0 on dev is
"everything merged since 1.34.0 was cut", and a comparison of one merge against
the merge before it is build against build.
1. Run the script
cd backend
AWS_PROFILE=dev-ai .venv/bin/python scripts/release_readout.py \
--profile dev-ai --prefix dev-boisestateai-v2 \
--version 1.34.0 --baseline 1.33.0 --out /tmp/readout-1.34.0
It runs the readout route's own handler in process against the deployment's
tables and CloudWatch, so the result is what the Releases tab shows. If the
profile's session has expired, ask the user to run aws sso login --profile dev-ai.
Other sources, same output:
--export ledger.ndjson— offline, fromGET /admin/costs/ledger/export(no latency, prelude stages, thumbs, provenance, active users or platform line; the markdown says so). Add--today YYYY-MM-DDto judge full days as of the export's date.--readout-json saved.json— a readout response saved from the Releases tab or fetched in a signed-in browser page (/api/admin/costs/ledger/readout?...).--base-url https://<host>/apiwithRELEASE_READOUT_COOKIEset to a signed-in admin'sCookieheader.
It writes readout.json and readout.md. Read the markdown first, the JSON
for anything the markdown cuts (all 30 tools, every model's share).
2. Read it in this order
- Windows. How many days each side has, how many are full, and whether the candidate's window includes today. One partial day is a sample, not a release.
- Caveats, every one, before any number. They are generated from a fixed
set (
CAVEAT_CODES), so match on the code. - Mix shift. If
mix_shiftis set, the first explanation of any cost or latency delta is the mix, not the code. A model change (Haiku 4.5 → 5.5) or a different population of users moves cost per turn on its own; read the per-model cost-per-turn table, where like is compared with like. - KPIs and Moved. Moved lists KPIs whose relative delta is ≥10% with
both sides over their floor; the direction word is mechanical. A tiny share
moving 100% (0.2% → 0.0%) is a different fact from cost per turn moving
15% on hundreds of turns. Weigh by
nand absolute size. - Prelude, the harness's own time before the first token, per build.
This is the row that sees a harness regression:
FirstTokenMsand the ledger'smeanFirstTokenMsare dominated by the model (server first-token p50 swings 2.6–3.7 s a day on dev), andPreludeTotalMsexcludes it. Read its Prelude moved line (p50 Δ over max(30 ms, 5%), n ≥ 200 a side) and the mix line under the table before any stage delta. - Latency, tools, quality, then agents and projects.
3. The traps (read before calling anything a regression)
- A mix shift is read before any delta (above).
—is below a floor, never zero. A share needsn ≥ 20; a mean needs a non-zeron. A KPI with—on either side has no delta and is not evidence. Do not compute one from the JSON.agentSwitchedandmodelSwitchedmisses are explained, not waste.unexplainedWasteSharealready subtracts them. A rise in rawwastedUsdwith flat unexplained waste is users switching agents or models.- An
estimatedrow is attribution, not measurement (estimated_rows): a stopped turn's tokens were estimated. Many of them on one side means the cost delta carries an estimate. - A thumbs arm under the floor says nothing (
thumbs_below_floor). At prod's rate it sits there most of a version's life; it is the last row on purpose. - A cost delta on a deploy day is a boundary, not a change
(
deploy_in_window,no_full_day): both builds wrote rows that day. - Latency is by time, not by build
Установить release-readout в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл release-readout?
Compare a release (or a dev build) against the one before it from the release ledger and say whether it quietly degraded the agent harness: cost per turn, cache efficiency, unexplained waste, tool errors and payload, empty answers, interruptions, TTFT, eval and smoke results. Runs backend/scripts/release_readout.py, reads the caveats-first readout, flags a regression only where its n clears the floor, and names where to look next (C# rows' cacheStatus and hashes, the session cost anatomy, the per-tool payload). Ends in ship, watch or investigate. Content-free. Use when the user says "release readout", "/release-readout", "did this release regress", "compare 1.34.0 with 1.33.0", "verify the release against the ledger", "how did the last release do", or when cutting a release (the cutting-a-release skill calls it).
Как установить скилл release-readout?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл release-readout запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic