From claude-scholar
Generates publication-quality scientific figures and tables using pubfig and pubtab. Supports chart selection for results, Excel to LaTeX conversion, figure+table pairs, and reviews/upgrades of existing assets.
npx claudepluginhub galaxy-dawn/claude-scholar --plugin claude-scholarThis skill uses the workspace's default tool permissions.
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.mdCreates journal-ready scientific plots with matplotlib, seaborn, plotly. Supports multi-panel layouts, error bars, significance markers, colorblind-safe palettes, PDF/EPS/TIFF exports.
Creates publication-ready scientific figures with matplotlib/seaborn/plotly, including multi-panel layouts, error bars, significance annotations, colorblind-safe palettes, and journal formatting for Nature, Science, Cell.
Guides chart type selection by data structure, color palettes for accessibility/print, figure composition, and journal formatting for scientific publications. Use when preparing data visualizations for talks or submissions.
Share bugs, ideas, or general feedback.
Use 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.
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/.