code-tidying

code-tidying is a plugin for Claude Code from melodic-software/claude-code-plugins. Its manifest loads nothing; the 7 skills, 1 agent it bundles cost 673 tokens per session together, scanned A, original, MIT.

A plugin for simplifying code and cleaning up comments across a repository or selected parts of it.

In plain words
What is it for?
Use it to tidy a scoped area, simplify code in dependency order, remove or rewrite comments, and audit comment residue or dead code.
Why use it?
It helps reduce unnecessary comments, dead code, and avoidable complexity while using tests and ordered changes as safeguards.

Plugin for Claude Code

Written for Claude Code: a Claude Code plugin manifest.

Good fit Use it to tidy a scoped area, simplify code in dependency order, remove or rewrite comments, and audit comment residue or dead code.

Compare 6 plugins from other repositories ↓
Install in Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
/plugin install code-tidying
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.

Clone the repo
git clone --depth 1 https://github.com/melodic-software/claude-code-plugins

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 code-tidying

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

Your own site · 80×15
<a href="https://agentmods.dev/plugins/melodic-software/claude-code-plugins/code-tidying"><img src="https://agentmods.dev/badge/plugins/melodic-software/claude-code-plugins/code-tidying.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 7 skills, 1 agent cost 673 tokens a session between them.
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.
Security

Grade A, and why

code-tidying 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 today.

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/.claude-plugin/plugin.json · 86 lines

How it starts

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

{
  "name": "code-tidying",
  "description": "Code tidying and comment hygiene. tidy hunts a rotated focus area for Beck-style tidyings and ships one PR. batch-simplify sweeps a branch, time window, or repo. tidy-diff tidies a change's lines before commit. remove-comments removes comments that do not earn their keep under a posture (none, necessary, explanatory). audit-comment-residue flags comment residue read-only. audit-dead-code finds dead code with knip, vulture, gopls, and grep. setup scaffolds tidy focus areas.",
  "author": {
    "name": "Melodic Software",
    "email": "[email protected]"
  },
  "version": "2.6.1",
  "license": "MIT",
  "keywords": [
    "tidy",
    "refactoring",
    "simplify",
    "boy-scout",
    "tidy-first",
    "maintenance",
    "comments",
    "self-documenting",
    "dead-code",
    "skill"
  ],
  "metadata": {
    "category": "maintenance"
  },
  "userConfig": {
    "hard_exclusions": {
      "type": "string",
      "title": "Hard path exclusions",
      "description": "How tidy, remove-comments, and batch-simplify treat the GLOBAL HARD path list. enforce (default) drops a listed path before triage; advisory reports it per path and never blocks, so a run may edit lint config, agent config, CI workflows, and hook chains.",
      "default": "enforce",
      "options": [
        "enforce",
        "advisory"
      ]
    },
    "comment_posture": {
      "type": "string",
      "title": "Comment posture",
      "description": "Which comments remove-comments keeps. auto (default): necessary. none: only directives, license headers, TODO(#issue), paired records and public doc comments. necessary: those plus the keep list (comment_keep_list). explanatory: whatever passes the earn-its-keep test.",
      "default": "auto",
      "options": [
        "auto",
        "none",
        "necessary",
        "explanatory"
      ]
    },
    "comment_keep_list": {
      "type": "string",
      "title": "Comment keep list",
      "descriptio

Read the full file on GitHub · 86 lines

Contents

What it installs

The manifest is a name and a version. 7 skills, 1 agent travel with it, and installing the plugin installs all of them — 673 tokens a session between them. Each is measured on its own page, and each can be installed alone.

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. today Changed 9a403509d32d
  2. yesterday Changed 109fe606edc4
  3. 2d ago Changed 2cb1c3dbd386
  4. 3d ago Changed 5a8c1e01f99e
  5. 4d ago Changed 8334a20d657d
  6. 5d ago Changed 87bbe8985f67
  7. 6d ago Changed a7d40a235734
  8. 7d ago Changed de604eb45335
  9. 8d ago Changed f56a48dafdfa
  10. 9d ago First seen · 86 lines scan A 5589399ef84c

Subscribe to this mod's changes

code-tidying is a plugin published in the GitHub repository melodic-software/claude-code-plugins (33 stars, last pushed today), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. 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

code-tidying compared with plugins from other repositories

code-tidying next to 6 plugins from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-tidyingmelodic-software/claude-code-pluginsPlugin33todayMITA—Claude Code
humanizerblader/humanizerPlugin75k11d agoMITA—Claude Code
claude-plugins-official marketplaceanthropics/claude-plugins-officialPlugin49kyesterdayApache-2.0A—Claude Code
nextjsvercel/next.jsPlugin144ktodayMITA—Claude Code
themes-examplegoogle-gemini/gemini-cliPlugin109ktodayApache-2.0A—Gemini CLI
android-skillsandroid/skillsPlugin11k7d agoApache-2.0A—Claude Code
knowledge-work-plugins marketplaceanthropics/knowledge-work-pluginsPlugin37k4d agoApache-2.0A—Claude Code