MathModeling-skills: Skill for Claude Code

.claude/skills/math-figure-generator/SKILL.md

math-figure-generator is a skill for Claude Code from zhnnky329/MathModeling-skills. It costs 38 tokens per session (493 once invoked), scanned A, original, MIT.

A figure-generation tool for mathematical-modeling research that creates charts from approved evidence and source data. It also renders the figures so they can be checked visually.

In plain words
What is it for?
Use it to make exploratory or publication figures, save editable source code, and verify charts before placing them in a paper.
Why use it?
It reduces errors such as mismatched data and claims, missing units, clipped labels, misleading axes, or unreadable legends. The result follows a consistent visual system.

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/math-figure-generator/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 math-figure-generator

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhnnky329/mathmodeling-skills/math-figure-generator"><img src="https://agentmods.dev/badge/skills/zhnnky329/mathmodeling-skills/math-figure-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 493 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.00038 $0.00493
Opus 5.5 $0.00015 $0.00197
Sonnet 5.5 $0.00008 $0.00099
Haiku 4.5 $0.00004 $0.00049

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

Security

Grade A, and why

math-figure-generator 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/math-figure-generator/SKILL.md · 64 lines

How it starts

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

Preconditions

  • Figure type, source artifacts, and target claim are known.
  • Type 3 claim is human-confirmed.
  • Submission figures use final/frozen evidence.

References

Load only what the requested chart needs:

  • references/chart-patterns.md
  • references/color-systems.md
  • references/layout-guide.md
  • references/render-check.md

Workflow

  1. Verify source files and the exact variables/units to plot.
  2. Choose the smallest chart form that communicates the claim.
  3. Generate with deterministic code, preferably matplotlib.
  4. Save editable source code and the requested output format.
  5. Apply the shared color, typography, sizing, and labeling conventions.
  6. Render the final output and inspect it visually.
  7. Check clipping, overlap, illegible text, misleading axes, legends, empty panels, and source/claim mismatch.
  8. Iterate until render checks pass.

Output Locations

  • Type 1/2 exploration: results/Qx/experiments/roundN/figures/
  • Type 3/4 submission: paper/figures/

Use stable descriptive filenames. Do not copy Type 1 diagnostics into the paper directory.

Figure Requirements

  • Labels include units where applicable.
  • Captions state what is shown and the evidence-backed takeaway without overstating causality.
  • Baseline is visually distinct but not exaggerated.
  • Uncertainty is shown when it is part of the claim.
  • Type 3 raster output is at least 300 dpi; vector output is preferred when compatible.
  • Accessibility and grayscale differentiation are considered.

Rules

  • Do not fabricate or manually alter plotted values.
  • Do not use a chart type that hides concentration, uncertainty, or negative results.
  • Do not truncate axes misleadingly.
  • Do not create decorative 3D effects.
  • Do not treat code execution as render verification.
  • Keep diagnostic and paper roles separate.

Verification

  • Source, claim, type, and target section agree.
  • Render inspection passed.
  • Text is readable at final paper size.
  • Legends, colors, markers, axes, units, and captions are consistent.
  • Final output path exists and is recorded in the figure plan.

Read the full file on GitHub · 64 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 64 lines · 38 tokens per session scan A 75864b61cd4f

Subscribe to this mod's changes

math-figure-generator is a skill published in the GitHub repository zhnnky329/MathModeling-skills (1,080 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 493 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

math-figure-generator compared with skills from other repositories

math-figure-generator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
math-figure-generatorzhnnky329/MathModeling-skillsSkill1.1k1mo agoMITA38Claude Code
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill35k2d agoApache-2.0A123Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA83Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA44Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill33kyesterdayMITA43Claude Code, Codex
mapping-to-snomedmaziyarpanahi/openmedSkill5.8kyesterdayApache-2.0A205Claude Code