agentleFS
HighwayofLifeHighwayofLife/agent-kaizen/skills/review/SKILL.md

review

Skill1 starsChanged 33 days agoMITView on GitHub

The recurring step: compare the newest audit with the ledger, keep or revert past changes, and propose the next improvements.

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use close-spec, design-with-images and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • dzhngSkill

    close-spec

    When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).

    Also in 5 projects that use this

  • dzhngSkill

    design-with-images

    Explore UI and visual design with image generation, then iterate the real implementation against the user-selected concept. Use when brainstorming visual directions, offering mockup variants, or implementing an approved generated design; do not stop at the mockups or the first code approximation.

    Also in 5 projects that use this

  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • +3 more from dzhng
  • +5 more from Lambenthan

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 153 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Not in Claude Code?: Read docs/hosts.md in the plugin root first.

    line 11
  2. Very specific:

    Propose-only mode: if the arguments say propose-only (the scheduled headless run uses this), do steps 1–4 but change nothing: write the …

    line 21
  3. Very specific:

    Use the supplied report when one is given.

    line 24
  4. Distinctive:

    If a change made things worse or nobody is using it (for example a tool that agents never call), propose the fix: better wording where …

    line 34
  5. Distinctive:

    Check that the rules are reaching the agents.

    line 39
  6. Very specific:

    Wait for my OK, implement the approved ones (each with a ledger row), and mark the audit reviewed: when the audit is in the audits folder, …

    line 53

“Common” is measured: kept by at least 6 in 10 of the 153 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Review the latest audit and improve (the recurring step)

Plugin root: ${CLAUDE_PLUGIN_ROOT}. If that is still a ${...} placeholder, use the folder that contains skills/ (this file is skills/<name>/SKILL.md), and substitute that path, in quotes, wherever this skill uses CLAUDE_PLUGIN_ROOT. Not in Claude Code? Read docs/hosts.md in the plugin root first. Skip steps that only work in Claude Code, and follow its propose-only rule before changing any host configuration.

The part of the loop that repeats. Check whether past changes paid off, keep the ones that did, revert the ones that didn't, and pick the next improvements.

Changes: proposes changes, then implements the ones you approve.

Autonomy: follow ${CLAUDE_PLUGIN_ROOT}/docs/autonomy.md. The mode comes from the skill argument (propose, safe, auto or yolo), else docs/kaizen/config.json, else agent-kaizen.json in your Claude config dir ($CLAUDE_CONFIG_DIR or ~/.claude), else propose. In safe and auto, read every "wait for my OK" below as: apply it yourself if the mode allows (backup, verify, roll back on failure, ledger row), otherwise list it as a proposal. Hard stops always ask. At most maxChangesPerRun changes (default 3). End with a summary of what was applied, skipped and rolled back.

Task

Propose-only mode: if the arguments say propose-only (the scheduled headless run uses this), do steps 1–4 but change nothing: write the result to the project report folder as review-<yyyy-mm-dd>.md (or print it, if writing isn't allowed) and stop.

Use the supplied report when one is given; otherwise use the newest usage audit (docs/kaizen/ or this project's report folder, printed as reports by python3 ${CLAUDE_PLUGIN_ROOT}/scripts/kaizen-scheduled config show --for .). Review it against the one before it and docs/kaizen/LEDGER.md.

  1. For every ledger row without a measured effect: fill it in from the audits, then say keep, tune or revert. Record API-equivalent dollars alongside tokens when available. The project report and python3 ${CLAUDE_PLUGIN_ROOT}/scripts/notes-ledger due may also supply measurement sources; measurement proposals only, the owner approves. You may instead run python3 ${CLAUDE_PLUGIN_ROOT}/scripts/usage-series --since <baseline date> --out <report folder>/series with the project's --cwd, then python3 ${CLAUDE_PLUGIN_ROOT}/scripts/usage-compare --series <report folder>/series --cutoff <change date>. Use its rates and active-day warnings for the measured effect. If a change made things worse or nobody is using it (for example a tool that agents never call), propose the fix: better wording where agents actually read it, a hook, or a revert.
  2. Include measured findings from ${CLAUDE_PLUGIN_ROOT}/skills/friction/SKILL.md in the review and distinguish hypotheses; cycle runs that analysis once. An absent view skips only friction analysis. List the 5 largest remaining costs and any new patterns since the last review.
  3. Check that the rules are reaching the agents. In propose-only mode (no shell), use the selected token-audit report only (the per-agent Bash and tool sections; use Grep to count, e.g. codemap vs rg calls); never Read raw transcripts. Interactively, pick 3 recent subagent transcripts and check whether they followed the key rules (code map first, ranged reads, tools before tokens). If not, find out why: the rule may be missing from their context, or worded too weakly.
  4. Propose the next 3 changes, ranked by expected saving per unit of effort, each with how we'll measure it. Prefer small, reversible changes. For Repeated failures across sessions, propose one short fact line per candidate in the project's CLAUDE.md only when the "worked instead" hint or code confirms the form (for example, "Run tests with python -m pytest"). Propose dropping it if later audits show the failure persists or the fact is stale. For Stuck turns with a large share of cost, propose fixing the cause: a brief, agent instructions, a missing check script or a guardrail, not a live judge. Wait for my OK, implement the approved ones (each with a ledger row), and mark the audit reviewed: when the audit is in the audits folder, create an empty <report name without .md>.reviewed file beside it (touch).

Done when

a short list of keeps, reverts and next steps. Over a few rounds the ledger becomes a record of what actually works for your setup.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.