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.
git clone --depth 1 https://github.com/melodic-software/claude-code-pluginsWrote 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/plugins/melodic-software/claude-code-plugins/code-metrics)<a href="https://agentmods.dev/plugins/melodic-software/claude-code-plugins/code-metrics"><img src="https://agentmods.dev/badge/plugins/melodic-software/claude-code-plugins/code-metrics/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/plugins/melodic-software/claude-code-plugins/code-metrics"><img src="https://agentmods.dev/badge/plugins/melodic-software/claude-code-plugins/code-metrics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>Grade A, and why
code-metrics 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.
What it actually says
{
"name": "code-metrics",
"description": "Read-only code measures for a change, with cited references and no verdict: lines per file (audit size), cyclomatic, cognitive, and Halstead complexity (audit complexity), duplication (audit-duplication), per-function coverage and CRAP from existing lcov, Cobertura, coverage.py, or Go artifacts (audit-coverage), TypeScript and Python type debt (audit type-debt), metric literacy (principles), and setup. Uses only collectors already installed; never installs or runs tests.",
"author": {
"name": "Melodic Software",
"email": "[email protected]"
},
"version": "3.2.2",
"license": "MIT",
"keywords": [
"code-metrics",
"complexity",
"cyclomatic",
"cognitive-complexity",
"halstead",
"lines-of-code",
"duplication",
"coverage",
"crap",
"type-coverage",
"quality",
"measurement",
"audit",
"skill"
],
"metadata": {
"category": "quality"
},
"userConfig": {
"config_file": {
"type": "file",
"title": "Your code-metrics settings file",
"description": "Path to your own code-metrics YAML file, the layer that applies in every repository, under the team file and your personal override. Same keys as docs/conventions/code-metrics.yaml. Unset: no user layer."
}
}
}
What it installs
The manifest is a name and a version. 6 skills travel with it, and installing the plugin installs all of them — 591 tokens a session between them. Each is measured on its own page, and each can be installed alone.
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.
- today Changed 612fde81c1e5
- yesterday Changed 187b88912bd9
- 2d ago Changed 8a2ed3fbbcfc
- 3d ago Changed 27b533ebc4c6
- 5d ago Changed 2cf260d02080
- 6d ago Changed b77e079e6d72
- 7d ago Changed · +7 lines 843929e83993
- 8d ago Changed b8fdc8b9d06a
- 10d ago Changed 803d6dbe6370
- 11d ago First seen · 30 lines scan A 86fa16f71bf0
code-metrics 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-09-06.
code-metrics compared with plugins from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-metricsmelodic-software/claude-code-plugins | Plugin | 33 | today | MIT | A | — | Claude Code |
| humanizerblader/humanizer | Plugin | 75k | 11d ago | MIT | A | — | Claude Code |
| claude-plugins-official marketplaceanthropics/claude-plugins-official | Plugin | 49k | yesterday | Apache-2.0 | A | — | Claude Code |
| nextjsvercel/next.js | Plugin | 144k | today | MIT | A | — | Claude Code |
| themes-examplegoogle-gemini/gemini-cli | Plugin | 109k | today | Apache-2.0 | A | — | Gemini CLI |
| android-skillsandroid/skills | Plugin | 11k | 7d ago | Apache-2.0 | A | — | Claude Code |
| knowledge-work-plugins marketplaceanthropics/knowledge-work-plugins | Plugin | 37k | 4d ago | Apache-2.0 | A | — | Claude Code |