Token导航 LogoToken导航TokenDH.com
图像处理执行命令github未标认证来源可访问许可证需确认审计提醒

paper-illustration-image2纸插图图像 2

Agent Skill

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

总安装

225

周安装

9

GitHub Stars

7,766

下载量

73
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:paper-illustration-image2(纸插图图像 2)
来源仓库:https://github.com/wanshuiyin/auto-claude-code-research-in-sleep
仓库路径:skills/paper-illustration-image2
安装命令:
npx skills add https://github.com/wanshuiyin/auto-claude-code-research-in-sleep --skill paper-illustration-image2
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/wanshuiyin/auto-claude-code-research-in-sleep --skill paper-illustration-image2

简介

paper-illustration-image2 用于图像生成、编辑或视觉素材处理。

  • 适合根据文本提示生成图片或调用图像模型工作流。
  • 通过 GitHub 安装,使用 npx skills add 命令添加技能。
  • 使用时需确认输入图片版权、输出格式及模型限制,涉及人物或品牌时需额外核对授权。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Paper Illustration Image2

Generate publication-quality paper figures using Claude as the planner/reviewer and a local Codex app-server MCP bridge as the raster renderer.

Core Design Philosophy

┌──────────────────────────────────────────────────────────────────────────┐
│                    MULTI-STAGE ITERATIVE WORKFLOW                        │
├──────────────────────────────────────────────────────────────────────────┤
│                                                                          │
│   User Request                                                           │
│       │                                                                  │
│       ▼                                                                  │
│   ┌─────────────┐                                                        │
│   │   Claude    │ ◄─── Step 1: Parse request, create initial prompt     │
│   │  (Planner)  │      - Extract components, labels, and data flow       │
│   │             │      - Write a paper-ready figure brief                │
│   └──────┬──────┘                                                        │
│          │                                                               │
│          ▼                                                               │
│   ┌─────────────┐                                                        │
│   │Claude/Codex │ ◄─── Step 2: Optimize layout description               │
│   │   Layout    │      - Refine component positioning                    │
│   │   Review    │      - Optimize spacing and grouping                   │
│   └──────┬──────┘                                                        │
│          │                                                               │
│          ▼                                                               │
│   ┌─────────────┐                                                        │
│   │Claude/Codex │ ◄─── Step 3: CVPR/NeurIPS style verification           │
│   │   Style     │      - Check palette, arrows, and label standards      │
│   │   Check     │      - Tighten the prompt before rendering             │
│   └──────┬──────┘                                                        │
│          │                                                               │
│          ▼                                                               │
│   ┌─────────────┐                                                        │
│   │ codex-image2│ ◄─── Step 4: Native image generation via bridge        │
│   │ MCP bridge  │      - Call generate_start / generate_status           │
│   │ + app-server│      - Accept only native imageGeneration output       │
│   └──────┬──────┘                                                        │
│          │                                                               │
│          ▼                                                               │
│   ┌─────────────┐                                                        │
│   │   Claude    │ ◄─── Step 5: STRICT visual review + SCORE (1-10)      │
│   │  (Reviewer) │      - Verify logic, labels, arrows, and aesthetics    │
│   │   STRICT!   │      - Reject unclear or non-paper-ready figures       │
│   └──────┬──────┘                                                        │
│          │                                                               │
│          ▼                                                               │
│   Score ≥ 9? ──YES──► Accept & Output                                    │
│          │                                                               │
│          NO                                                              │
│          │                                                               │
│          ▼                                                               │
│   Generate SPECIFIC improvement feedback ──► Loop back to Step 2        │
│                                                                          │
└──────────────────────────────────────────────────────────────────────────┘

Constants

  • RENDERER = codex-image2 — Native image generation bridge exposed through local Codex app-server
  • OPTIONAL_TEXT_CRITIC = mcp__codex__codex — Optional text-only second opinion for layout/style checks
  • MAX_ITERATIONS = 5 — Maximum refinement rounds
  • TARGET_SCORE = 9 — Minimum acceptable score (1-10)
  • OUTPUT_DIR = figures/ai_generated/ — Output directory
  • TEXT_LANGUAGE = English — Default figure text language unless the user requests otherwise
  • NATIVE_IMAGE_REQUIREMENT = strict — Accept only native imageGeneration output; reject shell/Python fallbacks
  • CANONICAL_HELPER = python3 tools/paper_illustration_image2.py — Preflight, finalize, verify, and repair path for this integration

CVPR/ICLR/NeurIPS Top-Tier Conference Style Guide

What "CVPR Style" Actually Means:

Visual Standards

  • Clean white background — No decorative patterns or gradients unless extremely subtle
  • Sans-serif fonts — Arial, Helvetica, or similarly clean paper-friendly typography
  • Subtle color palette — Use 3-5 coordinated colors, not rainbow colors
  • Print-friendly — Must remain understandable in grayscale
  • Professional borders — Thin to medium, clean, and consistent

