Agent skill

Codex Panel Reproduce

by littlepeachs in littlepeachs/NaturePanelForge

A skill your agent uses when asked to reproduce or refine a single scientific figure panel as editable Python/matplotlib code in NaturePanelForge.

MITAuto-check passedData & Analytics

Install Codex Panel Reproduce

skills CLI
$ npx skills add littlepeachs/NaturePanelForge --skill codex-panel-reproduce -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install littlepeachs/NaturePanelForge codex-panel-reproduce --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/littlepeachs/NaturePanelForge.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codex-panel-reproduce .claude/skills/codex-panel-reproduce && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
codex-panel-reproduce
GitHub stars
223
Token cost
~1.2k tokens
SKILL.md length
381 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when asked to reproduce or refine a single scientific figure panel as editable Python/matplotlib code in NaturePanelForge.

  • Asked to reproduce
  • SKILL.md covers Trigger, Inputs, Reproduce One Panel and Dry Run, plus 4 more sections
  • Calls python3 and python
  • Refine a single scientific figure panel as editable Python/matplotlib code in NaturePanelForge

What it does

Codex Panel Reproduce is an agent skill from littlepeachs/NaturePanelForge. 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.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Data & Analytics, covering Data visualization. It works with Python, Matplotlib and Qwen. The repository describes itself as: NaturePanelForge is a code-first workflow for turning scientific figure images and open-access Nature-family papers into panel-level, executable plotting-code reconstruction tasks. The licence is MIT.

When your agent uses it

  • Asked to reproduce
  • Refine a single scientific figure panel as editable Python/matplotlib code in NaturePanelForge

Example prompts

  • “/codex-panel-reproduce”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 0ca0c91. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3
    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Codex Panel Reproduce loads about 1.2k tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 381 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from littlepeachs/NaturePanelForge at commit 0ca0c91, republished under its MIT licence (© littlepeachs). 381 words, ~1,235 tokens.

