mathodology-figure-presets

mathodology-figure-presets is a skill for Claude Code, Codex from sweetcornna/mathodology. It costs 32 tokens per session (839 once invoked), scanned C, original, MIT.

Guidance for choosing, creating, and reviewing scientific figures, including charts, model diagrams, paper illustrations, and image-assisted visuals. It says to match the figure to the question and inspect the rendered result.

In plain words
What is it for?
Use it when planning a paper figure, selecting a chart layout, generating a scientific illustration, or checking a rendered PNG or PDF.
Why use it?
It helps avoid decorative or misleading figures and gives figure work a repeatable review process.

Skill for Claude CodeCodex

Written for Claude Code and Codex: installed under .claude/, but also agents/openai.yaml present. Also seen: reads .claude/ paths.

Good fit Use it when planning a paper figure, selecting a chart layout, generating a scientific illustration, or checking a rendered PNG or PDF.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sweetcornna/mathodology/mathodology-figure-presets
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 sweetcornna/mathodology --skill mathodology-figure-presets
Clone the repo
git clone --depth 1 https://github.com/sweetcornna/mathodology

Made for: Claude Code, 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 mathodology-figure-presets

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sweetcornna/mathodology/mathodology-figure-presets"><img src="https://agentmods.dev/badge/skills/sweetcornna/mathodology/mathodology-figure-presets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 839 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00032 $0.00839
Opus 5.5 $0.00013 $0.00336
Sonnet 5.5 $0.00006 $0.00168
Haiku 4.5 $0.00003 $0.00084

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

Security

Grade C, and why

mathodology-figure-presets scanned grade C with 1 finding 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 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/render_examples.py, templates/matplotlib_templates.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.

Harvests environment variableshighData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

cases. Do not claim a generic image tool is image2 or collect API keys in chat.
.claude/skills/mathodology-figure-presets/SKILL.md · 79 lines

How it starts

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

Mathodology Scientific Figure Presets

Choose a figure from the question the reader needs to answer. Complex figures are useful when their panels expose related evidence; complexity itself is not a quality measure. Use actual data and the user's paper language.

Agent-facing guidance

Read default figure guidance when starting figure work or briefing another agent. It is the canonical reusable instruction: select a code template, fill real data, run it and inspect the resulting PNG/PDF. Use it as adaptable guidance, not a fixed pipeline.

Before the first figure

Ask once per modeling task, unless the answer is already known:

是否有可用的 image2 模型?通过当前工具、已配置接口,还是手动生成使用?

Use the host's question mechanism and continue independent analysis while waiting. Do not repeat the question in every specialist or turn. Read image2 usage for available, manual, unavailable and pending cases. Do not claim a generic image tool is image2 or collect API keys in chat.

Default rendering route

Without image2, with a pending answer, or with only manual image2 access, use the 20 callable code templates by default. Copy the matching function into the working task, bind actual data, execute it, and export PNG/PDF. Do not stop at a plotting prompt or wait for image2. Quantitative figures use this same data-driven route even when image2 is available. Adapt the closest template when needed; never substitute synthetic preview values for missing data.

Choose and build

  1. Write the figure's intended conclusion as a question before seeing the result. Identify data, units, comparison, uncertainty and the available paper space.
  2. Use the 20-preset selector and recipes. Load the relevant cards, not the entire reference collection. If the data cannot support a preset, choose its simpler alternative or explain the missing input.
  3. Adapt the card's plotting and caption prompts using the actual columns, measured results and scientific meaning. Do not force the data to match a preview. Follow style and export guidance.
  4. Use numerical plotting tools for quantitative marks. image2 can assist illustrations, mechanism diagrams and layout concepts; rebuild quantitative layers from data. Never use generated pixels as computed evidence.
  5. Inspect the rendered figure at publication size, then inspect its placement in the compiled paper. Fix illegibility and misleading encodings; remove decorative panels that do not support the argument.

Read the full file on GitHub · 79 lines

Files

What ships with it

38 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. 1mo ago First seen · 79 lines · 32 tokens per session scan C 0340786508b7

Subscribe to this mod's changes

mathodology-figure-presets is a skill published in the GitHub repository sweetcornna/mathodology (308 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 839 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (harvests environment variables). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-07.

Related

Other skills, from other repositories