Langsung ke konten
Skillpedia
Gambar & ikon18k ยท #10608

paper-figure

Fungsinya

Versi Codex dari skill figur makalah ini membuat grafik data dan tabel untuk makalah langsung dari hasil eksperimen. Skill ini untuk penulis yang membutuhkan figur yang rapi.

Kapan dipakai

  • โœ“Saat Anda membutuhkan kurva pelatihan, diagram batang, atau heatmap dari hasil.
  • โœ“Saat Anda ingin tabel perbandingan LaTeX yang dibangun dari hasil Anda.
  • โœ“Saat Anda perlu beberapa plot digabungkan menjadi satu figur multi-panel.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/paper-figure/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œSaya perlu figur dan tabel perbandingan yang rapi dibuat dari hasil eksperimen saya untuk makalah.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent membaca file hasil dan membuat plot serta tabel dengan gaya yang konsisten. Diagram arsitektur ditangani oleh skill spesifikasi figur atau ilustrasi.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum

Jenis grafik apa saja yang tersedia?

Plot garis, diagram batang, scatter plot, heatmap, dan box atau violin plot.

Bisakah membuat diagram arsitektur?

Tidak. Itu memerlukan skill spesifikasi figur atau ilustrasi.

Bisakah membuat tabel?

Bisa, termasuk tabel LaTeX yang membandingkan batas sebelumnya, fitur metode, dan hasil ablasi.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
18k
Peringkat
#10608
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa