littlepeachs/naturepanelforge/codex-panel-reproduce
Claude Code and agent skill by littlepeachs/naturepanelforge
- community
Checking that the SKILL.md file is still in the repository.
Use this skill when asked to reproduce or refine a single scientific figure panel as editable Python/matplotlib code in NaturePanelForge. It covers the local Codex panel-to-code workflow, dry-runs, review loops, expected artifacts, and validation.
Install
npx vskill@latest install littlepeachs/naturepanelforge/codex-panel-reproduceSKILL.md
Codex Panel Reproduce
Trigger
Use this for code-only reproduction or refinement of one scientific figure panel in NaturePanelForge. The target is an editable Python script plus rendered PNG/PDF, not image editing or raster tracing.
For local user-supplied images, do not run Qwen scoring and do not require Qwen outputs. Qwen context is only optional metadata when the input already comes from an existing SciFigureHub/NaturePanelForge pipeline directory.
Inputs
- Single-image workflow: a target panel image path, optional caption, optional source PDF.
- Existing-panel workflow: a panel directory containing
target.png; optionalmetadata.json,qwen_score.json,qwen_prompt.md, andraw_response.txt. Missing Qwen files are acceptable for user-supplied images. - Refine workflow: an existing panel directory containing
target.png,reproduce_panel.py,reproduce_panel.png, andreproduce_panel.pdf.
Reproduce One Panel
Run from the NaturePanelForge repo root:
This command prepares the local single-image bundle itself. It writes placeholder user-image metadata as needed; it does not classify the image with Qwen and does not need a local Qwen model.
For an existing panel directory:
Expected panel outputs:
reproduce_panel.pyreproduce_panel.pngreproduce_panel.pdf
Expected mirrored review/spec outputs:
reproduce_panel_run_log.mdreproduce_panel_review_notes.mdreproduce_panel_review_summary.jsonreproduce_panel_prompt.mdreproduce_panel_raw_response.txt
Dry Run
Use --dry-run before a live run to create/check task context and print the nested Codex prompt without running it:
For existing panel directories, add --dry-run to the batch reproduce or refine command.
Refine Existing Output
Use refinement only after a baseline reproduction exists:
Refine in place by editing reproduce_panel.py; do not create a competing script. Also write refine_complexity_assessment.json.
Review Loop
Each live run should alternate code-writing and review passes until close enough or --review-rounds is reached. The review must compare the saved PNG against target.png and record concrete findings about chart type, data pattern, axes, ticks, labels, legends/colorbars, annotations, colors, font/readability, edge visibility, and layout collisions.
If a review finds a fixable issue, edit the Python code and rerender. Do not modify target.png, target.pdf, metadata, score files, prompts, or raw source context.
Validation
Before reporting success, verify:
python path/to/reproduce_panel.pyexits successfully.- The PNG and PDF outputs exist and are regenerated by the script.
- Review summary JSON has
review_passed: true. - Refine runs also have
font_audit_passed,layout_audit_passed, andedge_visibility_passedset to true. - The final response lists created files, final PNG size, iteration count, and the regeneration command.
Natural-Language Use
When the user asks in natural language, infer the CLI call and run the workflow. A good request looks like:
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/codex-panel-reproduce/SKILL.md
Popularity
- Repository stars
- 221
- Repository forks
- 9
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/littlepeachs/naturepanelforge/codex-panel-reproduce)