Logo: Food Figure

Food Figure

Organisatioun
PangenomeAI
food-figure

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.

Add to TypingMind

Iwwersiicht

EditeurPangenomeAI
Repositoryacademic-skills-food-nutrition
Skill-Nummfood-figure
Stären
42
Forks
3
Matgeliwwert Dateien
44
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 44 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    PangenomeAI huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Food Figure an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/PangenomeAI/academic-skills-food-nutrition/tree/main/food-figure
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/PangenomeAI/academic-skills-food-nutrition.git /tmp/academic-skills-food-nutrition
mkdir -p .claude/skills
cp -r /tmp/academic-skills-food-nutrition/food-figure .claude/skills/food-figure
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Food Figure an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Food Figure automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Food Figure net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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

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).

3 — Figure contract + provenance (before code)

Fix the conclusion, evidence logic, export needs (target journal), and review risks (references/figure-contract.md). Open a figure trace card (references/figure-provenance.md): the real data source, the script that makes the figure, what it shows, and the claim it supports — so the plotted values match the reported statistics. Choose the palette by data type (references/color-palettes.md).

For a dense Figure 1/2-style request, first design the complete evidence story with references/figure-story-design.md: experimental sequence, evidence hierarchy, non-redundant panel questions, source-data map, opening schematic, and an integrated synthesis panel. Do not start by filling a grid with chart types.

4 — Backend gate (blocking)

  • Data figures → Python or R (always). Resolve the backend by priority: explicit request → language of the user's input files/data → saved preference (python scripts/backend_pref.py get) → ask once ("Python or R? I'll remember this") and save it (backend_pref.py set python|r). The chosen backend does all data graphics, preview, and export; the other may only help with data prep/conversion.
  • AI image route (opt-in, schematics only). Only if the user explicitly asks to generate the image with Gemini, ChatGPT, or Claude (or another named image model) — and only for conceptual visuals (mechanism diagrams, graphical abstracts, process schematics) — use that model instead. Never use an AI image model for a data-bearing figure, and never let it invent data. See references/ai-image-generation.md.

5 — Render & export

Use the selected backend's guide (python-guide.md = matplotlib/seaborn/ subplot_mosaic/statsmodels; r-guide.md = ggplot2/patchwork/ComplexHeatmap/ ggrepel + svglite/cairo_pdf/ragg) plus food-recipes.md for the food/nutrition figure types. Start from the template library — examples/python_food_figures.py or examples/r_food_figures.R — which has a ready function for every figure type; adapt it to the user's data. Export vector (PDF/SVG) for line/bar/scatter and TIFF (LZW) at the journal DPI for raster/microscopy; keep an editable source. Pull DPI, column width, font, and format from the target journal via references/journal-specs.md; if no journal is set, default to 300 dpi, ~90/190 mm widths, TIFF+PDF, Arial 7–9 pt.

6 — QA

Run references/qa-checklist.md before delivering (error bars defined + n; statistics shown consistently; axes honest; colorblind-safe; labels legible at final size; matches journal spec; every panel cited). Privacy: any code or legend you hand back must use relative paths, never local machine paths — scan with python3 scripts/privacy_scan.py (see food-paper/references/privacy-and-confidentiality.md).

Deliver

Hand back, per figure: the file(s) (vector + raster), the figure trace card, a self-contained caption (APA 7.0 or the journal's style — see references/figure-provenance.md), and the plotting code. For a .tex build, include the \includegraphics environment.

Modes

  • recommend — analyze data and suggest figures, no rendering yet.
  • make (default) — full pipeline to a rendered, exported figure + caption + trace card.
  • revise / audit — critique or fix an existing figure against the QA checklist and journal spec.
  • multi-panel — compose labelled panels (a, b, c) that share a logical thread.
  • figure-story — design and render an 8–12 panel journal-style evidence narrative from experimental design through primary results, diagnostics, robustness, and an integrated conclusion.
  • schematic — a graphical abstract / mechanism diagram: Python/R by default, or the opt-in AI-image route (references/ai-image-generation.md) if the user asks.

Scope

Reproducible, code-generated, submission-grade scientific figures for food & nutrition. Not for dashboards or Illustrator/Figma-first artwork. A schematic/graphical-abstract (mechanism diagram) is a drawing task: keep it in Python/R by default, or — only if the user explicitly asks — generate it with an AI image model (Gemini/ChatGPT/Claude) per references/ai-image-generation.md. Data figures are always Python/R.

Handoff

Called by food-paper's viz_designer at the journal spec; figures feed the manuscript's Results.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Food Figure?

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 fr...

Firwat Food Figure op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Food Figure besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Food Figure an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/PangenomeAI/academic-skills-food-nutrition/tree/main/food-figure an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Food Figure benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Food Figure benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Food Figure domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Food Figure gratis?

Jo. PangenomeAI huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