comment-rot-analyzer

comment-rot-analyzer is a skill for Claude Code from RaNDoM6913/claude-code-superkit. It costs 32 tokens per session (1,463 once invoked), scanned A, original, MIT.

A code-review skill that finds comments, TODOs, and documentation that no longer match the code. TODOs are notes about unfinished work, while documentation explains how code is supposed to behave.

In plain words
What is it for?
Use it after refactors, during code reviews, or as a maintenance check. It examines stale TODOs, inaccurate comments, and outdated API or project documentation.
Why use it?
Outdated comments can mislead developers into making incorrect changes. The skill checks whether notes, function descriptions, and README sections still reflect the project.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions AGENTS.md.

Good fit Use it after refactors, during code reviews, or as a maintenance check. It examines stale TODOs, inaccurate comments, and outdated API or project documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/random6913/claude-code-superkit/comment-rot-analyzer
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 RaNDoM6913/claude-code-superkit --skill comment-rot-analyzer
Clone the repo
git clone --depth 1 https://github.com/RaNDoM6913/claude-code-superkit

Made for: Claude Code.

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-rot-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/random6913/claude-code-superkit/comment-rot-analyzer/github.svg)](https://agentmods.dev/skills/random6913/claude-code-superkit/comment-rot-analyzer)
Your own site
<a href="https://agentmods.dev/skills/random6913/claude-code-superkit/comment-rot-analyzer"><img src="https://agentmods.dev/badge/skills/random6913/claude-code-superkit/comment-rot-analyzer/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-rot-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/skills/random6913/claude-code-superkit/comment-rot-analyzer"><img src="https://agentmods.dev/badge/skills/random6913/claude-code-superkit/comment-rot-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,463 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.00032 $0.01463
Opus 5.5 $0.00013 $0.00585
Sonnet 5.5 $0.00006 $0.00293
Haiku 4.5 $0.00003 $0.00146

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

Security

Grade A, and why

comment-rot-analyzer 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 12d 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.

packages/codex/skills/comment-rot-analyzer/SKILL.md · 81 lines

How it starts

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

Comment Rot Analyzer

Find comments that mislead readers about actual behavior or contracts. Review human-readable assertions in the selected code; this complements code-reviewer and docs-reviewer without silently expanding into a repository-wide audit or rewriting code.

Scope and authority

Read applicable AGENTS.md first and relevant commenting/tooling conventions. Establish the caller's selected diff/base or named file scope. Inspect comments near changed behavior and related docstrings, callers, types, tests, and configuration as needed to verify the assertion. Use history only to resolve a concrete question; file modification time and recent commit messages do not establish a comment's accuracy.

Review only. Return proposed corrections; do not remove comments, alter code, resolve tickets, or post messages unless a distinct user request authorizes that action. Do not run external writes while checking a reference. Redact secrets/private data in examples and report excerpts.

Honor explicit routing and applicable acceptance ownership. Disclose INDEPENDENT versus INLINE SELF-REVIEW and keep requested/configured model/effort separate from observed runtime values with evidence or UNVERIFIED. Missing runtime identity alone adds no new acceptance gate; required independence/Astra acceptance remains pending if unavailable.

Attribute a change to the diff's actual left-side blob (including rename-from path, merge-base or specified parent). A truncated hunk or missing local object leaves attribution partial. Search ticket IDs literally and verify complete identifiers in commit subjects. Check whether apparent prose participates in doctests, rustdoc, Go example output, cgo, type declarations or runtime docstrings. Generated/ignored symbols and incomplete search output cannot prove a stale reference. Cite repeated false claims at each observed location.

Verify the claim before calling it rot

Behavior, signatures, and invariants

Compare the comment to the whole relevant path: branches, early returns, caller preconditions, configuration, error behavior, side effects, and return types. A comment on a helper may describe a guarantee established by its caller. Confirm the intended scope before alleging contradiction.

Read the full file on GitHub · 81 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. 12d ago Changed · +2 lines b87daa0e0939
  2. 14d ago Changed · +3 lines f602d7ce8e0c
  3. 1mo ago Changed · +1 lines · +9 tokens per session 56dd55f43379
  4. 3mo ago First seen · 75 lines · 23 tokens per session scan A bff342efaebe

Subscribe to this mod's changes

comment-rot-analyzer is a skill published in the GitHub repository RaNDoM6913/claude-code-superkit (3 stars, last pushed yesterday), licensed MIT. It adds 32 tokens to every session and 1,463 once invoked, about $0.0001 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

comment-rot-analyzer compared with skills from other repositories

comment-rot-analyzer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
comment-rot-analyzerRaNDoM6913/claude-code-superkitSkill3yesterdayMITA32Claude Code
two-axis-reviewwhite1024/agent-nextupSkill49d agoMITA62Claude Code, Codex
ai-dev-os-checkyunbow/ai-dev-os-plugin-claude-codeSkill28mo agoMITA68Claude Code
ai-dev-os-scanyunbow/ai-dev-os-plugin-claude-codeSkill28mo agoMITA59Claude Code
ai-dev-os-reviewyunbow/ai-dev-os-plugin-claude-codeSkill28mo agoMITA64Claude Code
ai-dev-os-extractyunbow/ai-dev-os-plugin-claude-codeSkill28mo agoMITA43Claude Code
ai-dev-os-evolveyunbow/ai-dev-os-plugin-claude-codeSkill28mo agoMITA50Claude Code