Logo de Food Figure

Food Figure

Organização
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

Visão geral

Publicado porPangenomeAI
Repositórioacademic-skills-food-nutrition
Nome da habilidadefood-figure
Estrelas
42
Forks
3
Arquivos incluídos
44
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 44

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por PangenomeAI no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Food Figure no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/PangenomeAI/academic-skills-food-nutrition/tree/main/food-figure
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Food Figure em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Food Figure automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Food Figure não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Food Figure faz?

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

Por que usar Food Figure no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Food Figure é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Food Figure no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/PangenomeAI/academic-skills-food-nutrition/tree/main/food-figure. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Food Figure?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Food Figure?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Food Figure com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Food Figure é gratuita?

Sim. A habilidade é publicada no GitHub por PangenomeAI sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