code-review

code-review is a skill for Claude Code from yale-som-hpc/claude-code-marketplace. It costs 55 tokens per session (703 once invoked), scanned A, original, Unlicense.

A code-review checklist for finding bugs in code changes, diffs, or pull requests. It focuses on errors that can affect results, repeatability, data safety, or use of a shared computing cluster.

In plain words
What is it for?
Use it to review a change or pull request, check research code for reproducibility, inspect data-handling risks, and identify mistakes in Yale SOM HPC jobs, including inefficient use of the GPFS file system.
Why use it?
It helps catch important problems before code is committed or merged, such as lost data, exposed secrets, missing random seeds, dependency lockfile changes, and incorrect cluster resource requests.

Skill for Claude Code

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

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/netid/....

Part of the hpc plugin — 23 skills, 3 commands shipped together

Good fit Use it to review a change or pull request, check research code for reproducibility, inspect data-handling risks, and identify mistakes in Yale SOM HPC jobs, including inefficient use of the GPFS file system.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add yale-som-hpc/claude-code-marketplace
Claude Code
/plugin install hpc

Made for: Claude Code.

Or install hpc, the plugin that ships this one along with the rest of its 23 skills, 3 commands.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/yale-som-hpc/claude-code-marketplace/code-review/github.svg)](https://agentmods.dev/skills/yale-som-hpc/claude-code-marketplace/code-review)
Your own site
<a href="https://agentmods.dev/skills/yale-som-hpc/claude-code-marketplace/code-review"><img src="https://agentmods.dev/badge/skills/yale-som-hpc/claude-code-marketplace/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 code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/yale-som-hpc/claude-code-marketplace/code-review"><img src="https://agentmods.dev/badge/skills/yale-som-hpc/claude-code-marketplace/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 703 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.00055 $0.00703
Opus 5 $0.00028 $0.00351
Sonnet 5 $0.00011 $0.00141
Haiku 4.5 $0.00006 $0.00070

Measured 9d ago against content hash 964d081059c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

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

plugins/hpc/skills/code-review/SKILL.md · 92 lines

How it starts

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

Code Review

Find bugs that affect results, reproducibility, data safety, or cluster use. Skip style nits.

Findings must be

  • New in this change, unless asked for a broad audit.
  • Impactful: name the input/scenario.
  • Actionable: give the fix.

Severity

  • P0: blocks commit/run/merge. Wrong result, lost data, secret leak, cannot rerun, serious cluster misuse.
  • P1: fix before commit/merge. Realistic failure.
  • P2: fix later.
  • P3: nit. Do not report unless asked.

Verdict:

  • LGTM: no P0/P1.
  • FAIL: P0/P1 found.

Always check

  • Hardcoded personal paths: /Users/..., C:\Users\..., /home/netid/..., /gpfs/scratch60/netid/....
  • Raw data, secrets, env dirs, or large outputs staged.
  • Missing seeds in simulation, bootstrap, train/test split, UMAP, random forest, stochastic optimizer.
  • Silent data loss: dropna(), na.omit(), failed joins, duplicate drops, broad filters without counts.
  • Lockfile drift: deps changed but uv.lock / renv.lock not updated.
  • Raw data mutation: code writes into data/raw/ or overwrites inputs.
  • HPC resource mismatch: requested 1 CPU but uses all cores; requested GPU but code does not use it.
  • GPFS tiny-file storms.
  • Package installs inside arrays.
  • Scraping/API code without rate limit, cache, retry/backoff.

Process

  1. Read changed files fully.
  2. Check git status --short and staged files.
  3. Run existing checks if practical.
  4. Run a small realistic smoke test if practical.
  5. For Slurm changes: check resources, thread env vars, paths, logs, resumability.

Output

## Findings

### [P1] Missing seed makes bootstrap estimates non-reproducible
**File**: scripts/bootstrap.py:42
**Issue**: `np.random.default_rng()` is called without a fixed seed.
**Fix**: create `rng = np.random.default_rng(42)` at the entry point and pass it in.

## Verdict
FAIL

If clean:

## Findings
None.

## Verdict
LGTM

Checklist

  • Changed files read
  • Staged/untracked files checked
  • Seeds checked
  • Lockfiles checked
  • Smoke test/check run if practical
  • Slurm/resource behavior checked if relevant

Read the full file on GitHub · 92 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 · 92 lines · 55 tokens per session scan A 964d081059c6

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository yale-som-hpc/claude-code-marketplace (5 stars, last pushed 2mo ago), licensed Unlicense. It adds 55 tokens to every session and 703 once invoked, about $0.0003 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.