ng-code-review

ng-code-review is a command for Claude Code from FlyFission/nuclear-grade-context-engineering. It costs 0 tokens per session (794 once invoked), scanned A, original, MIT.

A generated command prompt for reviewing code quality in a change or module.

In plain words
What is it for?
Use it to review diffs, large files, new abstractions, proposed rewrites, or code written quickly by an AI agent.
Why use it?
It helps identify unnecessary layers, oversized files, misplaced feature logic, and clever code that may be hard to maintain, beyond checking whether the code works.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the nuclear-grade plugin — 30 skills, 29 commands, 5 agents shipped together

Good fit Use it to review diffs, large files, new abstractions, proposed rewrites, or code written quickly by an AI agent.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/flyfission/nuclear-grade-context-engineering/ng-code-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/FlyFission/nuclear-grade-context-engineering

Made for: Claude Code.

Or install nuclear-grade, the plugin that ships this one along with the rest of its 30 skills, 29 commands, 5 agents.

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 ng-code-review

README.md
[![agentmods](https://agentmods.dev/badge/commands/flyfission/nuclear-grade-context-engineering/ng-code-review/github.svg)](https://agentmods.dev/commands/flyfission/nuclear-grade-context-engineering/ng-code-review)
Your own site
<a href="https://agentmods.dev/commands/flyfission/nuclear-grade-context-engineering/ng-code-review"><img src="https://agentmods.dev/badge/commands/flyfission/nuclear-grade-context-engineering/ng-code-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 ng-code-review

Your own site · 80×15
<a href="https://agentmods.dev/commands/flyfission/nuclear-grade-context-engineering/ng-code-review"><img src="https://agentmods.dev/badge/commands/flyfission/nuclear-grade-context-engineering/ng-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 794 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.00000 $0.00794
Opus 5.5 $0.00000 $0.00318
Sonnet 5.5 $0.00000 $0.00159
Haiku 4.5 $0.00000 $0.00079

Measured 1mo ago against content hash f1d3567216c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ng-code-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 1mo 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.

commands/ng-code-review.md · 66 lines

How it starts

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

ng-code-review

Portable command prompt generated from skills/reviewing-code-quality/SKILL.md. Edit the skill, then run python tools/ng.py gen-commands; do not edit this file by hand.

Reviews a diff or module for slipping standards, favoring deletion over rearranging, and ends in one honest verdict. Use when a change risks oversized files, needless layers, feature logic leaking into shared code, or clever indirection. Do not use for a trivial obvious edit, or for a check that is only about whether the code works.

Use when

  • A diff or module is up for review and you want a standards check, not just a "does it work" check.
  • A file or function has grown large, or a new layer is being added.
  • Logic for one feature may be leaking into shared, core, or framework code.
  • A rewrite is proposed and you need to judge whether it removes complexity or just moves it.
  • An agent wrote code fast and the question is whether anyone can maintain it.
  • The work is in Sweeper posture -- simplification, unshipping, or performance work -- where deletion can outrun the baseline (see docs/02-operating-system/archetype-lens.md).

Do not use when

  • The change is a trivial, obvious edit with no effect on structure.
  • The task is only about whether the code works (use proving-claims and verification instead).
  • The deliverable is a produced artifact whose correctness lives in the rendered output — a figure, PDF, SVG, screenshot, build, or deployed response — rather than the source structure; use verifying-final-artifacts instead.
  • A quick fix has to ship to contain a live incident before a quality pass makes sense.

Inputs

  • The diff or module under review and the files around it.
  • The change's mission anchor or goal, so you can judge scope.
  • Project conventions and any countable limits the team agreed on.
  • The map of dependencies and layers: what is shared or core versus tied to one feature.

Prompt text

Run a Nuclear-grade code-quality review on this change.

Inputs:
- diff or module:
- objective / mission anchor:
- agreed limits or conventions:
- shared vs feature-specific layers:

Do this:
- Read the change against its goal; flag scope drift first.
- Look to delete before you rearrange; ask what can be removed entirely.
- Use the countable tripwires as prompts, not laws (file around 1000 lines, function around 50 lines, deep nesting, duplicated branches).
- Test each abstraction: it must remove more complexity than it adds; flag thin pass-throughs.
- Check the layering: flag feature logic leaking into shared, canonical, or framework code.
- Prefer plain, direct code over clever indirection.

Return:
- a ranked list of findings (location, the standard at risk, a concrete fix, often a deletion)
- one verdict: VERIFIED, NOT VERIFIED, or INCONCLUSIVE
- a short reason tying the verdict to the findings

Do not soften every finding into "looks good." Do not imply formal assurance, compliance, certification, safety, security, or regulatory adequacy.

Read the full file on GitHub · 66 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. 1mo ago First seen · 66 lines · 0 tokens per session scan A f1d3567216c4

Subscribe to this mod's changes

ng-code-review is a command published in the GitHub repository FlyFission/nuclear-grade-context-engineering (33 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 794 tokens. 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.