MathModeling-skills: Skill for Claude Code

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

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

A skill for reviewing, running, debugging, and verifying approved MATLAB or Beita Tianyuan modelling code. It checks the code against its plan, data requirements, chosen method, compatibility limits, and outputs.

In plain words
What is it for?
Checking syntax, inputs, method alignment, reproducibility, outputs, toolbox compatibility, file handling, plotting, and numerical or scale-related issues, then saving a JSON review.
Why use it?
It turns a code review into a defined set of checks and records whether runtime-dependent checks actually ran. If no compatible runtime is available, it records that honestly instead of claiming success.

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 →

About the project

MathModeling-skills is a collection of Claude Code and Codex skills for mathematical modeling competitions, guiding users through data analysis, method-specific checks, reproducible computations, figures, and paper audits without taking over modeling decisions. It is for contestants who want AI to handle mechanical checks while they retain responsibility for choosing methods and interpreting results. The catalogue entries form the project's skills, instructions, hook, setting, and plugin workflow.

zhnnky329/MathModeling-skills · 1,080 stars · on GitHub

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/matlab-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 matlab-code-reviewer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhnnky329/mathmodeling-skills/matlab-code-reviewer"><img src="https://agentmods.dev/badge/skills/zhnnky329/mathmodeling-skills/matlab-code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 431 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.00046 $0.00431
Opus 5.5 $0.00018 $0.00172
Sonnet 5.5 $0.00009 $0.00086
Haiku 4.5 $0.00005 $0.00043

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

Security

Grade A, and why

matlab-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 2mo 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/matlab-code-reviewer/SKILL.md · 53 lines

What it actually says

Preconditions

  • MATLAB code and code/matlab/Qx/qx_code_plan.md exist.
  • Approved decision, method card, data profile, and run summary are available.
  • MATLAB or 北太天元 runtime availability is known.

Workflow

  1. Resolve approved main/baseline scope and any activated fallback.
  2. Inspect and run the code when a compatible runtime is available.
  3. Evaluate:
    • syntax
    • input_contract
    • method_alignment
    • reproducibility
    • output_contract
  4. Include compatibility evidence for toolbox usage, jsonencode, file I/O, plotting/export, and 北太天元 constraints.
  5. Add only relevant numerical, feasibility, leakage, or scale checks.
  6. If runtime is unavailable, use NOT_RUN rather than claiming execution success.
  7. If asked to fix findings, patch minimally and rerun affected checks.
  8. Save code/matlab/Qx/reviews/qx_matlab_review.json.

Review Schema

Use the same schema as python-code-reviewer, with:

  • "language": "matlab"
  • runtime
  • compatibility_target
  • optional compatibility check

Required named checks use PASS, FAIL, or justified NOT_APPLICABLE. Runtime-dependent checks use NOT_RUN when execution was impossible; this blocks G3 until executed.

Rules

  • Do not pad pass items.
  • Do not fabricate MATLAB/北太天元 execution.
  • Do not approve unavailable toolbox dependencies without an explicit target exception.
  • Do not change the mathematical model silently.
  • Do not require a duplicate Markdown review.

Verification

  • Approved main and baseline scope is enforced.
  • Compatibility constraints are checked.
  • Run summary and outputs agree.
  • Verdict follows required check statuses and runtime evidence.
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. 2mo ago First seen · 53 lines · 46 tokens per session scan A 9b6bea5e2d5d

Subscribe to this mod's changes

matlab-code-reviewer is a skill published in the GitHub repository zhnnky329/MathModeling-skills (1,080 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 431 once invoked, about $0.0002 per session on Opus 5.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.

Related

matlab-code-reviewer compared with skills from other repositories

matlab-code-reviewer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
matlab-code-reviewerzhnnky329/MathModeling-skillsSkill1.1k1mo agoMITA46Claude Code
sync-bridgechromium/chromiumSkill25kyesterdayBSD-3-ClauseA109Claude Code, Codex
sync-model-processorchromium/chromiumSkill25kyesterdayBSD-3-ClauseA98Claude Code, Codex
adversarial-revieweremdash-cms/emdashSkill14kyesterdayMITA72Claude Code, Codex
gsd-ns-reviewopen-gsd/gsd-coreSkill11kyesterdayMITA16Claude Code
gitnexushashgraph-online/awesome-codex-pluginsSkill1.5kyesterdayApache-2.0A58Codex
issuejeremylongshore/tons-of-skills-marketplaceSkill2.9kyesterdayMITA115Claude Code