Skip to content
Back to skills

Efficiency Review

ASecurity

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.

  • 36 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsgogit

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add tatargabor/set-core --skill efficiency-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Efficiency Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Efficiency Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tatargabor-efficiency-review/badge)](https://www.skillsdirectory.com/skills/tatargabor-efficiency-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.