MathModeling-skills: Skill for Claude Code

.claude/skills/code-reviewer/SKILL.md

code-reviewer is a skill for Claude Code from zhnnky329/MathModeling-skills. It costs 33 tokens per session (228 once invoked), scanned A, original, MIT.

A code-review router that identifies whether approved modeling code is written in Python or MATLAB/Beita Tianyuan and sends it to the matching reviewer.

In plain words
What is it for?
Use it to route Python and MATLAB files and check syntax, input handling, alignment with the chosen method, reproducibility, and expected outputs.
Why use it?
It avoids reviewing code with the wrong language-specific process and makes the required review checks explicit.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is zhnnky329/MathModeling-skills's own configuration. It tells Claude Code how to work on MathModeling-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything MathModeling-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zhnnky329/MathModeling-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/zhnnky329/MathModeling-skills/main/.claude/skills/code-reviewer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/zhnnky329/MathModeling-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhnnky329/mathmodeling-skills/code-reviewer/github.svg)](https://agentmods.dev/skills/zhnnky329/mathmodeling-skills/code-reviewer)
Your own site
<a href="https://agentmods.dev/skills/zhnnky329/mathmodeling-skills/code-reviewer"><img src="https://agentmods.dev/badge/skills/zhnnky329/mathmodeling-skills/code-reviewer/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-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhnnky329/mathmodeling-skills/code-reviewer"><img src="https://agentmods.dev/badge/skills/zhnnky329/mathmodeling-skills/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 228 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00033 $0.00228
Opus 5 $0.00016 $0.00114
Sonnet 5 $0.00007 $0.00046
Haiku 4.5 $0.00003 $0.00023

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

Security

Grade A, and why

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

.claude/skills/code-reviewer/SKILL.md · 32 lines

What it actually says

Workflow

  1. Inspect target code extensions and the implementation target in qx_code_plan.md.
  2. Route .py work to python-code-reviewer.
  3. Route .m work to matlab-code-reviewer.
  4. If both languages are intentionally present, review each separately.
  5. If the language or target is ambiguous, report the exact conflict.

Review Contract

New reviews write JSON and evaluate these named checks:

  • syntax
  • input_contract
  • method_alignment
  • reproducibility
  • output_contract

Additional checks are allowed when risk-driven. A review passes when all required applicable checks pass; no arbitrary bullet count is used.

Rules

  • Do not perform a second independent review in this router.
  • Do not infer success because scripts exist.
  • Do not require a Markdown review when the canonical JSON review exists.
  • Read legacy Markdown reviews only for compatibility.
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 · 32 lines · 33 tokens per session scan A 70662c010202

Subscribe to this mod's changes

code-reviewer is a skill published in the GitHub repository zhnnky329/MathModeling-skills (781 stars, last pushed 15d ago), licensed MIT. It adds 33 tokens to every session and 228 once invoked, about $0.0002 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-30.