dissolve-comments

dissolve-comments is a skill for Claude Code from melodic-software/claude-code-plugins. It costs 102 tokens per session (8,562 once invoked), scanned A, original, MIT.

A code-cleanup tool that removes comments which add no information and rewrites comments whose meaning can be expressed more clearly through names or code structure.

In plain words
What is it for?
Use it on changed files, branch changes, or a whole repository to make code explain itself where possible.
Why use it?
It reduces comments that merely repeat the code or become misleading when the code changes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; mentions AGENTS.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the code-tidying plugin — 7 skills, 1 agent shipped together

Good fit Use it on changed files, branch changes, or a whole repository to make code explain itself where possible.

Compare 6 skills from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
Claude Code
/plugin install code-tidying

Made for: Claude Code.

Or install code-tidying, the plugin that ships this one along with the rest of its 7 skills, 1 agent.

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 dissolve-comments

README.md
[![agentmods](https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/dissolve-comments/github.svg)](https://agentmods.dev/skills/melodic-software/claude-code-plugins/dissolve-comments)
Your own site
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/dissolve-comments"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/dissolve-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.

agentmods 80×15 button for dissolve-comments

Your own site · 80×15
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/dissolve-comments"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/dissolve-comments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,562 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.00102 $0.08562
Opus 5.5 $0.00041 $0.03425
Sonnet 5.5 $0.00020 $0.01712
Haiku 4.5 $0.00010 $0.00856

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

Security

Grade A, and why

dissolve-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 28d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/added-lines.sh, scripts/change-shape.sh, scripts/comment-census.sh, …), 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.

plugins/code-tidying/skills/dissolve-comments/SKILL.md · 402 lines

How it starts

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

Repository context. Gather first

Collect the current branch, git branch --show-current, in its own Bash call, not a pre-compute line (gather-block record, "The pre-compute block runs as one shell invocation"). Treat a failure (not a repository, git unavailable) as an unknown value and carry on.

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)"

Both 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 step 3.

Variables

Arguments: $ARGUMENTS

Posture: ${user_config.comment_posture} (unexpanded or empty means strict; any value outside strict, balanced, conservative, aggressive is read as strict). Kept-comment line budget: ${user_config.class_c_max_lines} (unexpanded or empty means 2). Apply proven local renames without a test net: ${user_config.apply_local_renames} (unexpanded or empty means true). HARD path exclusions: ${user_config.hard_exclusions} (unexpanded, empty, or any value outside enforce and advisory means enforce).

Purpose

The editing counterpart to /code-tidying:audit-comment-residue, which classifies and reports. This skill makes the code in scope self-describing and removes every comment that does not earn its keep, against the floor the canonical sources jointly sign: implementation code only needs comments when the code is nonobvious. The prime target is agent-written code, which over-narrates by default; this is a tidy-after-generation pass, not a generation-time ban. The target is over-narration, not density: a hand-written contract-heavy file is legitimately comment-dense, and a full pass over one can correctly end at zero edits.

Read the full file on GitHub · 402 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. 28d ago Changed 910b1c318c18
  2. 29d ago Changed · +3 lines 0b0f12c8e779
  3. 1mo ago Changed 508e550ab3ff
  4. 1mo ago Changed · +77 lines · +7 tokens per session a0b4c64265c2
  5. 1mo ago Changed · -34 lines · -15 tokens per session 711728601298
  6. 1mo ago Changed · +1 lines 0da9e8042a9d
  7. 1mo ago Changed 0ef30960198e
  8. 2mo ago Changed · -116 tokens per session 39be08f0b041
  9. 2mo ago Changed · +1 lines 23c562e37469
  10. 2mo ago First seen · 354 lines · 226 tokens per session scan A 2a22fe9806da

Subscribe to this mod's changes

dissolve-comments is a skill published in the GitHub repository melodic-software/claude-code-plugins (33 stars, last pushed today), licensed MIT. It adds 102 tokens to every session and 8,562 once invoked, about $0.0004 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-30.

Related

dissolve-comments compared with skills from other repositories

dissolve-comments next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dissolve-commentsmelodic-software/claude-code-pluginsSkill33todayMITA102Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code