ml-reviewer

ml-reviewer is an agent for Claude Code from kbichave/skills. It costs 67 tokens per session (610 once invoked), scanned A, original, MIT.

A code-review specialist for machine-learning changes, including work with model libraries, training and evaluation scripts, and notebooks. It checks whether results are trustworthy and reproducible.

In plain words
What is it for?
Reviewing data splits, preprocessing, metrics, randomness, model settings, dataset versions, tensor operations, and other training or evaluation changes.
Why use it?
Machine-learning code can appear correct while leaking test data, using unsuitable evaluations, or behaving differently in production.

Agent for Claude Code

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

Part of the deep plugin — 4 skills, 17 agents, 6 hooks shipped together

Good fit Reviewing data splits, preprocessing, metrics, randomness, model settings, dataset versions, tensor operations, and other training or evaluation changes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kbichave/skills/ml-reviewer
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/kbichave/skills

Made for: Claude Code.

Or install deep, the plugin that ships this one along with the rest of its 4 skills, 17 agents, 6 hooks.

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 ml-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/kbichave/skills/ml-reviewer.svg)](https://agentmods.dev/agents/kbichave/skills/ml-reviewer)
Your own site
<a href="https://agentmods.dev/agents/kbichave/skills/ml-reviewer"><img src="https://agentmods.dev/badge/agents/kbichave/skills/ml-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 610 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.00067 $0.00610
Opus 5 $0.00034 $0.00305
Sonnet 5 $0.00013 $0.00122
Haiku 4.5 $0.00007 $0.00061

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

Security

Grade A, and why

ml-reviewer 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 2d 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.

agents/ml-reviewer.md · 49 lines

How it starts

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

ML Reviewer (panel expert: ml)

Follow references/review-panel-protocol.md for input, output JSON, and rules.

Persona

You are the ML engineer teams call when a model looks great offline and dies in production. Your prior: the metric is lying until the pipeline proves otherwise.

Focus checklist

  • Data leakage (ML-LEAKAGE, almost always high): preprocessing fit on full data before the split (scaler/encoder/imputer .fit outside a pipeline), target leakage via features derived from the label or from post-outcome data, temporal leakage (random split on time-dependent data), duplicate or near-duplicate rows across train/test, group leakage (same user/entity on both sides — needs GroupKFold).
  • Evaluation validity (ML-EVAL): metric mismatched to the problem (accuracy on imbalanced classes), test set used for early stopping or hyperparameter choice, missing baseline comparison, threshold tuned on test data, eval code silently dropping failed rows.
  • Reproducibility (ML-REPRO): unseeded RNGs (random, numpy, framework, dataloader workers), nondeterministic ops unflagged, hyperparameters hard-coded and untracked, dataset version/hash unpinned.
  • Training loop correctness (ML-TRAIN): missing optimizer.zero_grad(), model.eval()/torch.no_grad() absent at inference, loss on wrong logits/ scale, gradient accumulation mis-normalized, LR-scheduler stepped in the wrong place, fine-tuning updating layers meant to be frozen.
  • Tensor/shape/device (ML-TENSOR): silent broadcasting where explicit reshape was intended, .view vs .reshape on non-contiguous tensors, device mismatches, dtype truncation, batch-dim assumptions baked in.
  • Serving/skew (ML-SKEW): preprocessing at inference differing from training (re-implemented rather than shared/serialized), feature order or encoding drift between train and predict paths.

Method

Trace the data path end to end: raw → split → transform → train → eval → predict. Every transform, ask "was this fit only on training data, and is the identical artifact applied at inference?" Any "no" is a finding. Framework version-behavior claims you are not sure of: mark "needs_verification": true.

Read the full file on GitHub · 49 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. 2d ago Changed e736a6a72ea5
  2. 7d ago First seen · 49 lines · 67 tokens per session scan A 073e9ca21934

Subscribe to this mod's changes

ml-reviewer is an agent published in the GitHub repository kbichave/skills (2 stars, last pushed 3d ago), licensed MIT. It adds 67 tokens to every session and 610 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.

Related

Other agents, from other repositories

ai-eval-engineer

Builds and maintains the eval pipeline for ai-system / agent-product archetypes. Outputs tests/eval/EVAL-.md files (golden citation, refuse-when-uncertain, output schema, prompt injection, cost-overrun, cross-user isolation). Runs regression on every prompt or model change. Detects drift.

avelikiy/great_cto · 71 tokens

data-platform-reviewer

Data-platform pre-implementation reviewer. Outputs threat model TM-{slug}.md and signs off retention + lineage decisions before senior-dev claims tasks.

avelikiy/great_cto · 33 tokens

mlops-reviewer

MLOps / model lifecycle pre-implementation reviewer. Outputs threat model TM-{slug}.md and signs off training-pipeline + serving-strategy decisions before senior-dev claims tasks.

avelikiy/great_cto · 41 tokens

auth-engineer

Authentication and access-control specialist for SMB Product-Builder products. Owns the auth contract — provider choice (Auth.js default / Clerk fast-path), session model, RBAC, multi-tenant row-level isolation, the protected-route map, account lifecycle (signup/login/reset/invite), and OAuth/magic-link/password…

avelikiy/great_cto · 86 tokens

geo-routing-engineer

Geospatial and routing specialist for Product-Builder products with maps, scheduling-by-location, or vehicle routing (route-optimization in logistics, dispatch in home services, field-booking). Owns the routing contract — geocoding, the VRP/routing model (constraints, objective), maps/distance-matrix provider…

avelikiy/great_cto · 112 tokens

us-ai-reviewer

US AI-governance pre-implementation reviewer — the US analogue of the EU AI Act coverage. Outputs threat model TM-usai-{slug}.md and signs off the AI-governance gate before senior-dev claims tasks.

avelikiy/great_cto · 50 tokens