A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
Publication-grade scientific figure and table skill powered by pubfig and pubtab.
publication-chart-skill is a standalone cross-platform skill for turning research results into publication-grade scientific figures and tables.
It is designed for agents running in Claude Code, Codex, or OpenCode, with pubfig>=0.3.0 as the default agent-first JSON CLI figure engine and pubtab as the default table engine.
The goal is to help an agent choose the right artifact, produce a runnable route, export paper-ready outputs, and review the result against publication-quality expectations.
Upstream toolchain references
When this skill is triggered, the agent should not jump straight into plotting. It should first determine what the user is trying to communicate: a comparison, an ablation, a calibration result, a diagnostic summary, a benchmark table, or a mixed figure-plus-table deliverable.
From there, the skill chooses whether the result should be expressed as:
Once the representation is clear, the skill routes the request to:
pubfig>=0.3.0 JSON CLI for figures,pubtab for publication tables,A strong default response should:
pubfig CLI / pubtab route,The repository also includes a small helper script, scripts/ensure_publication_tooling.py, so the agent can probe whether pubfig>=0.3.0 and pubtab are installed, force-install missing dependencies into the active environment when runnable execution is required, and then continue with the real workflow instead of stopping at generic guidance.
If the environment is missing the required packages, the canonical pip install commands are:
python -m pip install --upgrade "pubfig>=0.3.0"
python -m pip install --upgrade pubtab
When the bundled helper is available, it remains the preferred route:
python3 scripts/ensure_publication_tooling.py --require pubfig --json
python3 scripts/ensure_publication_tooling.py --require pubtab --json
A few representative routes from the underlying toolchain:
pubfig CLI example
For agents, prefer the JSON CLI introduced in pubfig 0.3.0. The skill should install or upgrade to pubfig>=0.3.0, validate the spec first, and then render it:
{
"schema_version": 1,
"plot": {
"kind": "line",
"kwargs": {
"data": [[0.78, 1.03, 1.15], [0.87, 1.01, 1.04]],
"series_names": ["Baseline", "Method"]
}
},
"export": {
"mode": "save_figure",
"path": "figure1.pdf",
"spec": "nature",
"width": "single"
}
}
pubfig validate-spec figure.spec.json
pubfig render figure.spec.json
Related upstream examples:
pubtab example
pubtab xlsx2tex table.xlsx -o table.tex
pubtab preview table.tex -o table.png --dpi 300
Related upstream examples:
This repository is structured as a single-skill repo that works with the skills CLI.
Install it with:
npx skills add Galaxy-Dawn/publication-chart-skill
To inspect what the repo exposes before installing, run:
npx skills add Galaxy-Dawn/publication-chart-skill --list
If you want the skill installed globally for a specific agent, use the corresponding skills CLI flags. See the skills CLI documentation for agent-specific options and target paths.
The canonical payload lives directly in the repository root:
SKILL.md — the main skill entrypointreferences/ — workflow guidance, recipes, QA guidance, and source-driven docs from pubfig>=0.3.0 / pubtabexamples/ — example prompts and expected output shapesscripts/ensure_publication_tooling.py — environment probe + forced-install helperThe references/ directory is where the skill explains how to map research communication tasks to concrete pubfig JSON CLI and pubtab routes. The examples/ directory shows the expected interpretation style for benchmark figures, ablations, calibration plots, diagnostic figures, publication tables, and mixed figure-plus-table requests.
Typical requests that should trigger this skill include:
pubfig CLI to turn these evaluation results into a paper-ready figure.”pubtab to convert this workbook into a manuscript-ready table.”A Claude Code skill by Hao (駱君昊) that learns your Facebook voice and auto-posts to FB / IG / Threads / X with a 14-day c
1000+ skills curated from Anthropic, Vercel, Stripe, and other engineering teams
Claude Code skill for YouTube creators — channel audits, video SEO, retention scripts, thumbnails, content strategy, Sho
AI image generation skill for Claude Code -- Creative Director powered by Gemini