paper-figure
ما الذي تفعله
تصنع هذه النسخة من Codex لمهارة أشكال الورقة الرسوم والجداول البيانية للورقة مباشرة من نتائج التجارب. وهي للمؤلفين الذين يحتاجون إلى أشكال بيانات نظيفة.
متى تستخدمها
- ✓عندما تحتاج إلى منحنيات تدريب أو مخططات أعمدة أو خرائط حرارية من النتائج.
- ✓عندما تريد جدول مقارنة بصيغة LaTeX مبنياً على نتائجك.
- ✓عندما تحتاج إلى دمج عدة رسوم في شكل واحد متعدد اللوحات.
رابط المهارة
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/paper-figure/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أحتاج إلى أشكال نظيفة وجداول مقارنة من نتائج تجاربي للورقة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقرأ الوكيل ملفات النتائج، وينتج الرسوم والجداول بتنسيق متناسق. أما المخططات المعمارية فتتولاها مهارات أخرى.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من 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
الأسئلة الشائعة
ما أنواع الرسوم المتضمنة؟
الرسوم الخطية والأعمدة والنقاط والخرائط الحرارية ومخططات الصندوق والكمان.
هل تستطيع رسم مخططات معمارية؟
لا. تقول المهارة إنها تحتاج إلى مهارة مواصفات الأشكال أو مهارات الرسم التوضيحي.
هل تستطيع إنشاء جداول؟
نعم، بما فيها جداول LaTeX التي تقارن الحدود السابقة وميزات الطرق ونتائج الاستئصال.
التفاصيل
الوصف الأصلي من المؤلف
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.
الشعبية
- نجوم GitHub
- 18k
- الترتيب
- #10608
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
ablation-planner
18kيساعد وكيلك على تخطيط دراسات الاستئصال لورقة بحثية، فيختار الاختبارات التي يُرجَّح أن يطلبها المحكّمون بعد أن تبدو النتائج الرئيسية جيدة.
alphaxiv
18kيتيح لوكيلك قراءة ورقة بحثية واحدة بسرعة باستخدام ملخصات AlphaXiv، مع النص الكامل أو مصدر LaTeX احتياطياً، من رابط arXiv أو معرّفه.
analyze-results
18kيساعد وكيلك على تحليل نتائج تجارب تعلم الآلة، ومقارنة التشغيلات بخط أساس، وتحويل الأرقام إلى نتائج واضحة وخطوات تالية.
arxiv
18kيتيح لوكيلك البحث في arXiv عن الأوراق الأكاديمية، وقراءة تفاصيلها، وحفظ ملفات PDF في مكتبتك لموضوع بحثي.
مهارات مشابهة
gifgrep
394kيتيح لوكيلك البحث في مكتبات GIF ومعاينة النتائج وتنزيل ملف GIF، واستخراج إطار ثابت أو شبكة إطارات منه.
meme-maker
394kيتيح لوكيلك اختيار قالب ميم وإضافة عناوينك الخاصة، ثم إنشاء الميم كصورة بصيغة SVG أو PNG.
ios-icon-gen
280kيتيح لوكيلك إنشاء أيقونات لتطبيقات iOS. يستخدم رموز Apple أو أيقونات من مصادر أخرى لإنشاء الملفات الصحيحة.