Layout Standards

  • Horizontal flow — Left-to-right is the default for pipelines
  • Clear grouping — Use spacing or subtle grouping boxes for related modules
  • Consistent sizing — Similar components should have similar sizes
  • Balanced whitespace — Avoid both cramped and overly sparse layouts

Arrow Standards (MOST CRITICAL)

  • Thick strokes — Arrows must remain visible after paper scaling
  • Clear arrowheads — Large, unmistakable arrowheads
  • Dark colors — Prefer black or dark gray arrows
  • Labeled — Important arrows should show what flows through them
  • No crossings — Reorganize the figure to avoid crossings where possible
  • CORRECT DIRECTION — Arrows must point to the right target

Visual Appeal (Academic Professional Style)

目标:既不保守也不花哨,找到平衡点

✅ Should have

  • Subtle gradients — Gentle same-family gradients are acceptable
  • Rounded corners — Modern but restrained rounded blocks
  • Clear hierarchy — Main modules larger, secondary modules smaller
  • Consistent color coding — Stable mapping between module types and colors
  • Professional typography — Clean labels with readable size hierarchy

❌ Avoid

  • ❌ Rainbow gradients
  • ❌ Heavy drop shadows
  • ❌ 3D perspective effects
  • ❌ Glowing effects
  • ❌ Decorative clip-art icons
  • ❌ Slide-deck styling that feels flashy rather than paper-ready

✓ Ideal effect

  • Looks intentional, professional, and immediately readable
  • Has moderate visual appeal without becoming decorative
  • Feels appropriate for a top-tier conference paper figure
  • Survives PDF scaling and grayscale printing

What to AVOID (CRITICAL)

  • ❌ Thin, hairline arrows
  • ❌ Unlabeled or ambiguous connections
  • ❌ Tiny unreadable text
  • ❌ Flat, boring box soup with no hierarchy
  • ❌ Over-decorated figures with shadows/glows/icons
  • ❌ Wrong arrow directions

Scope

Figure TypeQualityExamples
Architecture diagramsExcellentModel architecture, pipeline, encoder-decoder
Method illustrationsExcellentConceptual diagrams, algorithm flowcharts
Conceptual figuresGoodComparison diagrams, taxonomy trees

Not for: Statistical plots (use /paper-figure), deterministic vector topology figures (prefer /figure-spec), photo-realistic scenes

Workflow: MUST EXECUTE ALL STEPS

Step 0: Pre-flight Check

Render this checklist explicitly before starting:

📋 paper-illustration-image2 integration checklist:
   [ ] 1. python3 tools/paper_illustration_image2.py preflight --workspace <cwd> --json-out figures/ai_generated/preflight.json
   [ ] 2. Confirm preflight JSON says ok=true before rendering
   [ ] 3. Render via mcp__codex-image2__generate_start + generate_status
   [ ] 4. Finalize via python3 tools/paper_illustration_image2.py finalize --workspace <cwd> --best-image <best_png>
   [ ] 5. Verify artifacts via python3 tools/paper_illustration_image2.py verify --workspace <cwd> --json-out figures/ai_generated/verify.json
  1. Create figures/ai_generated/ if it does not exist.
  2. Confirm the request is suitable for a raster illustration:

- architecture diagram - conceptual method figure - workflow illustration

  1. Prefer English figure text unless the user asked otherwise.
  2. Run:
python3 tools/paper_illustration_image2.py preflight \
  --workspace <cwd> \
  --json-out figures/ai_generated/preflight.json
  1. If preflight is not ok=true, stop and say so clearly.

Step 1: Claude Plans the Figure

Turn the user request into a fully specified image prompt. Include:

  • figure type
  • exact modules / stages
  • flow direction
  • labels to show
  • data-flow arrows
  • style constraints
  • what to avoid

When the input is a method note or a paper section, summarize it first into a clean figure brief before writing the final image prompt.

Step 2: Layout Optimization

This step is required. Before rendering, refine the prompt into a concrete layout plan:

  • exact module order
  • spacing and grouping
  • relative module prominence
  • arrow routing and likely collision points

If mcp__codex__codex is available, you may ask it for a short second-opinion layout critique here, but Claude should still complete this step even without Codex.

Use Codex layout critique for:

  • missing components
  • confusing layout
  • weak flow hierarchy
  • likely arrow-direction ambiguity or clutter

Step 3: Style Verification

This step is also required. Check the prompt against the intended paper style before rendering:

  • palette is restrained and academic
  • arrows are thick, dark, and readable
  • labels are concise and in English unless requested otherwise
  • the figure will read clearly in grayscale / print
  • no glow, rainbow gradient, or slide-deck decoration slips in

