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.mdSalin 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
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
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) withreviewer_route.pythrough the canonical helper resolver, preserving this slot's tier, fresh contexts, source/image inputs and deterministic gates. Codex examples/pins below apply only tobackend=codex; other routes use their own first-call/reply contract. Save the route and actual returned identity; unavailable selections areREVIEW_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
- PAPER_PLAN.md โ figure plan table (from
/paper-plan) - Experiment data โ JSON files, CSV files, or screen logs in
figures/or project root - 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.
Popularitas
- Bintang GitHub
- 18k
- Peringkat
- #10608
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
ablation-planner
18kMembantu agent Anda merencanakan studi ablasi untuk sebuah makalah, memilih uji yang kemungkinan diminta reviewer setelah hasil utama terlihat baik.
alphaxiv
18kMemungkinkan agent Anda membaca satu makalah riset dengan cepat memakai ringkasan AlphaXiv, dengan teks lengkap atau sumber LaTeX sebagai cadangan, dari tautan arXiv atau ID.
analyze-results
18kMembantu agent Anda menganalisis hasil eksperimen machine learning, membandingkan jalankan dengan baseline, dan mengubah angka-angka itu menjadi temuan serta langkah berikutnya yang jelas.
arxiv
18kMemungkinkan agent Anda mencari makalah akademik di arXiv, membaca detailnya, dan menyimpan PDF ke perpustakaan Anda untuk topik riset.
Skill serupa
gifgrep
394kMemungkinkan agent Anda mencari GIF, melihat pratinjau hasil, mengunduh GIF, dan mengambil satu bingkai diam atau lembar kontak darinya.
meme-maker
394kMemungkinkan agent Anda memilih templat meme, menambahkan teks sendiri, dan membuat meme sebagai gambar SVG atau PNG.
ios-icon-gen
280kMemungkinkan agent Anda membuat ikon untuk aplikasi iOS. Menggunakan simbol Apple atau ikon dari sumber lain untuk membuat file yang tepat.