Download SKILL.mdSave it as .claude/skills/codex-panel-reproduce/SKILL.md (or your agent's skills folder).
name
codex-panel-reproduce
description
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.

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; optional metadata.json, qwen_score.json, qwen_prompt.md, and raw_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, and reproduce_panel.pdf.

Reproduce One Panel

Run from the NaturePanelForge repo root:

bash
python3 forge.py single-panel-image \
  --image path/to/target_panel.png \
  --out-root UserRuns/single_panel \
  --panel-id my_panel \
  --caption "brief visual/caption context" \
  --chart-type user_supplied \
  --review-rounds 4 \
  --skip-existing

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:

bash
python3 examples/prompt_codex_reproduce_fig02_g.py \
  --panel-dir path/to/panel_dir \
  --panel-root path/to/panel_root \
  --reviews-dir path/to/reviews_root \
  --specs-dir path/to/specs_root \
  --jobs 1 \
  --review-rounds 4 \
  --skip-existing

Expected panel outputs:

  • reproduce_panel.py
  • reproduce_panel.png
  • reproduce_panel.pdf

Expected mirrored review/spec outputs:

  • reproduce_panel_run_log.md
  • reproduce_panel_review_notes.md
  • reproduce_panel_review_summary.json
  • reproduce_panel_prompt.md
  • reproduce_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:

bash
python3 -m nature_panel_forge.reproduce_image --image path/to/target_panel.png --out-root UserRuns/dry_run --dry-run --print-command

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:

bash
python3 examples/prompt_codex_refine_reproduce.py \
  --panel-dir path/to/panel_dir \
  --panel-root path/to/panel_root \
  --reviews-dir path/to/refine_reviews_root \
  --specs-dir path/to/refine_specs_root \
  --jobs 1 \
  --review-rounds 4 \
  --skip-existing

Refine in place by editing reproduce_panel.py; do not create a competing script. Also write refine_complexity_assessment.json.

Show full SKILL.md (149 more words)Show less

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.py exits 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, and edge_visibility_passed set 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:

text
Use the codex-panel-reproduce skill to reproduce this scientific panel as editable Python/matplotlib code.
Target image: /path/to/target_panel.png
Optional PDF: /path/to/target_panel.pdf
Output root: UserRuns/my_panel
Panel id: my_panel
Chart type: bubble_plot
Caption: A short description of the visual structure, axes, legend, and data pattern.
Do not use Qwen scoring. Generate reproduce_panel.py, reproduce_panel.png, reproduce_panel.pdf, review notes, review summary, and a run log. Then report the output directory, review_passed, contract_passed, final PNG size, and rerender command.

© littlepeachs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/codex-panel-reproduce of littlepeachs/NaturePanelForge.

Open the folder on GitHubat commit 0ca0c91

Compare with similar skills

Codex Panel Reproduce next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Codex Panel Reproduce compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codex Panel Reproduce this skilllittlepeachs/NaturePanelForge223—~1.2kAutomated safety check: PassMIT
Scientific Figure MakingChenLiu-1996/figures4papers8.3k—~557Automated safety check: PassCustom licence
Plot From ImageTrae1ounG/paper-plot-skills8721 repos~868Automated safety check: PassNone
Python Executorcortega26/chile-hub1132 repos~1.5kAutomated safety check: PassMIT
FigMirror Figure Style TransferVILA-Lab/FigMirror521—~2.1kAutomated safety check: PassNone
Ieee Figure TableCloudWave818/ieee-skills359—~1kAutomated safety check: PassMIT

Similar skills

  • Scientific Figure Making

    ChenLiu-1996/figures4papers

    Covers publication-ready matplotlib figures for academic papers, slides, and reports—bars, trends, scatter, heatmaps, and multi-panel layouts—with this…

    8.3k GitHub stars~557 tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Plot From Image

    Trae1ounG/paper-plot-skills

    Reproduce any academic paper figure from an uploaded image using accumulated style experience.

    872 GitHub starsUsed in 1 repo~868 tokens
    Data & AnalyticsAuto-check passed
  • Python Executor

    cortega26/chile-hub

    Execute Python code in a safe sandboxed environment via [inference.sh](https://inference.sh).

    113 GitHub starsUsed in 2 repos~1.5k tokens
    Data & AnalyticsAuto-check passed
  • Redraws your data as a matplotlib figure in the visual style of a reference paper figure, using a drawer and reviewer loop.

    521 GitHub stars~2.1k tokensUpdated 10 days ago
    Data & AnalyticsAuto-check passed
  • Ieee Figure Table

    CloudWave818/ieee-skills

    Audit, redesign, generate, and improve IEEE manuscript figures, tables, captions, result presentation, plotting scripts, visual polish, hybrid Python/R plus vector-editor workflows…

    359 GitHub stars~1k tokensUpdated 2 mo ago
    Data & AnalyticsAuto-check passed
  • FigMirror

    VILA-Lab/FigMirror

    Mirrors the visual style of a top-conference paper figure onto your own data, producing a camera-ready PDF and a self-contained matplotlib script.

    521 GitHub stars~2.4k tokensUpdated 10 days ago
    Data & AnalyticsAuto-check passed

Questions about Codex Panel Reproduce

What does Codex Panel Reproduce do?

A skill your agent uses when asked to reproduce or refine a single scientific figure panel as editable Python/matplotlib code in NaturePanelForge. Codex Panel Reproduce is an agent skill from littlepeachs/NaturePanelForge. Use this skill when asked to reproduce or refine a single scientific figure panel as editable Python/matplotlib code in NaturePanelForge.

When should I use Codex Panel Reproduce?

Codex Panel Reproduce fits situations like: asked to reproduce; refine a single scientific figure panel as editable Python/matplotlib code in NaturePanelForge.

How do I install Codex Panel Reproduce in Claude Code?

Run `npx skills add littlepeachs/NaturePanelForge --skill codex-panel-reproduce -a claude-code`. Or copy the skill folder (skills/codex-panel-reproduce in littlepeachs/NaturePanelForge) into .claude/skills/codex-panel-reproduce in your project. Claude Code loads it when a task matches its description.

How do I install Codex Panel Reproduce in Codex?

Run `npx skills add littlepeachs/NaturePanelForge --skill codex-panel-reproduce -a codex`. Or copy the skill folder (skills/codex-panel-reproduce in littlepeachs/NaturePanelForge) into .agents/skills/codex-panel-reproduce in your project. Codex loads it when a task matches its description.

Can I use Codex Panel Reproduce in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add littlepeachs/NaturePanelForge --skill codex-panel-reproduce -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codex-panel-reproduce, .gemini/skills/codex-panel-reproduce, .github/skills/codex-panel-reproduce and .opencode/skills/codex-panel-reproduce in your project.

What does Codex Panel Reproduce need to run?

Going by SKILL.md and its folder, Codex Panel Reproduce needs the command-line tools its instructions call (python3 and python). Our summary lists: Python 3.

Does Codex Panel Reproduce access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Codex Panel Reproduce safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Codex Panel Reproduce use?

Codex Panel Reproduce is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Codex Panel Reproduce use?

About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Codex Panel Reproduce?

Skills that share tags, products or a category with Codex Panel Reproduce: Scientific Figure Making (ChenLiu-1996/figures4papers, 8.3k stars), Plot From Image (Trae1ounG/paper-plot-skills, 872 stars), Python Executor (cortega26/chile-hub, 113 stars) and FigMirror Figure Style Transfer (VILA-Lab/FigMirror, 521 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codex Panel Reproduce?

littlepeachs (a GitHub user) maintains it in littlepeachs/NaturePanelForge, which has 223 GitHub stars. The repository was last updated on July 16, 2026.

Source: littlepeachs/NaturePanelForge on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.