If mcp__codex__codex is available, you may ask it for a short text-only style audit, but do not block on it.

Step 4: Generate Through the Bridge

Call mcp__codex-image2__generate_start with:

  • prompt: the final image prompt
  • cwd: current project root or paper workspace
  • outputPath: figures/ai_generated/figure_v1.png
  • system: a short instruction like Academic paper figure. Prefer crisp English labels.
  • timeoutSeconds: a bounded render timeout such as 180

Then call mcp__codex-image2__generate_status with bounded waits until:

  • done=true and status=completed, or
  • done=true and status=failed

If generation fails, report the bridge error directly instead of hiding it.

Step 5: Review the Output

Review the generated image with a strict checklist:

  • are all major components present?
  • is the logical flow obvious?
  • are labels readable?
  • do arrows point the right way?
  • does the figure look paper-ready rather than like a slide?

Score it from 1-10.

Step 6: Refine if Needed

If score < 9, write a targeted refinement prompt:

  • say exactly what was wrong
  • say what to preserve
  • regenerate to figure_v2.png, figure_v3.png, etc.

Keep refinement feedback concrete:

  • Increase spacing between genome scan and scoring modules
  • Make the off-target branch thinner and secondary
  • Use cleaner English labels: "Candidate sgRNA library", not "sgRNA library 23 bp"

Step 7: Finalize And Verify

When accepted:

  • run the canonical helper to promote the best image to figure_final.png
  • let the helper write latex_include.tex
  • let the helper write review_log.json
  • run helper verification before claiming success
python3 tools/paper_illustration_image2.py finalize \
  --workspace <cwd> \
  --best-image figures/ai_generated/figure_vN.png \
  --score 9 \
  --review-summary "Accepted after strict review; labels and arrows are paper-ready."

python3 tools/paper_illustration_image2.py verify \
  --workspace <cwd> \
  --json-out figures/ai_generated/verify.json

Suggested LaTeX:

\begin{figure*}[t]
    \centering
    \includegraphics[width=0.95\textwidth]{figures/ai_generated/figure_final.png}
    \caption{[Replace with a paper-ready caption].}
    \label{fig:[replace-me]}
\end{figure*}

Key Rules

  1. Never skip Step 2 or Step 3; layout and style checks are required.
  2. Never skip the final visual review.
  3. Never accept a figure that is logically wrong just because it looks attractive.
  4. Use the codex-image2 bridge only for native image generation.
  5. If the bridge says native image generation is unavailable, surface that honestly.
  6. Reject any shell/Python/manual bitmap fallback masquerading as image generation.
  7. Keep figure text in English unless the user requested another language.
  8. Prefer 1-3 strong refinement rounds over many shallow ones.
  9. Use specific, actionable refinement feedback instead of vague comments.
  10. Review arrow direction, label clarity, and visual hierarchy every round.
  11. Accept only figures that look paper-ready, not slide-ready.
  12. Always use tools/paper_illustration_image2.py finalize to emit the final artifacts.
  13. Always use tools/paper_illustration_image2.py verify before claiming success.

Repair Path

If rendering succeeded but final artifacts were skipped, repair the integration explicitly:

python3 tools/paper_illustration_image2.py finalize \
  --workspace <cwd> \
  --best-image figures/ai_generated/figure_vN.png

python3 tools/paper_illustration_image2.py verify \
  --workspace <cwd> \
  --json-out figures/ai_generated/verify.json

Output Structure

figures/ai_generated/
├── preflight.json         # Helper preflight receipt
├── figure_v1.png          # Iteration 1
├── figure_v2.png          # Iteration 2
├── figure_v3.png          # Iteration 3
├── figure_final.png       # Accepted version (copy of best, score ≥ 9)
├── latex_include.tex      # LaTeX snippet
├── review_log.json        # Review notes and refinement history
└── verify.json            # Helper verification diagnostic

Model Summary

StageAgent / ToolPurpose
Step 0python3 tools/paper_illustration_image2.py preflightObservable activation predicate and preflight receipt
Step 1ClaudeParse request and create the initial figure prompt
Step 2Claude (+ optional Codex critique)Refine layout, grouping, spacing, and arrow routing
Step 3Claude (+ optional Codex critique)Verify academic visual style before rendering
Step 4mcp__codex-image2__generate_start + generate_statusNative raster image generation through Codex app-server
Step 5ClaudeStrict visual review and scoring
Step 7python3 tools/paper_illustration_image2.py finalize + verifyEmit canonical artifacts and external verification receipt

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.93%
按下载量换算25

Claude

30.26%
按下载量换算22

Cursor

20.65%
按下载量换算15

Gemini CLI

10.37%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/wanshuiyin/auto-claude-code-research-in-sleep --skill paper-illustration-image2 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills