metforge-figure

metforge-figure is a skill for Claude Code, Codex from yuanruichen/MetForge. It costs 121 tokens per session (1,012 once invoked), scanned A, original, MIT.

A skill for creating and checking scientific weather and atmospheric figures from data such as NetCDF files or tables. It covers charts including maps, vertical sections, profiles, spectra, and multi-panel figures.

In plain words
What is it for?
It is for plotting and auditing weather-data visualizations, including map comparisons, time-height diagrams, conservation checks, ensemble comparisons, and publication figures.
Why use it?
It helps turn an atmospheric-science claim into a readable figure and checks the exported result for scientific and presentation problems.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the metforge plugin — 6 skills shipped together

Good fit It is for plotting and auditing weather-data visualizations, including map comparisons, time-height diagrams, conservation checks, ensemble comparisons, and publication figures.

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

Made for: Claude Code, Codex.

Or install metforge, the plugin that ships this one along with the rest of its 6 skills.

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 metforge-figure

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yuanruichen/metforge/metforge-figure"><img src="https://agentmods.dev/badge/skills/yuanruichen/metforge/metforge-figure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,012 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.00121 $0.01012
Opus 5.5 $0.00048 $0.00405
Sonnet 5.5 $0.00024 $0.00202
Haiku 4.5 $0.00012 $0.00101

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

Security

Grade A, and why

metforge-figure 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.

skills/metforge-figure/SKILL.md · 67 lines

How it starts

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

MetForge Figure

Treat each figure as a visual scientific argument. Define what it must show, render it with the user's existing stack when possible, and inspect the exported result before delivery.

Figure loop

  1. Inspect the data, existing plotting code, target medium, and relevant prior figures.
  2. Write a compact figure contract using references/figure-contract.md.
  3. Choose the smallest figure grammar that tests the claim. Read references/atmospheric-patterns.md for atmospheric defaults.
  4. Implement within the user's language and project conventions. For a new Python workflow, prefer xarray + matplotlib and use cartopy only when geographic projection is needed.
  5. Render at final or representative size. Open the actual output and audit it with references/qa-checklist.md.
  6. Fix high-impact scientific or readability failures, rerender, and reinspect. Stop polishing when the contract is satisfied.

Execution mode and processing record

Before rendering, inspect data size, memory needs, expected runtime, available CPUs, whether sbatch/Slurm is available, whether the session is already inside a Slurm job, and existing project conventions.

  • Render directly for ordinary figures and small validation subsets that fit safely in the current session.
  • Use Slurm or the site's scheduler when figure preparation requires large aggregations, many files, ensemble processing, high-resolution rasterization, or work unsuitable for a login node.
  • Do not guess scheduler account, partition, walltime, modules, or paths. Reuse validated project configuration.
  • For submitted work, capture the job script, job ID, resources, environment, stdout/stderr paths, and terminal status.

After every completed data-preparation call, render/export, or audit-revision cycle, append a record to the project's existing log/provenance location. If none exists, use output/logs/YYYYMMDD-HHMM-<task>.md. Record inputs, software environment, direct/Slurm decision, commands or script, figure contract, transformations, output files, visual checks, deviations, and status. Never record credentials or secrets. If files cannot be written, return the same record explicitly in the response.

Read the full file on GitHub · 67 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 · 67 lines · 121 tokens per session scan A a119799f6305

Subscribe to this mod's changes

metforge-figure is a skill published in the GitHub repository yuanruichen/MetForge (4 stars, last pushed 9d ago), licensed MIT. It adds 121 tokens to every session and 1,012 once invoked, about $0.0005 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-31.

Related

metforge-figure compared with skills from other repositories

metforge-figure next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
metforge-figureyuanruichen/MetForgeSkill49d agoMITA121Claude Code, Codex
lit-reviewdgilford/ai-science-toolkitSkill824d agoMITB49Claude Code
figure-styleaipoch/open-scienceSkill5.5kyesterdayApache-2.0A91Claude Code, Codex
remote-compute-sshaipoch/open-scienceSkill5.5kyesterdayApache-2.0A53Claude Code, Codex
paper-narrativeaipoch/open-scienceSkill5.5kyesterdayApache-2.0A58Claude Code, Codex
figure-composeraipoch/open-scienceSkill5.5kyesterdayApache-2.0A93Claude Code, Codex
literature-reviewaipoch/open-scienceSkill5.5kyesterdayApache-2.0A54Claude Code, Codex