Saltar al contenido
Skillpedia
Imágenes e íconos18 mil · #10608

paper-figure

Qué hace

Esta versión para Codex de la skill de figuras de artículos crea gráficos de datos y tablas para un artículo directamente a partir de los resultados de los experimentos. Está pensada para autores que necesitan figuras limpias.

Cuándo usarla

  • ✓Cuando necesitas curvas de entrenamiento, gráficos de barras o mapas de calor a partir de resultados.
  • ✓Cuando quieres una tabla de comparación en LaTeX construida con tus resultados.
  • ✓Cuando necesitas varios gráficos combinados en una sola figura de varios paneles.

Link de la skill

https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/paper-figure/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/paper-figure/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Necesito figuras limpias y tablas de comparación hechas con los resultados de mis experimentos para el artículo.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente lee los archivos de resultados y produce los gráficos y las tablas con un estilo coherente. Los diagramas de arquitectura los gestionan otras skills.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Paper Figure: Publication-Quality Plots from Experiment Data

Before each reviewer slot, follow Selectable Reviewers: resolve invocation → .aris/reviewer.json → Codex default (fresh native reviewer) with reviewer_route.py through the canonical helper resolver, preserving this slot's tier, fresh contexts, source/image inputs and deterministic gates. Codex examples/pins below apply only to backend=codex; other routes use their own first-call/reply contract. Save the route and actual returned identity; unavailable selections are REVIEW_UNAVAILABLE. Classify acceptance from actual families/completion/scope. Forward invocation reviewer/model/effort overrides to reviewer-bearing children. Generation workers are unchanged.

Generate all figures and tables for a paper based on: $ARGUMENTS

Scope: What This Skill Can and Cannot Do

Category Can auto-generate? Examples
Data-driven plots ✅ Yes Line plots (training curves), bar charts (method comparison), scatter plots, heatmaps, box/violin plots
Comparison tables ✅ Yes LaTeX tables comparing prior bounds, method features, ablation results
Multi-panel figures ✅ Yes Subfigure grids combining multiple plots (e.g., 3×3 dataset × method)
Architecture/pipeline diagrams ❌ No — manual Model architecture, data flow diagrams, system overviews. At best can generate a rough TikZ skeleton, but expect to draw these yourself using tools like draw.io, Figma, or TikZ
Generated image grids ❌ No — manual Grids of generated samples (e.g., GAN/diffusion outputs). These come from running your model, not from this skill
Photographs / screenshots ❌ No — manual Real-world images, UI screenshots, qualitative examples

In practice: For a typical ML paper, this skill handles ~60% of figures (all data plots + tables). The remaining ~40% (hero figure, architecture diagram, qualitative results) need to be created manually and placed in figures/ before running /paper-write. The skill will detect these as "existing figures" and preserve them.

Constants

  • STYLE = publication — Visual style preset. Options: publication (default, clean for print), poster (larger fonts), slide (bold colors)
  • DPI = 300 — Output resolution
  • FORMAT = pdf — Output format. Options: pdf (vector, best for LaTeX), png (raster fallback)
  • COLOR_PALETTE = tab10 — Default matplotlib color cycle. Options: tab10, Set2, colorblind (deuteranopia-safe)
  • FONT_SIZE = 10 — Base font size (matches typical conference body text)
  • FIG_DIR = figures/ — Output directory for generated figures
  • REVIEWER_MODEL = gpt-6-astra — Model used via a secondary Codex agent for figure quality review.

Inputs

  1. PAPER_PLAN.md — figure plan table (from /paper-plan)
  2. Experiment data — JSON files, CSV files, or screen logs in figures/ or project root
  3. Existing figures — any manually created figures to preserve

If no PAPER_PLAN.md exists, scan for data files and ask the user which figures to generate.

Workflow

Step 1: Read Figure Plan

Parse the Figure Plan table from PAPER_PLAN.md:

| ID | Type | Description | Data Source | Priority |
|----|------|-------------|-------------|----------|
| Fig 1 | Architecture | ... | manual | HIGH |
| Fig 2 | Line plot | ... | figures/exp.json | HIGH |

Identify:

  • Which figures can be auto-generated from data
  • Which need manual creation (architecture diagrams, etc.)
  • Which are comparison tables (generate as LaTeX)

Step 2: Set Up Plotting Environment

Create a shared style configuration script:

# paper_plot_style.py — shared across all figure scripts
import matplotlib.pyplot as plt
import matplotlib
matplotlib.rcParams.update({
    'font.size': FONT_SIZE,
    'font.family': 'serif',
    'font.serif': ['Times New Roman', 'Times', 'DejaVu Serif'],
    'axes.labelsize': FONT_SIZE,
    'axes.titlesize': FONT_SIZE + 1,
    'xtick.labelsize': FONT_SIZE - 1,
    'ytick.labelsize': FONT_SIZE - 1,
    'legend.fontsize': FONT_SIZE - 1,
    'figure.dpi': DPI,
    'savefig.dpi': DPI,
    'savefig.bbox': 'tight',
    'savefig.pad_inches': 0.05,
    'axes.grid': False,
    'axes.spines.top': False,
    'axes.spines.right': False,
    'text.usetex': False,  # set True if LaTeX is available
    'mathtext.fon
Preguntas frecuentes

¿Qué tipos de gráfico incluye?

Gráficos de líneas, de barras, de dispersión, mapas de calor y diagramas de caja o de violín.

¿Puede dibujar diagramas de arquitectura?

No. Esos requieren las skills de especificación de figuras o de ilustración.

¿Puede crear tablas?

Sí, incluidas tablas en LaTeX que comparan cotas previas, características de métodos y resultados de ablación.

Detalles

Descripción original del autor

Generate publication-quality figures and tables from experiment results. Use when user says \\\"\u753b\u56fe\\\", \\\"\u4f5c\u56fe\\\", \\\"generate figures\\\", \\\"paper figures\\\", or needs plots for a paper.

repo: wanshuiyin/Auto-claude-code-research-in-sleep

Popularidad

Estrellas en GitHub
18 mil
Posición en el ranking
#10608
Licencia
MIT
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas