agentleFS
dagonetdagonet/claude-code-toolkit/.claude/skills/self-review/SKILL.md

self-review

Skill5 starsChanged 10 days agoMITView on GitHub

Build the toolkit's periodic self-review report from local session counts and the Claude Code changelog. Triggers on /self-review.

60 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use novelty-assessment, paper-compilation 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.
  • lingzhi227Skill

    novelty-assessment

    Assess research idea novelty through systematic literature search. Multi-round search-evaluate loops with harsh critic persona. Binary novel/not-novel decision with justification. Use before committing to a research direction.

    Also in 4 projects that use this

  • lingzhi227Skill

    paper-compilation

    Compile LaTeX papers to PDF with automatic error detection, chktex style checking, and citation/reference validation. Runs the full pdflatex + bibtex pipeline. Use when the user wants to compile a paper, fix compilation errors, or debug LaTeX.

    Also in 4 projects that use this

  • michaelboedingSkill

    slide-generation

    Use this skill to create presentation slides from structured content. Triggers: "create slides", "generate presentation", "make powerpoint", "create pptx", "build slides", "presentation from content", "slide deck", "slides for" Outputs: PPTX files, Markdown slides, or HTML presentations. Used by: pitch-deck-agent, market-researcher-agent, and other agents needing slides.

    Also in 4 projects that use this

  • FracteraSkill

    ask-element

    Work skill. The architect wants an element of this node to check or find out something and you to bring the answer («попроси template проверить …», «узнай у auth …»), or wants you to start or close an element's agent yourself. Also when «агент элемента … сообщил, что закончил (надзор …)» wakes you after such a task.

    Also in 3 projects that use this

  • FracteraSkill

    audit-broken-characters

    Scan the whole project for BROKEN / REPLACEMENT characters in localized text — a control byte (e.g. 0x13) or U+FFFD or mojibake left where an accented letter belonged, which renders as a box (e.g. "Documentación" showing "Documentaci□n"). Use when the owner reports a square / wrong glyph in the UI or content, says "broken character", "weird symbol", "mojibake", "validate encoding", or after authoring multilingual content and before closing a content step. It SHIPS SILENTLY (the file still parses), so run the audit to catch it. One project-root script, nothing external needed.

    Also in 3 projects that use this

  • +3 more from lingzhi227
  • +4 more from Fractera

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 50 edited versions we read keep these.

  • 1

    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:

    All counter commands below are python3 scripts/self-review-count.py ....

    line 11
  2. Very specific:

    Ask the user once which other machines to include.

    line 17
  3. Very specific:

    (a) Manual: run the same counter there with this machine's --since and the default --out, follow its printed "Next:" line, and copy the …

    line 18
  4. Distinctive:

    Read what changed in the harness and in the models since the previous report (a first report covers the last 30 days).

    line 22
  5. Very specific:

    Write the checked draft to docs/self-review/<YYYY-MM-DD>.md.

    line 28

“Common” is measured: kept by at least 6 in 10 of the 50 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

/self-review

Writes docs/self-review/<YYYY-MM-DD>.md from counts taken from Claude Code session records on one or more machines, plus the Claude Code changelog. Run it in a toolkit checkout. It never ships to consumers and applies nothing by itself.

All counter commands below are python3 scripts/self-review-count.py ...; on Windows use python if python3 is absent. Every machine uses one exchange directory, ~/.cache/cct-self-review/: the counter writes there by default, and the files from other machines are copied into the same directory.

