code-quality-review

code-quality-review is a skill for Claude Code from berntpopp/gencc-link. It costs 37 tokens per session (411 once invoked), scanned A, a copy of code-quality-review, MIT.

A review guide for checking code changes, pull requests, or diffs before they are merged or handed off. It covers security, correctness, validation, dependencies, efficiency, and project rules.

In plain words
What is it for?
For reviewing change sets, checking CI and project instructions, and reporting findings with severity, affected files, and recommended fixes.
Why use it?
It provides a repeatable way to catch serious defects, unsafe input handling, exposed secrets, inefficient code, and missing error cases.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions AGENTS.md.

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.

agentmods
npx agentmods add skills/berntpopp/gencc-link/code-quality-review
Any agent
npx skills add berntpopp/gencc-link --skill code-quality-review
Clone the repo
git clone --depth 1 https://github.com/berntpopp/gencc-link

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-quality-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/berntpopp/gencc-link/code-quality-review.svg)](https://agentmods.dev/skills/berntpopp/gencc-link/code-quality-review)
Your own site
<a href="https://agentmods.dev/skills/berntpopp/gencc-link/code-quality-review"><img src="https://agentmods.dev/badge/skills/berntpopp/gencc-link/code-quality-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 411 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% 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.00037 $0.00411
Opus 5 $0.00018 $0.00205
Sonnet 5 $0.00007 $0.00082
Haiku 4.5 $0.00004 $0.00041

Measured 5d ago against content hash 87ff1dc83d9e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

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 5d 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.

Origin

This is a copy

100% identical to code-quality-review — 0 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.

.claude/skills/code-quality-review/SKILL.md · 31 lines

What it actually says

Code-Quality Review

Follow AGENTS.md first. Run the mechanical pass first (make ci-local, and /code-review if available); this skill is the judgment layer on top.

Scan order (security-first)

Review in this order — don't rush past a step to get to style nits:

  1. Secrets — hardcoded tokens/keys/URLs that belong in runtime env.
  2. Input validation — untrusted args validated against Pydantic schemas/ranges before use.
  3. Trust boundary — no caller-token passthrough to upstreams; fixed upstream host (no SSRF); Origin validation intact. (For the full boundary review, use security-review.)
  4. Dependencies — new deps pinned in uv.lock, mainstream, no post-install hooks.
  5. Correctness — logic, error handling, edge cases, response-envelope shape (success + flat error_code/message/_meta).
  6. Efficiency — N+1 upstream calls, unbounded loops/inputs, missing size caps.
  7. Style / fleet rules — modern typing (X | None), the per-file line budget (scripts/check_file_size.py), thin handlers, no PII in logs.

Report each finding

Group by file. For each: severity (critical = bug/security · warning = fix before merge · suggestion = optional), the issue, and a concrete fix. Anchor to file:line.

Common mistakes

  • Reporting style nits while missing a token-passthrough or SSRF regression.
  • Vague findings ("improve error handling") with no location or fix.
  • Approving a diff that grows a module past the LOC budget with no split.
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. 5d ago First seen · 31 lines · 37 tokens per session scan A 87ff1dc83d9e

Subscribe to this mod's changes

code-quality-review is a skill published in the GitHub repository berntpopp/gencc-link (0 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 411 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to code-quality-review, differing in 0 lines, and is treated as a copy.