Academic Figure
CS/AI/ML academic-figure router. Experimental data figures are default delivered as editable Python/matplotlib SVGs and pass through the CS/AI/ML chart design gate. Model framework diagrams, architecture diagrams, overview figures, and complex mechanism diagrams are out of scope for automatic rendering by this skill; if the paper requires such figures, only human-drawing requirements, evidence checklists, caption drafts, or figure blueprint notes may be produced.
Router Protocol
- Read
manifest.yaml. It declaresalways_loadfiles,axes, andreferences.on_demand. - Read every file listed under
always_load. These are the skill's binding rules — not reference material. - Apply the loaded material as constraints:
stance.mddefines Python-only plotting, figure contract, visual policy, and scope.red-lines.mddefines absolute prohibitions. Do not negotiate these.output-contract.mddefines deliverables per mode.anti-patterns.mddefines known failure modes and their correct alternatives.
- Select exactly one
modefrom the manifest. If ambiguous, ask one concise clarification only when data source or target use is missing. Requests for model framework, architecture, overview, or mechanism diagrams usefigure-blueprintonly to producemanual_figure_needednotes; never render images, SVG, or prompts. - Echo the selected mode to the user before executing.
- Reach for
references/only when the manifest'sreferences.on_demandcondition is satisfied.
Modes
| Mode | Use when |
|---|---|
chart-from-data | Data files or numeric results, needs publication plot with CS/AI/ML chart design gate |
figure-blueprint | Wants figure suggestions for a paper section |
figure-audit | Existing figure reviewed for publication readiness |
figure-revision | Existing figure needs revision |
Agent Dispatch
agents/figure_agent.md is dispatched by the orchestrator at Step 6.4. The agent returns figure artifacts, scripts, SVG paths, and reports; it must not independently edit project source code or experimental data.
Completion Criteria
chart-from-data: Figure Contract, CS/AI/ML chart design gate, Python script, source data, editable SVG, QA report — all pass.figure-audit: Every QA item has pass/fail status and concrete remediation.figure-blueprint: Every suggested figure maps to a paper claim and data/evidence source.figure-revision: Revised artifact or instructions, QA report, unchanged evidence traceability.