make-model-figures

make-model-figures is a skill for Codex from chengziyue1222/math-model-agent. It costs 78 tokens per session (2,189 once invoked), scanned A, original, MIT.

A workflow for creating publication-ready figures for mathematical modeling papers and competitions. It links each chart or diagram to a conclusion, validation claim, or mechanism.

In plain words
What is it for?
Use it to choose figure types, plan panels and page sizes, plot saved results, show uncertainty or thresholds, and export checked figures.
Why use it?
It helps prevent unnecessary or unreadable charts and keeps figures tied to evidence from the model and its results.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to choose figure types, plan panels and page sizes, plot saved results, show uncertainty or thresholds, and export checked figures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chengziyue1222/math-model-agent/make-model-figures
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.

Any agent
npx skills add chengziyue1222/math-model-agent --skill make-model-figures
Clone the repo
git clone --depth 1 https://github.com/chengziyue1222/math-model-agent

Made for: Codex.

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 make-model-figures

README.md
[![agentmods](https://agentmods.dev/badge/skills/chengziyue1222/math-model-agent/make-model-figures/github.svg)](https://agentmods.dev/skills/chengziyue1222/math-model-agent/make-model-figures)
Your own site
<a href="https://agentmods.dev/skills/chengziyue1222/math-model-agent/make-model-figures"><img src="https://agentmods.dev/badge/skills/chengziyue1222/math-model-agent/make-model-figures/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 make-model-figures

Your own site · 80×15
<a href="https://agentmods.dev/skills/chengziyue1222/math-model-agent/make-model-figures"><img src="https://agentmods.dev/badge/skills/chengziyue1222/math-model-agent/make-model-figures.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,189 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.00078 $0.02189
Opus 5.5 $0.00031 $0.00876
Sonnet 5.5 $0.00016 $0.00438
Haiku 4.5 $0.00008 $0.00219

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

Security

Grade A, and why

make-model-figures 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 3d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/execute_skill.py, scripts/minimal_example.py, scripts/practical_examples.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/make-model-figures/SKILL.md · 80 lines

How it starts

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

Make Model Figures

For paper-style refinement, read references/cumcm-research-style.md: use the shared render-time configuration, chart-specific layout, and an individual three-case review for each affected entry. Keep visual decisions separate from numerical and export checks.

Build a visual argument, not a gallery of available variables. Every formal figure must support one modeling claim and remain truthful to the saved data, model, units, and uncertainty.

Choose the operating mode

  • Create: design a new figure from machine-readable data or saved model results.
  • Improve: preserve the source data, statistical meaning, units, filtering, and conclusion while revising layout, chart type, typography, palette, or annotations. Record any changed scale, aggregation, normalization, or encoding.
  • Audit: inspect the source and rendered output; report evidence or readability defects without silently redrawing it.
  • Explore: make lightweight diagnostic plots. Do not represent them as submission-ready until the formal contract and export checks are completed.

Proceed directly when the user's goal and data mapping are clear. Ask only when a missing choice would change the scientific meaning, such as which columns represent the requested comparison.

Required workflow

  1. State the visual claim. Read references/paper-figure-language.md and write the data-derived conclusion (or an explicit pending question with claim_status="question"), figure role, evidence, source paths, units, sample definition, statistic, uncertainty, model/scenario, and review risks. Use FigureContract for a formal figure; use a shortened claim/evidence note for exploration or a cosmetic-only edit.
  2. Protect data integrity. Use all relevant user-provided observations. Never silently select representative rows, replace real data with illustrative values, or drop inconvenient groups. For dense rendering, prefer rasterized marks, hexbin/density views, or transparent points; if aggregation, filtering, imputation, winsorization, or normalization changes what is shown, record it and keep the unmodified source.
  3. Route by information task. Read references/figure-standards.md. When the chart type is unclear, specialized, or multi-panel, also read references/design-and-routing.md. Prefer the smallest set of non-redundant panels that proves the claim; avoid duplicate views of the same fact.
  4. Design before coding. Fix the final physical width and approximate aspect ratio first. For two or more panels, create a FigureDesignBrief: core message, layout recipe, hero panel where appropriate, support sequence, and stable color roles. A hero panel should be larger only when its evidence is genuinely more important or denser.
  5. Assign semantic style. For new figures or recoloring, read references/palette-system.md. Choose categorical colors and continuous maps separately by object and physical quantity; keep the same object's meaning stable across figures. Preserve useful visual emphasis in a supplied original. For power/energy maps or markers over a heatmap, also read references/power-energy-figures.md. Retain line/marker/label redundancy for critical distinctions. Do not change data or statistics during recoloring.
  6. Generate reproducibly. Prefer algorithms.figures.get_figure/get_spec/list_figures for registered charts; algorithms.sci_figures remains the compatibility and export entry point. Plot from saved data/results with the registered renderer or algorithms.diagram when available; otherwise install the repository-built math-model-agent wheel; use the verified scripts/minimal_example.py to diagnose the runtime. Do not copy an algorithm implementation into the skill. Read references/execution-and-migration.md for configuration precedence, six executable routes, installation and schema migration. Use load_figure_config and render_template for common tasks. Apply publication_rc_params or paper_figure_rc_params, exact publication_size, consistent add_panel_label, and export_publication_figure. Do not assume the project contains a code/algorithms checkout.
  7. Run the quality gate. For a formal figure, read references/publication-workflow.md and references/visual-qa-checklist.md. Run the programmatic audit, export the vector master and 450 DPI proof, then actually open the proof at final paper size. Fix clipping, overlaps, missing glyphs, misleading scales, unstable color meanings, weak hierarchy, and illegible details before delivery.
  8. Close the evidence loop. Introduce the figure in the manuscript, explain its pattern and modeling meaning after it, and state limitations. Confirm every plotted optimum, ranking, threshold, sample size, interval, and annotation against the saved result and surrounding tables/text.

Read the full file on GitHub · 80 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. 3d ago Changed · +20 lines b80ef1787499
  2. 1mo ago Changed · +26 lines · +5 tokens per session 806112bf15e0
  3. 2mo ago First seen · 34 lines · 73 tokens per session scan A 33d2c9171688

Subscribe to this mod's changes

make-model-figures is a skill published in the GitHub repository chengziyue1222/math-model-agent (24 stars, last pushed 4d ago), licensed MIT. It adds 78 tokens to every session and 2,189 once invoked, about $0.0003 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

make-model-figures compared with skills from other repositories

make-model-figures next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
make-model-figureschengziyue1222/math-model-agentSkill244d agoMITA78Codex
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