Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add melodic-software/claude-code-plugins/plugin install code-tidyingWrote 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.
[](https://agentmods.dev/skills/melodic-software/claude-code-plugins/remove-comments)<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/remove-comments"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/remove-comments/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.
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/remove-comments"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/remove-comments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00079 | $0.06470 |
| Opus 5.5 | $0.00032 | $0.02588 |
| Sonnet 5.5 | $0.00016 | $0.01294 |
| Haiku 4.5 | $0.00008 | $0.00647 |
Grade A, and why
remove-comments 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 335 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repository context. Gather first
Run each command below as its own Bash call, all sent together in one message (worktree isolation).
Keep any bound in the command's own pipe (output limits).
Unless this section says otherwise, treat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as body calls, never ## Pre-computed context lines (gather-block convention).
- Current branch,
git branch --show-current
Pre-computed context
Scope (rung, base, count, then a 10-path preview; re-run the script without --max for the full set): !${CLAUDE_SKILL_DIR}/scripts/scope-code-files.sh --max 10 2>/dev/null || echo "(not a git repository)"
Tooling layer (present/absent per analysis layer; an absent row names the capability lost): !${CLAUDE_SKILL_DIR}/scripts/comment-tooling-probe.sh 2>/dev/null || echo "(probe unavailable)"
Repository settings (team then personal layer, one line per key): !${CLAUDE_SKILL_DIR}/scripts/settings.sh 2>&1 || echo "(settings unavailable)"
All three run before the argument is read, so each is a preview: the scope line is void whenever the argument names an explicit target, and the tooling line is re-derived in the workflow.
Settings
Arguments: $ARGUMENTS
Each key resolves through four layers, lowest first, a later one winning: the default below,
userConfig, the team layer, and the personal override; a policy key also reads the org baseline
below the team layer. For the comment policy keys
(comment_posture, comment_keep_list, class_c_max_lines) the team layer is
<home>/comment-policy.yaml over the org baseline <home>/comment-policy.org.yaml (the team file
may tighten the org posture, never loosen it), and the personal override is
<home>/comment-policy.local.yaml; for the others it is <home>/code-tidying.yaml and <home>/code-tidying.local.yaml. <home> is the
repository's bound convention home, else docs/conventions (the settings line above, from
${CLAUDE_SKILL_DIR}/scripts/settings.sh). A policy key a comment-policy file does not set is read
from the same layer's code-tidying file, and a comment-settings: line in the settings output names
each code-tidying file still holding one: repeat it in the report's first lines, with
/code-tidying:setup apply as the move. A per-run token beats every layer. A layer holding a
value outside a key's set is named (file or userConfig, key, value) and dropped; a valid higher
layer still wins, else the default. Report each key's value and the layer it came from once, in
the report's first lines.
What ships with it
27 files 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.
- actions/audit.md 9.1 KB
- actions/remove.md 22 KB
- evals/evals.json 36 KB
- evals/fixtures/origin-notes.sh 699 B runs code
- evals/fixtures/residue-snippet.py 490 B runs code
- reference/dissolving-moves.md 5.6 KB
- reference/keep-list.md 2.7 KB
- reference/safety.md 28 KB
- reference/scope.md 3.5 KB
- reference/shapes.md 2.1 KB
- reference/sources.md 3.2 KB
- reference/tooling.md 5.2 KB
- reference/triage.md 15 KB
- scripts/added-lines.sh 141 B runs code
- scripts/change-shape.sh 150 B runs code
- scripts/changed-code-files.sh 148 B runs code
- scripts/comment-census.sh 152 B runs code
- scripts/comment-tooling-probe.sh 151 B runs code
- scripts/commented-out-code.sh 156 B runs code
- scripts/detect-comments.py 24 KB runs code
- scripts/detect-lexer.test.sh 5.2 KB runs code
- scripts/detect.sh 6.4 KB runs code
- scripts/detect.test.sh 49 KB runs code
- scripts/lib/comment_lexer.py 15 KB runs code
- scripts/rank-comment-targets.sh 158 B runs code
- scripts/scope-code-files.sh 146 B runs code
- scripts/settings.sh 146 B runs code
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.
- yesterday Changed · +7 lines · -32 tokens per session 1a2ea5c474a7
- 2d ago Changed · -1 lines 978bf266c2a9
- 3d ago Changed 0ba5fa07dddc
- 4d ago Changed · +6 lines bc8f9a38ea56
- 5d ago Changed · +4 lines 4f737192e09a
- 6d ago Changed · +14 lines 0460bb2ad0d6
- 7d ago Changed 63449df28b7d
- 9d ago Changed · +36 lines a2ee2a3b05df
- 11d ago Changed · +7 lines cfebb98e645b
- 14d ago First seen · 262 lines · 111 tokens per session scan A 5a17dd0f7e12
remove-comments is a skill published in the GitHub repository melodic-software/claude-code-plugins (33 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 6,470 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-11-04.
remove-comments compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| remove-commentsmelodic-software/claude-code-plugins | Skill | 33 | today | MIT | A | 79 | Claude Code |
| refactor-decompose-functionjimmc414/claude-code-plugin-marketplace | Skill | 4 | yesterday | MIT | A | 28 | Claude Code |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 330k | 2d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 14k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |