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/caption-prompt.md

View on GitHub
# Plotting Agent — Caption Generation prompt

**Source: arXiv:2604.05018, Appendix F.1, page 45 (verbatim).**

The paper uses PaperBanana (Zhu et al., 2026) for the entire visual generation
pipeline; it then appends a single caption regeneration step at the end using
the prompt below. We reproduce only this final caption step verbatim because
it is the part the paper authors actually wrote (PaperBanana's internal
prompts are external and not reproduced here).

---

```
Input Data
  - Task Type:               {task_name}
  - Contextual Section:      {raw_content}
  - Overall Figure Intent:   {description}
  - Detailed Figure Description: {figure_desc}

Please provide the final caption for this figure based on the system
instructions.

Requirements

  - The caption should be concise and informative, and can be directly used
    as a caption for academic papers.
  - The caption MUST NOT contain a "Figure X:" or "Caption X:" prefix, as
    the latex template will add it automatically.
  - The caption MUST NOT contain any markdown formatting (like bold,
    italics, etc), it should be plain text.

Respond with the plain text caption only.
```

---

## Field substitution guide

| Field | Source |
|---|---|
| `{task_name}` | The section the figure belongs to. Look it up in `outline.json` — find which section's `content_bullets` (or surrounding text in `drafts/paper.tex` if Step 4 has run) reference this `figure_id`. Common values: `"Methodology"`, `"Experiments"`, `"Ablation Studies"`. |
| `{raw_content}` | The text of the section the figure appears in. If Step 4 has run, paste the relevant paragraph from `drafts/paper.tex`. If not, paste the joined `content_bullets` from the corresponding subsection in `outline.json`. |
| `{description}` | The `objective` field from the figure spec in `outline.json`. |
| `{figure_desc}` | A 1-2 sentence factual description of what the rendered PNG actually contains. If your host has vision, generate this by inspecting the rendered PNG. If not, derive it from the matplotlib script you wrote (e.g., "Grouped bar chart comparing methods A, B, C across metrics M1 and M2."). |

## Output

Plain text. One caption. No prefix, no markdown, no quotes around it.
Save the result into `workspace/figures/captions.json` keyed by `figure_id`:

```json
{
  "fig_main_results": "Comparison of three temporal-attention variants on the Ref-AVS Seen split. Bars show Jaccard index; error bars are 95% confidence intervals over five seeds.",
  "fig_framework_overview": "Overview of the proposed pipeline. Raw video frames flow into the frozen SAM encoder; aligned audio cues are projected through the temporal modality fusion layer before being injected into the mask decoder."
}
```
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