thermo-nuclear-code-quality-review

thermo-nuclear-code-quality-review is a command for Claude Code, Cursor from emaraschio/cursor-commands. It costs 29 tokens per session (572 once invoked), scanned A, original, MIT.

A strict review of code structure on the current branch compared with its starting point, focused on maintainability without changing behavior.

In plain words
What is it for?
Use it for an explicit code-quality check of a branch's changes, especially when the code works but may be unnecessarily complicated.
Why use it?
It catches growing conditional complexity, oversized files, and avoidable structural problems before they become harder to maintain.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md).

Good fit Use it for an explicit code-quality check of a branch's changes, especially when the code works but may be unnecessarily complicated.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/emaraschio/cursor-commands/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.

Clone the repo
git clone --depth 1 https://github.com/emaraschio/cursor-commands

Made for: Claude Code, Cursor.

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/commands/emaraschio/cursor-commands/thermo-nuclear-code-quality-review/github.svg)](https://agentmods.dev/commands/emaraschio/cursor-commands/thermo-nuclear-code-quality-review)
Your own site
<a href="https://agentmods.dev/commands/emaraschio/cursor-commands/thermo-nuclear-code-quality-review"><img src="https://agentmods.dev/badge/commands/emaraschio/cursor-commands/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/commands/emaraschio/cursor-commands/thermo-nuclear-code-quality-review"><img src="https://agentmods.dev/badge/commands/emaraschio/cursor-commands/thermo-nuclear-code-quality-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 572 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.00029 $0.00572
Opus 5 $0.00015 $0.00286
Sonnet 5 $0.00006 $0.00114
Haiku 4.5 $0.00003 $0.00057

Measured 9d ago against content hash 819dff4eb33d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d ago.

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.

.cursor/commands/thermo-nuclear-code-quality-review.md · 45 lines

How it starts

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

Overview

Extremely strict maintainability review that hunts for code-judo simplifications, giant files, and spaghetti-condition growth without changing behavior. Full workflow: .cursor/skill-contracts/thermo-nuclear-code-quality-review/SKILL.md (user install: ~/.cursor/skill-contracts/thermo-nuclear-code-quality-review/SKILL.md).

Defaults

Setting Default
Scope current branch diff against its merge base
Posture block on structural regressions; keep behavior identical
Findings a few high-conviction comments over a long list of nits
Invocation explicit only (do not auto-suggest)
Ship gate A, S

Steps

  1. Read .cursor/skill-contracts/thermo-nuclear-code-quality-review/SKILL.md for the full agent contract; if that file is missing, read ~/.cursor/skill-contracts/thermo-nuclear-code-quality-review/SKILL.md.
  2. Execute the workflow in order; do not skip safety steps.
  3. Report outcomes per skill (summary, tables, or checklist as specified).

Anti-patterns

  • Push for the code judo move, not surface polish. Trigger: a diff that works but carries avoidable structural complexity. Wrong: approving it or leaving only rename and style nits. Correct: name the code judo move that deletes whole branches or layers and push for it. Reason: a review that only polishes lets incidental complexity calcify into permanent debt.
  • Block unjustified file-size and spaghetti growth. Trigger: a diff pushing a file past 1000 lines or bolting ad-hoc conditionals onto an unrelated flow. Wrong: accepting it because the tests pass. Correct: ask to decompose first and move the logic behind a dedicated abstraction. Reason: sprawl and scattered special cases make the surrounding code permanently harder to reason about.

Examples

  • /thermo-nuclear-code-quality-review
  • /thermo-nuclear-code-quality-review scoped to a single file or module

Maintainers

Behavioral eval: .cursor/skill-contracts/thermo-nuclear-code-quality-review/eval/cases.md. Ship gate sections: A, S before changing SKILL.md or this command.

Read the full file on GitHub · 45 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. 9d ago First seen · 45 lines · 29 tokens per session scan A 819dff4eb33d

Subscribe to this mod's changes

thermo-nuclear-code-quality-review is a command published in the GitHub repository emaraschio/cursor-commands (9 stars, last pushed 1mo ago), licensed MIT. It adds 29 tokens to every session and 572 once invoked, about $0.0001 per session on Opus 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-31.