From claude-scholar
Generates publication-grade scientific figures and tables using pubfig and pubtab workflows. Handles chart selection, LaTeX export, and figure review.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-scholar:publication-chart-skillThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill to turn research results into **publication-grade figures and tables** with an end-to-end workflow.
examples/01-benchmark-comparison-figure.mdexamples/02-ablation-figure.mdexamples/03-calibration-evaluation-figure.mdexamples/04-forest-diagnostic-figure.mdexamples/05-publication-table-from-excel.mdexamples/06-mixed-figure-table-results.mdexamples/07-revision-from-weak-chart.mdexamples/08-review-existing-figure-or-table.mdreferences/chart-selection.mdreferences/composite-assembly.mdreferences/execution-and-verification.mdreferences/pubfig-recipes.mdreferences/publication-qa-checklist.mdreferences/pubtab-recipes.mdreferences/source-guides/pubfig-api-map.mdreferences/source-guides/pubfig-architecture.mdreferences/source-guides/pubfig-export-flow.mdreferences/source-guides/pubtab-architecture.mdreferences/source-guides/pubtab-backend-and-preview.mdreferences/source-guides/pubtab-cli-api-flow.mdUse this skill to turn research results into publication-grade figures and tables with an end-to-end workflow.
Primary production stack:
pubfig for figurespubtab for publication tablesThis skill covers the full delivery chain:
pubfig, pubtab, or both,Trigger this skill for requests like:
Do not use this skill when the task is mainly:
For simple composite assembly after the figure content is already strong, use the optional secondary workflow in references/composite-assembly.md.
Expect some combination of:
.tex, screenshots, or draft plots,The minimum useful output is:
pubfig / pubtab route,Before generating anything, identify:
pubfig or pubtab is actually available,.tex / screenshots,Prefer the smallest environment check that helps execution. When the bundled helper script is available, use it first:
python3 scripts/ensure_publication_tooling.py --require pubfig --jsonpython3 scripts/ensure_publication_tooling.py --require pubtab --jsonEquivalent manual checks are still acceptable when needed:
python -c "import pubfig; print(pubfig.__version__)"python -c "import pubtab; print(pubtab.__version__)"pubtab --helpReport the result clearly as available or missing.
If a dependency is missing and the task requires runnable execution:
python3 scripts/ensure_publication_tooling.py --require ... as the default bundled route when the script is present,uv vs python -m pip against the active interpreter,Equivalent concrete commands include:
python3 scripts/ensure_publication_tooling.py --require pubfigpython3 scripts/ensure_publication_tooling.py --require pubtabuv pip install pubfiguv pip install pubtabpython -m pip install pubfigpython -m pip install pubtabIf auto-install fails, report the exact failure and then degrade gracefully.
Do not block on a full environment audit.
Classify the request along these axes:
Do not jump into plotting code before the communication target is clear.
Before plotting research results, lock the evidence contract:
If these are unclear, ask or produce an audit recommendation instead of a polished figure. Do not create a paper-ready plot while the unit of analysis, missing-cell handling, or error-bar basis is unresolved.
Choose the representation based on the scientific claim, not novelty or visual flair.
Common families:
Avoid weak defaults:
If the request is ambiguous, explicitly state what scientific claim the artifact is supposed to support.
Default mapping:
pubfigpubtabTool roles:
pubfig is the default figure engine for scientific plots and paper-ready export.pubtab is the default table engine for Excel ↔ LaTeX workflows, preview, and publication-ready table export.Route selection rules:
pubfig figure generation,pubtab when the task is file-driven,pubtab when the task is already inside a notebook or scripted pipeline,Prefer the smallest production-ready artifact first:
pubfig, orpubtabThen add publication parameters only when justified:
Keep filenames and suffixes explicit.
Good defaults:
pubfig call + one save_figure(...)batch_export(...)pubtab xlsx2tex ... or pubtab.preview ...For every response, make these explicit when possible:
pubfig and which by pubtab,After generation, check:
The QA output must be concrete. Do not say “looks better” without naming why.
If the result is weak, revise with specific changes such as:
If pubfig or pubtab is not available:
python3 scripts/ensure_publication_tooling.py --require ... when the bundled script exists,Treat composite or Figma assembly as secondary:
Do not escalate simple figure tasks into composite/Figma workflows by default.
pubfig: available/missing, pubtab: available/missing.A strong response using this skill usually has 6 parts:
pubfig, pubtab, or bothLoad these as needed:
references/workflow.md — full end-to-end decision order and delivery contractreferences/chart-selection.md — task-to-chart mapping and anti-patternsreferences/execution-and-verification.md — environment probing, forced install behavior, and runnable verificationscripts/ensure_publication_tooling.py — bundled probe + auto-install helper for pubfig / pubtabreferences/pubfig-recipes.md — shortest useful figure patterns and export routesreferences/pubtab-recipes.md — shortest useful table routes and backend guidancereferences/source-guides/pubfig-architecture.md — package layout and figure-generation boundaries from sourcereferences/source-guides/pubfig-api-map.md — stable public pubfig surface and chart-family map from __init__.pyreferences/source-guides/pubfig-export-flow.md — figure export, publication sizing, and panel-export flow from sourcereferences/source-guides/pubtab-architecture.md — package layout and forward/reverse conversion architecture from sourcereferences/source-guides/pubtab-cli-api-flow.md — CLI-to-API control flow and batch/sheet behavior from sourcereferences/source-guides/pubtab-backend-and-preview.md — backend/theme split and real preview compile pipeline from sourcereferences/publication-qa-checklist.md — figure/table QA checklistreferences/composite-assembly.md — optional multi-panel and Figma branchFor prompt-shaped examples, see examples/.
npx claudepluginhub galaxy-dawn/claude-scholar --plugin claude-scholarUses matplotlib, seaborn, and plotly with publication styles to create journal-ready figures (Nature, Science, Cell). Supports multi-panel layouts, statistical annotations, error bars, and colorblind-safe palettes.
Creates publication-ready scientific figures with multi-panel layouts, error bars, significance annotations, and colorblind-safe palettes. Orchestrates matplotlib, seaborn, and plotly for journal submission (Nature, Science, Cell).
Creates submission-grade scientific figures for high-impact journals using Python (matplotlib/seaborn) or R (ggplot2/patchwork/ComplexHeatmap). Guides figure planning, backend selection, export, and QA.