/figures:lit-scientific-visualizationfrom figures
Plots measured scientific data for publication figures using Python and matplotlib. Handles chart semantics, journal constraints, and output formats.
Ships in figures. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
contract_schema_version: litclaude.llm-contract.v1
artifact_type: skill
surface: Claude Code plugin Skill-discovery entrypoint
host_event: Skill load, namespaced slash command, or exact-bare UserPromptSubmit route
owner: LitClaude
verdicts: [PASS, DEGRADED, FAIL, BLOCKED]
| Field | Contract | Evidence |
|---|---|---|
| activation | Begin the response with the exact probe 🔥 **LIT IGNITED · lit-scientific-visualization** 🔥. | First visible response line. |
| canonical source | Read ../../vendor/scientific-visualization/SKILL.md completely before plotting. | Source-root receipt. |
| runtime | Preflight Python and plotting dependencies without installing them. | PASS or DEGRADED doctor output. |
| completion | Produce and inspect the requested figure artifacts. | Files, dimensions, formats, DPI, and visual QA. |
SKILL.md, references, scripts, assets, evals, and source tests.scripts/, palettes and style files are under assets/, and detailed guidance is under references/.lit-diagram-drawer; a drawing of real equipment or an experimental apparatus (P&ID, PFD, setup figure, isometric cutaway) belongs to lit-schematic; this skill plots measured data. In a figure that pairs an apparatus panel with a data panel, this skill draws the data panel.| Mode | Trigger | Boundary |
|---|---|---|
| direct-skill | Claude Code loads Skill(lit-scientific-visualization). | Explicit user intent is required; there is no generic visualization auto-trigger. |
| command-routed | /litclaude:lit-scientific-visualization is invoked. | The prompt hook injects this adapter and the complete canonical source; follow them with the command arguments. |
| hook-routed | The complete UserPromptSubmit prompt is exactly lit-scientific-visualization after outer whitespace. | Show 🔥 LIT IGNITED · lit-scientific-visualization 🔥 in the hook systemMessage, inject this adapter and the complete canonical source, and keep all mixed or near-miss prompts inert. |
| core-ready | Python and matplotlib are available. | Use packaged scripts and verify real exports. |
| degraded | Python or matplotlib is unavailable. | Report DEGRADED: with the missing capability; do not claim artifact creation. |
| optional-degraded | seaborn, pandas, scipy, plotly, kaleido, numpy, or MDAnalysis is missing. | Use a valid core fallback or report the specific blocked workflow. |
🔥 **LIT IGNITED · lit-scientific-visualization** 🔥 on its own line. The exact-bare UserPromptSubmit route renders 🔥 LIT IGNITED · lit-scientific-visualization 🔥 as its plain-text hook systemMessage; the model probe appears exactly once. Do not treat generic visualization prose as equivalent invocation.SKILL.md through Claude Code's Skill resource root, never relative to the process cwd. Never hard-code ~/skills or the source checkout.SKILL.md completely, then read only the referenced source files needed for the requested figure. Preserve its correctness rules: rcparams() first, scatter-only semantics, journal sizing, legend treatment, fonts, layout, and export requirements. Its grid and ornament restraints are defaults that give way to a request; the LitClaude rich layer in step 7 is that request, so do not undo it.litclaude doctor; never run a cwd-relative shell path. Never install Python, matplotlib, or optional packages silently. Ask before any dependency or environment mutation.scripts/ and assets/ directories into Python's module search path. Import rcparams and export helpers from scripts/, and import color_palettes from assets/; adding only scripts/ is incomplete because the immutable source's palette example imports color_palettes as a top-level module. Resolve .mplstyle resources from that same assets/ directory.rcparams():
rcparams()
plt.rcParams.update({"axes.grid": True, "axes.grid.which": "major", "axes.axisbelow": True, "grid.linewidth": 0.4, "grid.alpha": 0.35, "grid.color": "#9a9a9a"})
indicate_inset_zoom, or a marginal distribution or residual strip for fitted data.figure1.pdf, figure1.png, and multi_panel.pdf; copying those literally writes into the user's working directory. Never overwrite an existing file that this task did not create — check first, and ask when the intended name is already taken.PASS, DEGRADED:, FAIL, or BLOCKED: with Python and relevant module status.artifact_genre: client_deliverable
limitations_channel: reply
Reader mode is the default conversational projection: return result, material risk, required action, and requested detail. Keep operational metadata internal unless the current authoritative request selects technical or audit detail. Material failure always remains visible; protected structured or audit artifacts retain their schema.
npm pack file-list evidence, isolated installation, and installed-path invocation.~/skills, or mutate live Claude configuration without approval.<skill-path> literally; resolve the installed vendor source root.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub wjgoarxiv/wjgoarxiv-skills --plugin figures3 skills in this plugin
/lit-diagram-drawerCreate clear, accessible, Korean-ready diagrams for architecture, workflows, systems, data models, timelines, and conceptual charts, then verify and export them for slides and documents. Use it when a reader will understand the subject faster from a diagram than from prose or a table. Interface pages belong to frontend-ui-ux; plots of measured scientific data belong to lit-scientific-visualization; drawings of real equipment (P&IDs, PFDs, apparatus figures, isometric cutaways) belong to lit-schematic./lit-schematicDraw a physical schematic of equipment or an apparatus — a detailed P&ID with ISA-5.1 tags and control loops, a PFD or equipment layout, an isometric cutaway of a vessel or exchanger, or a journal figure of an experimental setup — as editable SVG with PDF and 600 dpi PNG (a cutaway also as an interactive HTML page or an MP4/WebP/GIF loop), checked by a QA gate and by looking at the render. Use it when the reader must see real hardware, piping or instruments. Abstract boxes-and-arrows go to lit-diagram-drawer; measured-data plots go to lit-scientific-visualization.Other plugins' skills for the same job