
Food figure
Turns a food or nutrition dataset into journal-ready figures in Python or R
Food figure is an open-source agent skill for design and media. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- Python, R
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 49
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Food figure
Food-Figure is a figure-making workflow for food and nutrition manuscripts. It starts by profiling a user's data file to detect grouping factors, repeated measures and time or dose axes, then recommends the figure types that best match the paper's claim, from bar, box and violin plots to Bland–Altman, PCA/PLS-DA, heatmaps, forest plots and microscopy panels. Once a figure is chosen, the skill works through a figure contract, a provenance card linking each plot to its source data, and a palette choice suited to the data type.
Rendering is done in Python (matplotlib, seaborn, statsmodels) or R (ggplot2, patchwork, ComplexHeatmap), using template scripts for each figure type. Output is exported as vector PDF or SVG for line and scatter graphics, and as LZW-compressed TIFF at the target journal's resolution for raster or microscopy images. A QA checklist covers error bars and sample sizes, statistics consistency, colorblind-safe colours and legibility at final size, and a privacy scan keeps code paths relative.
The skill expects a dataset in CSV, TSV or Excel form, or a verbal description of the result, plus a choice of Python or R that it remembers after the first request. Optional AI image generation is available only for conceptual schematics and never for data-bearing figures.
When your agent uses it
Comprehensive figure system for food & nutrition manuscripts: analyzes the user's data, recommends the best figure(s) to make, then produces submission-grade graphics in Python or R at the target journal's spec. Handles all common scientific figure types (bar/box/violin, line/kinetic, scatter/regression, Bland–Altman, radar/sensory, chromatograms, TPA/rheology, dose–response, survival, PCA/PLS-DA, heatmaps/clustering, forest, microscopy plates, multi-panel). Use to make, create, design, revise, audit, or recommend figures/charts/plots for a food-science paper, or to work out what to plot from a dataset. If Python or R isn't chosen, ask once and remember it. Triggers: make a figure, create a figure, design a figure, what figure should I make, recommend a chart, plot my data, analyze my data and plot it, chart my results, food science figure, journal figure, scientific plotting, data visualization for a manuscript.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Python and R scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- Includes binary files(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 46 files (6.0 MB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the academic-skills-food-nutrition plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add PangenomeAI/academic-skills-food-nutrition
/plugin install academic-skills-food-nutrition@academic-skills-food-nutritionOr copy only this skill to ~/.claude/skills/food-figure:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/PangenomeAI/academic-skills-food-nutrition.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/food-figure &&
cp -R "$tmp/food-figure" ~/.claude/skills/food-figure &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/food-figure inside it instead.
Copy the skill folder to ~/.agents/skills/food-figure to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/PangenomeAI/academic-skills-food-nutrition.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/food-figure &&
cp -R "$tmp/food-figure" ~/.agents/skills/food-figure &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/food-figure inside it instead.
Copy the skill folder to ~/.cursor/skills/food-figure to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/PangenomeAI/academic-skills-food-nutrition.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/food-figure &&
cp -R "$tmp/food-figure" ~/.cursor/skills/food-figure &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/food-figure inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/PangenomeAI/academic-skills-food-nutrition.git --path food-figureOr copy the folder to ~/.gemini/skills/food-figure yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/food-figure:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/PangenomeAI/academic-skills-food-nutrition.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/food-figure &&
cp -R "$tmp/food-figure" ~/.copilot/skills/food-figure &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/food-figure inside it instead.
Get the folder:
git clone --depth 1 https://github.com/PangenomeAI/academic-skills-food-nutrition.gitThen copy academic-skills-food-nutrition/food-figure into your agent's skills folder as food-figure. Agents that support SKILL.md read one folder per skill.
What it does
- Data profiling
- Analyzes column types, missingness and grouping structure to inform figure choice.
- Figure recommendation
- Suggests the figure types that best support the paper's central claim, with rationale.
- Journal-spec export
- Exports vector or TIFF files at the target journal's dimensions, DPI and fonts.
- Python and R templates
- Provides ready plotting functions for many food-science figure types in both languages.
- Figure provenance cards
- Records the data source, script and claim behind each figure to keep values consistent.
- Pre-submission QA
- Checks error bars, sample sizes, palettes, label legibility and privacy-safe paths.
Good for
- Recommend which chart best shows my sensory panel results
- Make a Bland–Altman plot comparing two measurement methods
- Create a multi-panel figure for my food science manuscript
- Plot my rheology or TPA data at journal specifications
- Build a PCA or PLS-DA scores plot for my composition dataset
Food figure FAQ
Which languages does the skill use for plotting?
Data figures are always produced with Python or R. The skill asks once which one to use and remembers the choice.
Can Food figure generate figures from an AI image model?
Only for conceptual schematics such as mechanism diagrams, and only if the user explicitly asks. Data-bearing figures are never made with AI image models.
What file formats does Food figure export?
Line, bar and scatter figures are exported as vector PDF or SVG; raster and microscopy figures as TIFF with LZW compression at the journal's DPI.
What happens if no journal is specified?
It defaults to 300 dpi, column widths of about 90 and 190 mm, TIFF and PDF outputs, and Arial at 7 to 9 pt.
How do I install Food figure in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/food-figure to use it in all your projects, or to .claude/skills/food-figure in one project. Or install the academic-skills-food-nutrition plugin, which includes it: /plugin marketplace add PangenomeAI/academic-skills-food-nutrition, then /plugin install academic-skills-food-nutrition@academic-skills-food-nutrition.
Does Food figure run scripts?
Yes. It runs Python and R scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Food figure?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Food figure?
The closest alternatives to Food figure are Scientific figure, Food pipeline, Food research, Prepare figma design and Scientific writer.
Where this comes from
- Description: from the skill's own SKILL.md.
More from PangenomeAI/academic-skills-food-nutrition

Runs a source-validated literature review on an agricultural question
- Open source
- 49 GitHub stars
- Health and science

Drafts agricultural science manuscripts with journal-aware structure, stats and figures
- Open source
- 49 GitHub stars
- Productivity

Runs an agricultural research-to-publication workflow with quality gates end to end
- Open source
- 49 GitHub stars
- AI models and LLM tooling

Turns agricultural research reports and papers into editable PowerPoint decks
- Open source
- 49 GitHub stars
- Education and exam prep

Runs a multi-source agricultural literature review ranked by journal quartile
- Open source
- 49 GitHub stars
- Productivity

Runs a simulated multi-reviewer editorial panel to critique agricultural manuscripts
- Open source
- 49 GitHub stars
- Writing style




