ce:review-cleanup

ce:review-cleanup is a skill for Claude Code, Codex from marcusrbrown/systematic. It costs 63 tokens per session (1,360 once invoked), scanned A, original, MIT.

A procedure for deleting old local review-run folders and their saved review records. It only cleans up existing files and does not start a new review.

In plain words
What is it for?
Use it to preview and delete old review artifacts under the specified project checkout.
Why use it?
It helps reclaim disk space and remove stale review history while requiring confirmation that no other process is still writing those files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to preview and delete old review artifacts under the specified project checkout.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/marcusrbrown/systematic/ce-review-cleanup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add marcusrbrown/systematic --skill ce-review-cleanup
Clone the repo
git clone --depth 1 https://github.com/marcusrbrown/systematic

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ce:review-cleanup

README.md
[![agentmods](https://agentmods.dev/badge/skills/marcusrbrown/systematic/ce-review-cleanup/github.svg)](https://agentmods.dev/skills/marcusrbrown/systematic/ce-review-cleanup)
Your own site
<a href="https://agentmods.dev/skills/marcusrbrown/systematic/ce-review-cleanup"><img src="https://agentmods.dev/badge/skills/marcusrbrown/systematic/ce-review-cleanup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ce:review-cleanup

Your own site · 80×15
<a href="https://agentmods.dev/skills/marcusrbrown/systematic/ce-review-cleanup"><img src="https://agentmods.dev/badge/skills/marcusrbrown/systematic/ce-review-cleanup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,360 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.01360
Opus 5.5 $0.00025 $0.00544
Sonnet 5.5 $0.00013 $0.00272
Haiku 4.5 $0.00006 $0.00136

Measured 2mo ago against content hash 03a037645e30, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ce:review-cleanup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/cleanup.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ce-review-cleanup/SKILL.md · 70 lines

How it starts

The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Review Artifact Cleanup

Offline, operator-initiated deletion of old ce:review run directories. This skill must never dispatch a review, select a review mode, or create a new run while claiming writers are stopped. It only previews and deletes existing run directories through the bundled helper.

Step 1: Identify the target root

Before asking anything else, fix the target project root for this invocation (the operator-supplied path, or the current checkout if none is given) and hold it as TARGET_ROOT for every command below. Every invocation in this skill -- preview and execute -- reuses this exact same value. The preview helper's JSON response carries no root field, so execute must never guess or reconstruct the root from that response; it must reuse the value fixed here.

Step 2: Offline acknowledgment

Before any scan, ask the operator to confirm they have stopped all review writers using this checkout, including other sessions and other machines, and that they will remain stopped through deletion. This is a stated precondition, not a verified one: the helper does not detect active writers. If the operator refuses or cannot confirm, stop -- do not run preview.

Step 3: Age cutoff

Ask for the age cutoff (days, or a number suffixed d/w) if the operator has not already supplied one. Age is a required argument with no default; never assume or infer a cutoff.

Step 4: Preview

Fill TARGET_ROOT with the value fixed in Step 1 and AGE with the confirmed cutoff, then invoke the bundled helper for a read-only preview. Quote both values -- never interpolate operator text unquoted:

# Resolve helper scripts relative to this skill's directory.
SKILL_DIR="<skill directory stated when this skill loads>";
node "$SKILL_DIR/scripts/cleanup.mjs" preview --root "$TARGET_ROOT" --age "$AGE" --ack-offline

Parse the JSON result:

  • result: "root-missing" -- no review root exists; nothing to do, stop.
  • result: "nothing-eligible" -- no candidate is old enough; report the excludedRecent count and the skippedUnknownUnsafe count separately (they are not the same thing: recency exclusion is not an unsafe/unknown skip), and stop.
  • result: "preview" -- one or more candidates selected; continue to Step 5.
  • result: "error" -- exit code 2 with a fixed category (e.g. missing-acknowledgment, invalid-age, invalid-root, unsafe-review-root, root-enumeration-failed). Report the category verbatim and stop. Never substitute an unchecked replacement command (no direct filesystem deletion, no ad hoc shell traversal) when the helper is missing or fails -- report a fixed diagnostic and stop.

Read the full file on GitHub · 70 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 70 lines · 63 tokens per session scan A 03a037645e30

Subscribe to this mod's changes

ce:review-cleanup is a skill published in the GitHub repository marcusrbrown/systematic (32 stars, last pushed today), licensed MIT. It adds 63 tokens to every session and 1,360 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-11.

Related

ce:review-cleanup compared with skills from other repositories

ce:review-cleanup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ce:review-cleanupmarcusrbrown/systematicSkill32todayMITA63Claude Code, Codex
plan-protocolkdcokenny/ocxSkill9822mo agoMITA14Claude Code, Codex
plan-reviewkdcokenny/ocxSkill9822mo agoMITA11Claude Code, Codex
code-reviewkdcokenny/ocxSkill9822mo agoMITA14Claude Code, Codex
code-philosophykdcokenny/ocxSkill9822mo agoMITA32Claude Code, Codex
frontend-philosophykdcokenny/ocxSkill9822mo agoMITA36Claude Code, Codex
no-vibe-btwrizukirr/no-vibeSkill519d agoMITA29Claude Code