thermo-nuclear-code-quality-review

thermo-nuclear-code-quality-review is a skill for Claude Code, Codex from michael-denyer/pstack-claude. It costs 54 tokens per session (2,716 once invoked), scanned A, a copy of thermo-nuclear-code-quality-review, MIT.

An unusually strict review of code quality and maintainability. It looks for weak abstractions, oversized files, tangled conditions, and larger structural improvements.

In plain words
What is it for?
Use it for a deep maintainability audit, especially when reviewing abstraction quality, file size, conditional complexity, or overall codebase structure.
Why use it?
It helps reveal code that is difficult to understand or change, including problems that a small local cleanup would leave behind.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Part of the pstack plugin — 54 skills, 2 agents, 1 hook shipped together

Good fit Use it for a deep maintainability audit, especially when reviewing abstraction quality, file size, conditional complexity, or overall codebase structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/michael-denyer/pstack-claude/thermo-nuclear-code-quality-review
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 michael-denyer/pstack-claude --skill thermo-nuclear-code-quality-review
Clone the repo
git clone --depth 1 https://github.com/michael-denyer/pstack-claude

Made for: Claude Code, Codex.

Or install pstack, the plugin that ships this one along with the rest of its 54 skills, 2 agents, 1 hook.

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 thermo-nuclear-code-quality-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/michael-denyer/pstack-claude/thermo-nuclear-code-quality-review/github.svg)](https://agentmods.dev/skills/michael-denyer/pstack-claude/thermo-nuclear-code-quality-review)
Your own site
<a href="https://agentmods.dev/skills/michael-denyer/pstack-claude/thermo-nuclear-code-quality-review"><img src="https://agentmods.dev/badge/skills/michael-denyer/pstack-claude/thermo-nuclear-code-quality-review/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 thermo-nuclear-code-quality-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/michael-denyer/pstack-claude/thermo-nuclear-code-quality-review"><img src="https://agentmods.dev/badge/skills/michael-denyer/pstack-claude/thermo-nuclear-code-quality-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,716 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 89% copy Near-identical to another mod 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.00054 $0.02716
Opus 5 $0.00027 $0.01358
Sonnet 5 $0.00011 $0.00543
Haiku 4.5 $0.00005 $0.00272

Measured today against content hash 35f68c89a24f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

thermo-nuclear-code-quality-review 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.

Origin

This is a copy

89% identical to thermo-nuclear-code-quality-review — 12 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/pstack/skills/thermo-nuclear-code-quality-review/SKILL.md · 202 lines

How it starts

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

Thermo-Nuclear Code Quality Review

Use this skill for an unusually strict review focused on implementation quality, maintainability, abstraction quality, and codebase health.

Above all, this skill should push the reviewer to be ambitious about code structure. Do not merely identify local cleanup opportunities. Actively search for "code judo" moves: restructurings that preserve behavior while making the implementation dramatically simpler, smaller, more direct, and more elegant.

Core Prompt

Start from this baseline:

Perform a deep code quality audit of the current branch's changes. Rethink how to structure / implement the changes to meaningfully improve code quality without impacting behavior. Work to improve abstractions, modularity, reduce Spaghetti code, improve succinctness and legibility. Be ambitious, if there is a clear path to improving the implementation that involves restructuring some of the codebase, go for it. Be extremely thorough and rigorous. Measure twice, cut once.

Non-Negotiable Additional Standards

Apply the baseline prompt above, plus these explicit review rules:

  1. Be ambitious about structural simplification.

    • Do not stop at "this could be a bit cleaner."
    • Look for opportunities to reframe the change so that whole branches, helpers, modes, conditionals, or layers disappear entirely.
    • Prefer the solution that makes the code feel inevitable in hindsight.
    • Assume there is often a "code judo" move available: a re-organization that uses the existing architecture more effectively and makes the change dramatically simpler and more elegant.
    • If you see a path to delete complexity rather than rearrange it, push hard for that path.
  2. Do not let a PR push a file from under 1k lines to over 1k lines without a very strong reason.

    • Treat this as a strong code-quality smell by default.
    • Prefer extracting helpers, subcomponents, modules, or local abstractions instead of letting a file sprawl past 1000 lines.
    • If the diff crosses that threshold, explicitly ask whether the code should be decomposed first.
    • Only waive this if there is a compelling structural reason and the resulting file is still clearly organized.

Read the full file on GitHub · 202 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. today Changed · -1 lines 35f68c89a24f
  2. 9d ago First seen · 203 lines · 54 tokens per session scan A e761b3c04363

Subscribe to this mod's changes

thermo-nuclear-code-quality-review is a skill published in the GitHub repository michael-denyer/pstack-claude (245 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 2,716 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to thermo-nuclear-code-quality-review, differing in 12 lines, and is treated as a copy.