food-figure

food-figure is a skill for Claude Code from PangenomeAI/academic-skills-food-nutrition. It costs 218 tokens per session (2,024 once invoked), scanned A, original, MIT.

A figure-making workflow for food and nutrition research. It examines data or described results, recommends suitable chart types, and produces graphics for scientific manuscripts.

In plain words
What is it for?
Use it for charts such as bar, box, violin, line, kinetic, scatter, regression, and Bland–Altman figures, with editable output and quality checks.
Why use it?
It helps researchers choose a chart that matches the scientific question and prepare it for a journal's requirements.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the academic-skills-food-nutrition plugin — 41 skills shipped together

Good fit Use it for charts such as bar, box, violin, line, kinetic, scatter, regression, and Bland–Altman figures, with editable output and quality checks.

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

Made for: Claude Code.

Or install academic-skills-food-nutrition, the plugin that ships this one along with the rest of its 41 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 food-figure

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pangenomeai/academic-skills-food-nutrition/food-figure"><img src="https://agentmods.dev/badge/skills/pangenomeai/academic-skills-food-nutrition/food-figure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 218 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,024 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.00218 $0.02024
Opus 5 $0.00109 $0.01012
Sonnet 5 $0.00044 $0.00405
Haiku 4.5 $0.00022 $0.00202

Measured 12d ago against content hash 2218e94324d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

food-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 12d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (examples/python_food_figures.py, scripts/analyze_data.py, scripts/backend_pref.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.

food-figure/SKILL.md · 148 lines

How it starts

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

Food-Figure — Data-Driven Figure System for Food & Nutrition Science

Turn a dataset (or a described result) into the right submission-grade figure. The chart serves the scientific logic; polish is subordinate to making the core conclusion clear, defensible, and reviewable. Original work; architecture informed by open community figure skills (see the repo README Acknowledgements).

Load reference files as needed (progressive disclosure) — don't read them all up front. The map is in the frontmatter references list.

Workflow

flowchart TD
    A[Data or described result] --> B[1. Analyze the data<br/>scripts/analyze_data.py -> profile]
    B --> C[2. Recommend figures<br/>references/data-to-figure.md]
    C --> D[3. Figure contract<br/>references/figure-contract.md]
    D --> E{Backend?}
    E -- unknown --> Eq[Ask 'Python or R?' once<br/>scripts/backend_pref.py]
    E -- known --> F
    Eq --> F[4. Render<br/>python-guide.md OR r-guide.md + food-recipes.md]
    F --> G[5. Export at journal spec<br/>references/journal-specs.md]
    G --> H[6. QA<br/>references/qa-checklist.md]
    H --> OUT[Journal-ready SVG/PDF/TIFF + editable source]

1 — Analyze the data

If the user supplies a data file (CSV/TSV/Excel) or table, profile it first: run scripts/analyze_data.py <file> to get, per column, the type (numeric/categorical/datetime), cardinality, missingness, distribution summary, and the detected structure (grouping factors, repeated measures, time/dose axis, wide sensory/composition matrix). If the user only describes a result, elicit the same: what varies, what's measured, n, and the error type. See references/data-to-figure.md.

2 — Recommend the figure(s)

From the profile, propose the best figure type(s) with a one-line rationale each, and say what each would show. Prefer the figure that makes the paper's claim most directly; note honest alternatives. The decision rules and a full catalog are in references/data-to-figure.md and references/chart-types.md. Never force a chart the data can't support (e.g. bar-of-means where a distribution matters → box/violin + points).

Read the full file on GitHub · 148 lines

Files

What ships with it

45 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. 12d ago First seen · 148 lines · 218 tokens per session scan A 2218e94324d4

Subscribe to this mod's changes

food-figure is a skill published in the GitHub repository PangenomeAI/academic-skills-food-nutrition (31 stars, last pushed 12d ago), licensed MIT. It adds 218 tokens to every session and 2,024 once invoked, about $0.0011 per session on Opus 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

Other skills, from other repositories

paper-framework-figure-studio-pro

Human-in-the-loop research-paper framework figure workflow from S0-PAPER-FOUNDATION through terminal S5-CANDIDATE-IMAGE. Use for paper-grounded architecture, pipeline, method overview, agent workflow, system/data-flow, and mechanism figures with generated raster first-round/formal candidates, reviewer-first-glance…

tuoxie2046/claude-code-research-skills · 258 tokens

autofigure

Generate clean, EDITABLE vector figures (SVG + exact-size PDF) for research papers — method / architecture / pipeline / system-overview diagrams — with AutoFigure-Edit. Use whenever the user wants to create or vectorize a paper figure from a text description OR from a draft/screenshot/draw.io image: it generates a…

tuoxie2046/claude-code-research-skills · 0 tokens

paper-polish-pipeline

Staged, diagnosis-driven academic paper polishing pipeline (bilingual 中文/English). Use to revise a paper from rough draft to final submission across ordered stages: diagnose first, then optimize section by section, derive abstract/contributions from the revised body, polish the language to reduce AI-sounding phrasing…

tuoxie2046/claude-code-research-skills · 213 tokens

nature-paper2ppt

Build a complete but efficient Nature-style Chinese PPTX presentation from a scientific paper, preprint, PDF, article text, abstract, figure legends, or reading notes. Use this skill whenever the user asks to make slides/PPT/PPTX for journal club, group meeting, paper sharing, thesis seminar, lab meeting, department…

tuoxie2046/claude-code-research-skills · 146 tokens

nature-reviewer

A peer-review checklist that assesses a research paper from a referee’s point of view, including its novelty, importance, and technical soundness.

tuoxie2046/claude-code-research-skills · 96 tokens

nature-academic-search

Multi-source literature search, citation verification, MeSH search strategy, citation file management (.nbib/.ris/.bib conversion), and reference management (BibTeX, related articles, ID conversion) via MCP tools (PubMed, CrossRef, arXiv, Scopus, ScienceDirect). Use when the user needs coordinated multi-step…

tuoxie2046/claude-code-research-skills · 163 tokens