The periodic efficiency review — build the measured packet of a finished change (or a wave), hand it to a no-tools reviewer on the cheapest allowed model (GLM first where the tree is GLM-allowed), and write a few lines with exactly ONE framework/process proposal carrying the number behind it. Run it after archiving a change (or every third archived change on a fix-heavy run) and at a wave close, or when the owner asks how efficiently the work went.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Efficiency Review?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tatargabor-efficiency-review)
---
name: set:efficiency-review
description: The periodic efficiency review — build the measured packet of a finished change (or a wave), hand it to a no-tools reviewer on the cheapest allowed model (GLM first where the tree is GLM-allowed), and write a few lines with exactly ONE framework/process proposal carrying the number behind it. Run it after archiving a change (or every third archived change on a fix-heavy run) and at a wave close, or when the owner asks how efficiently the work went.
---
# set:efficiency-review — how efficiently did the work go?
Not whether the work moved toward the goal (the cold readers ask that) — whether it moved
**efficiently**: the pattern that cost the most, and the one change that would remove it.
Measured input only; the review measures the packet, never the reviewer's own browsing.
The trigger is **advisory**: an archive that skips the review blocks nothing, and the next
review still covers the skipped change — its measurements stay in git and the transcripts.
## 1. Build the packet — measured fields only
Take the archived change (or the wave's range: `<start>..<end>`). Every field carries the
command that produced it; a field whose source the tree lacks is left OUT, never
approximated from prose.
| field | command / source |
|---|---|
| window | the change's first commit → archive time (`git log --format='%ad' -- <change paths>`) |
| commits by class | `git log --format='%s' <start>..<end>`, grouped (feat / fix / chore / test / docs — or the change prefixes the tree uses) |
| window throughput | commits in the window; archived changes in the window (`ls openspec/changes/archive/`); tags in the window (`git tag --sort=-creatordate`) |
| proof re-runs | the change's own verify record + gate/CI logs: how many times a proof was re-run to green. Not recorded → say `not recorded`, do not estimate |
| waits | on a person, a machine, a release — from the change's own record and bus timestamps. Not recorded → `not recorded` |
| session tokens | `set-usage --since <start> --project-dir <tree> --format json` — deduplicated totals (input / output / cache read / cache write). **No per-model split**; per-model needs the transcript scan (method: `docs/research/token-usage-2026-11-28.md`, "How it was measured") — run it once when model misrouting is suspected, else state the gap |
| test / gate runs | count of gate and test runs in the window from their logs |
| apply-cycle ledger rows (model / result / re-run per task) | ONLY when the tree keeps an apply ledger — optional field, absent on plain trees |
## 2. Review the packet — no tools, cheapest allowed model
Write the packet to a file and hand THAT file alone to the reviewer (a no-tools run —
`claude -p` with the packet on stdin; on a GLM-allowed tree follow the `glm` skill's recipe
for the parameters, and `set-glm --check` first). GLM is allowed on the public set-* trees
by owner decision, and **never on customer content** — on an AI+ consumer tree use the
family's own review lane, not this one; elsewhere run the cheapest Anthropic model
(Sonnet) directly.
- GLM fails (empty credit, rate limit — its defined exit) → **re-run the same packet** on
the fallback and record which model produced the output and why GLM was skipped. Never a
silent fallback.
- The reviewer answers in a bounded form: the top cost pattern (a tool, a method, a missing
framework piece, or a misuse) + ONE proposed change with the number behind it + the
proposal's owner (`tree` / `family` / `set-core`).
## 3. Write the findings — few lines, one proposal
`docs/efficiency/YYYY-MM-DD-<subject>.md`:
- the packet's headline numbers (each traceable to its field above),
- the ONE proposal, with the number behind it,
- the runner-up, one line, if there was one,
- which model reviewed (and the fallback reason, if any).
## 4. Route the proposal — it leaves the tree when the owner is elsewhere
| owner | where it goes |
|---|---|
| `tree` | becomes a task or an OpenSpec change in this tree — never an open loop in chat |
| `family` | `set-fleet-ask <family-base> "<proposal>" --batch`, where `<family-base>` is the project that owns the family baseline (the devkit that deployed this tree's family rules; its name is in the tree's project-type config, never written into a shared file) |
| `set-core` | from this tree: `set-fleet-ask set-core "<proposal>" --batch`; from set-core itself: the bug register (a defect) or a change proposal (a mechanism) |
Record the bus entry in the findings file. When the family's own review script is
installed (the devkit's `aiplus-review` skill), prefer it — it builds the same packet and
its fields are the reference implementation of this contract.