Steps

  1. Count this machine. Run the counter with --since <date of the previous docs/self-review report, else 30 days back> and the default --out. If this checkout is a git worktree, also pass --clone-root <the directory that holds your clones>; the counter prints clone roots: N, notes files: N, Jev event files: N, and a zero where you expect notes or Jev events means it looked in the wrong place (zeros are normal before notes exist and without Jev). Keep the counter's default machine label (<os>-<6 random hex>, made once and kept in the exchange directory as machine-id); never ask for one or invent one. If the user insists on choosing a label, it must not identify the machine or its user: never a hostname or a user name. The counter writes <label>-<date>.json and <label>-<date>.local.json into the exchange directory; the merge step ignores the .local.json.
  2. Group the corrections. Read the corrections in the .local.json and group them into behaviour kinds: agent behaviour only, never project content. A kind is a short, generic phrase about what the agent did. It may not name a project, repo, path or person, and may not quote words from the candidates. A candidate that is not a correction gets no kind. Add "correction_kinds": [{"kind": "...", "count": N}] to the shared JSON, and state the precision in the report as kinds total / candidates (the kind counts summed, over correction_candidates). Never copy candidate text anywhere else.
  3. Ask the user once which other machines to include. Every machine must count the same window, so pass this machine's --since along. For each machine, give the two ways in, then continue with whatever is in the exchange directory, without waiting:
    • (a) Manual: run the same counter there with this machine's --since and the default --out, follow its printed "Next:" line, and copy the shared JSON into this machine's ~/.cache/cct-self-review/.
    • (b) Peer session: if a Claude session on that machine can be messaged, ask it to do (a) with this machine's --since, to keep the correction kinds generic agent-behaviour phrases (no project, repo, path or person names, and no words quoted from the corrections), and to reply with the shared JSON text only. Write that text into ~/.cache/cct-self-review/ as <machine field of the JSON>-<date>.json.
    • A machine column that appears in the previous report's table but not in this merge is named in the header as "not included this time".
  4. Merge. Immediately before it, record the list of *.json files (not *.local.json) in ~/.cache/cct-self-review/; step 9 archives exactly that list. Then run the counter with --merge ~/.cache/cct-self-review/. It reads every *.json there except *.local.json, and does not read subdirectories. For a repeated machine label the newest run is kept and the others are listed as skipped: ...; keep those lines. Paste the table unchanged, subject to step 7.
  5. Read what changed in the harness and in the models since the previous report (a first report covers the last 30 days). Both are required in every report.
    • Harness: the Claude Code changelog (https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md), from the newest version named in the previous report's header.
    • Models: Anthropic's models overview, model deprecations and API release notes (platform.claude.com docs). Note new, deprecated and retiring models, changed recommendations, default efforts and prices.
    • For each change, say what it means for a toolkit rule: redundant, cheaper, newly possible, or breaking. Check whether any shipped setting, agent or hook names a retiring model.
  6. Draft the whole report with the template below: header, table, items and since-last-report. Do not save it yet.
  7. Privacy-check the draft. Look through all of it (header, table, items, machine labels and the skipped: file names) for project or repo names from the .local.json files, for a machine label or file name that identifies a machine or its user, and for any row label (a correction kind, for instance) that names a project, repo, path or person or quotes candidate text. Also remove any quoted or paraphrased correction-candidate text anywhere in the draft. Remove or rewrite generically anything that does. This overrides "paste unchanged" for that purpose only.
  8. Write the checked draft to docs/self-review/<YYYY-MM-DD>.md.
  9. Archive. Move exactly the list recorded in step 4, plus each file's .local.json if present, into ~/.cache/cct-self-review/merged-<YYYY-MM-DD>/; that includes files the merge skipped as superseded. If that directory already exists, use merged-<YYYY-MM-DD>-2, -3 and so on; never overwrite. A file that arrived after the listing stays in place; tell the user it was not in this report. The next merge does not read subdirectories, so a machine that is not re-run is reported as "not included this time" rather than with stale numbers.

Report template

  • Header: date, window, Claude Code versions and models seen, machine labels, the previous report or "first report", and one line that sessions whose records are on no included machine (for example cloud-hosted ones) are not counted.
  • Key numbers: the merged table, then the Context Budget figures (harness-injected at session start, and at the end of bootstrap) from the bold newest-version column of the Context Budget table in docs/architecture.md.
  • At most 10 items, ranked by cost saved or quality gained. Each gives the evidence, the change, the effect, the risk, and the files touched.
  • Harness and model changes since the last report: the step 5 findings, each with its consequence for a toolkit rule.
  • Since last report: one line.

Ranking rule

Usage counts come from the machines included, which are one user's projects. A skill, command, agent or hook that shows little or no use there may still help other projects or other cct users. Never propose removing a toolkit part because of low use. Propose making it optional instead: move it into an opt-in plugin of the dagonet marketplace, the way the MCP server plugins are opt-in. Removal is only for a part that is broken or superseded, with that evidence named.

Rule

Nothing is applied; each item waits for the user's approval of that item. The maintainer commits the report in the release PR. Anyone else keeps theirs in their own checkout, and may offer findings upstream via /cct-helpers:contribute-upstream (if cct-helpers is installed).

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.