comment-reaper

comment-reaper is a skill for Claude Code from jerseycheese/agent-skills. It costs 68 tokens per session (2,144 once invoked), scanned A, original, MIT.

A code-review guide for finding comments that merely repeat the code, cite issue numbers, describe old refactors, or explain simple functions at excessive length. It sorts findings into automatic fixes, proposed changes, and comments that should remain.

In plain words
What is it for?
Use it to clean up a repository's comments, including commented-out code and redundant documentation. It is for comment existence and usefulness, rather than correcting inaccurate or hard-to-read comments.
Why use it?
It removes comment clutter while protecting comments that explain constraints or the reasons behind unusual code. Reading the surrounding code first helps distinguish unnecessary comments from important context.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md.

Part of the workflow-skills plugin — 34 skills shipped together

Good fit Use it to clean up a repository's comments, including commented-out code and redundant documentation. It is for comment existence and usefulness, rather than correcting inaccurate or hard-to-read comments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jerseycheese/agent-skills/comment-reaper
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 jerseycheese/agent-skills --skill comment-reaper
Clone the repo
git clone --depth 1 https://github.com/jerseycheese/agent-skills

Made for: Claude Code.

Or install workflow-skills, the plugin that ships this one along with the rest of its 34 skills.

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 comment-reaper

README.md
[![agentmods](https://agentmods.dev/badge/skills/jerseycheese/agent-skills/comment-reaper/github.svg)](https://agentmods.dev/skills/jerseycheese/agent-skills/comment-reaper)
Your own site
<a href="https://agentmods.dev/skills/jerseycheese/agent-skills/comment-reaper"><img src="https://agentmods.dev/badge/skills/jerseycheese/agent-skills/comment-reaper/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 comment-reaper

Your own site · 80×15
<a href="https://agentmods.dev/skills/jerseycheese/agent-skills/comment-reaper"><img src="https://agentmods.dev/badge/skills/jerseycheese/agent-skills/comment-reaper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,144 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.00068 $0.02144
Opus 5.5 $0.00027 $0.00858
Sonnet 5.5 $0.00014 $0.00429
Haiku 4.5 $0.00007 $0.00214

Measured 8d ago against content hash e30b5563b030, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

comment-reaper 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 8d ago.

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/comment-reaper/SKILL.md · 114 lines

How it starts

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

Comment Reaper

Most comment cleanup fails one of two ways: it deletes a comment that was carrying a constraint nobody could reconstruct, or it stops at commented-out code and calls the job done. This skill exists because the second failure is the common one in a well-kept repo. The obvious rot is already gone; what remains is comments that are technically accurate and still worthless.

The rule this enforces is in the user's CLAUDE.md under "Code hygiene: comments & naming": explain WHY, not WHAT. That file names issue/PR citations as "the single most common violation of this section," and until this skill existed nothing looked for them.

The core discipline, inherited from doc-rot: a comment is not reapable because it looks obvious. It is reapable because the code already says it. Those differ. Read the code under the comment before cutting.

Sibling skills, so you don't do their job

  • doc-rot fixes comments that contradict the code. If the comment is wrong, that's rot, not bloat - hand it over.
  • plain-language-audit fixes comments that are hard to read. Jargon and verbosity are quality problems; this skill is an existence problem.
  • dead-code-cleanup removes the code itself. If the function is dead, reap the function, not its docblock.

A comment can qualify for two skills at once. When it does, deletion wins: don't spend a rewrite on a comment that shouldn't exist.

Pre-flight

  1. git fetch && git status. Confirm the base branch (develop if it exists, else main) and that you're current. Auditing a stale checkout is the most common way this work gets wasted.
  2. Scope it and say the scope out loud. A directory, a domain, the files a recent change touched. Do not sweep a whole repo in one pass - the diff becomes unreviewable and one bad deletion poisons the whole thing.
  3. Get the numbers before you touch anything. If the repo has an audit script (npm run audit:comments), run it. Otherwise use the grep block below. You want a before count so the after count means something.

Read the full file on GitHub · 114 lines

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. 8d ago Changed · -5 lines · -86 tokens per session e30b5563b030
  2. 1mo ago First seen · 119 lines · 154 tokens per session scan A be659fd6b4ff

Subscribe to this mod's changes

comment-reaper is a skill published in the GitHub repository jerseycheese/agent-skills (3 stars, last pushed 5d ago), licensed MIT. It adds 68 tokens to every session and 2,144 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-08-31.

Related

Other skills, from other repositories

chorus-council

Run an LLM council — Claude (correctness), Gemini (edge cases), Cursor (integration), Kilo (maintainability), and you (scope) tackle the same task in parallel. Use when the user wants multiple independent perspectives on a decision, approach, or problem.

valpere/chorus · 62 tokens

chorus-parallel-review

Parallel code review of the current git diff from multiple agents — Claude (correctness/security), Gemini (edge cases), Cursor (integration), Kilo (maintainability), and you (scope/simplicity). Use when the user says "parallel review", "review with all agents", or "chorus review".

valpere/chorus · 69 tokens

tuicr

Use tuicr's review CLI to read and add comments in active TUI review sessions, and launch tuicr in cmux, tmux, Zellij, or Herdr when a user needs an interactive review pane.

agavra/tuicr · 50 tokens

liveagent-code-review

Review an open GitHub pull request or the current local branch and working tree with parallel, independent reviewers and evidence-based validation. Use when the user asks for code review, invokes the Code Review action from Git Review, or explicitly mentions this skill.

Stack-Cairn/LiveAgent · 54 tokens

omh-image-cards

This is an OMH img-summary workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

rlaope/oh-my-hermes · 79 tokens

omh-code-review

This is an OMH code-review workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

rlaope/oh-my-hermes · 48 tokens