Skip to content

Ar9av/PaperOrchestra / skills/plotting-agent

plotting-agent

Verified

Step 2 of the PaperOrchestra pipeline (arXiv:2604.05018). Execute the visualization plan from outline.json — render plots and conceptual diagrams from experimental_log.md and idea.md, optionally refine via VLM critique loop, and produce context-aware captions. Runs in parallel with the literature-review-agent. TRIGGER when the orchestrator delegates Step 2 or when the user asks to "generate the figures for my paper" or "render the plots from this experiment log".

references/aspect-ratios.md

View on GitHub
# Aspect Ratios

The Outline Agent's prompt enumerates exactly 12 allowed aspect ratios (App.
F.1, page 41). Each one maps to a specific figure size in inches at 300 DPI.
The plotting agent MUST use these — anything else fails the outline schema
validator.

| Ratio | Inches (W × H) | Pixels @ 300 DPI | Use case |
|---|---|---|---|
| `1:1`  | 3.4 × 3.4    | 1020 × 1020 | Square radar chart, 1×1 ablation grid |
| `1:4`  | 1.8 × 7.2    | 540 × 2160  | Tall vertical strip (rare; e.g., per-class bars) |
| `2:3`  | 3.4 × 5.1    | 1020 × 1530 | Portrait single-column figure |
| `3:2`  | 5.1 × 3.4    | 1530 × 1020 | Landscape single-column figure |
| `3:4`  | 3.0 × 4.0    | 900 × 1200  | Tall stacked subplots |
| `4:1`  | 7.0 × 1.75   | 2100 × 525  | Banner / timeline / strip-plot |
| `4:3`  | 4.0 × 3.0    | 1200 × 900  | Standard single-column rectangle |
| `4:5`  | 3.2 × 4.0    | 960 × 1200  | Slight portrait, 5-row heatmap |
| `5:4`  | 4.5 × 3.6    | 1350 × 1080 | Wide single-column |
| `9:16` | 2.8 × 4.97   | 840 × 1491  | Mobile / tall portrait |
| `16:9` | 5.5 × 3.09   | 1650 × 927  | Cross-column wide chart |
| `21:9` | 7.0 × 3.0    | 2100 × 900  | Full-page-width banner |

## Width budget

The widths are chosen to slot into the most common LaTeX layouts:

- **2-column conference template** (CVPR, ICCV, NeurIPS):
  single-column = 3.3in, double-column = 7.0in. Use widths ≤ 3.5in for
  `\begin{figure}` and ≤ 7.0in for `\begin{figure*}`.
- **1-column template** (ICLR, plain article): page text width is ~6.5in.

The `fig_size_for(ratio)` helper in `chart-patterns.md` returns the
matching `(width, height)` tuple. The bundled `render_matplotlib.py` script
uses the same table.

## DPI

Always 300. Conference templates reject ≤150 DPI raster figures.

## Strict mapping in JSON spec

The `render_matplotlib.py` and `render_diagram.py` helpers accept a JSON
spec with `"aspect_ratio"` set to one of the 12 strings above. They look
up the size, set `figsize`, set `dpi=300`, and call `tight_layout()` +
`bbox_inches='tight'` automatically.
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall