paper-figure-archi

Create an image-generation prompt for an academic algorithm architecture figure, show the prompt to the user, and then generate a grid reference image using the same prompt. Intended for drawing method/framework/architecture diagrams from paper notes or existing code, with a default concise Transformer-style visual language, especially for deep learning papers.

Last repository push
GitHub Stars
184
Forks
9
Issues / PRs
0

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "paper-figure-archi" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b3197daf2173cce1cd9dc59ae91e70e63c842d182e12fdd636f21f702750725d. Verify the upstream source and version against https://github.com/moonlarry/codex-paper-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Create an image-generation prompt for an academic algorithm architecture figure, show the prompt to the user, and then generate a grid reference image using the same prompt. Intended for drawing method/framework/architecture diagrams from paper notes or existing code, with a default concise Transformer-style visual language, especially for deep learning papers.

0 Downloads

Introduction source: third_party · moonlarry · 0.0.1 Reference

SkillPi interpretation

Tasks
Generate an image-generation prompt, show that prompt to the user, and then directly use the same prompt to generate a raster reference image for an academic algorithm architecture figure from paper notes or existing code. Use when the user wants a paper method/framework/architecture diagram reference, especially for deep learning papers where the default visual language should follow a clean Transformer-style architecture.
Inputs and outputs
Accept any of the following: Existing code implementing the method, such as model classes, modules, configs, training scripts, inference scripts, or pipeline code. Paper notes, method section draft, `PAPER_PLAN.md`, `NARRATIVE_REPORT.md`, or a short method description. A user-provided list of modules, data flow, losses, inputs, outputs, and intended figure emphasis. If code is available, inspect it before inventing structure. Prefer evidence from filenames, class names, forward passes, config keys, loss definitions, and training/inference entry points.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: paper-figure-archi
description: Generate an image-generation prompt, show that prompt to the user, and then directly use the same prompt to generate a raster reference image for an academic algorithm architecture figure from paper notes or existing code. Use when the user wants a paper method/framework/architecture diagram reference, especially for deep learning papers where the default visual language should follow a clean Transformer-style architecture.

Paper Figure Archi

Overview

Use this skill to create a reference image for a paper architecture figure. The output is not the final submission-ready vector figure; it is a visual guide for later drawing in TikZ, Figma, PowerPoint, draw.io, Illustrator, or another editable tool.

The workflow has three required stages:

  1. Produce a clear image-generation prompt from the paper framework.
  2. Show the full prompt to the user so it remains visible for later revision.
  3. Immediately use the same prompt with the imagegen skill to generate the reference image.

Inputs

Accept any of the following:

  • Existing code implementing the method, such as model classes, modules, configs, training scripts, inference scripts, or pipeline code.
  • Paper notes, method section draft, PAPER_PLAN.md, NARRATIVE_REPORT.md, or a short method description.
  • A user-provided list of modules, data flow, losses, inputs, outputs, and intended figure emphasis.

If code is available, inspect it before inventing structure. Prefer evidence from filenames, class names, forward passes, config keys, loss definitions, and training/inference entry points.

Default Visual Style

For deep learning papers, default to a clean Transformer-style architecture diagram:

  • left-to-right or top-to-bottom data flow,
  • stacked encoder/decoder blocks when appropriate,
  • attention, MLP, normalization, residual, fusion, and prediction heads shown as modular blocks,
  • minimal labels, no dense paragraphs inside boxes,
  • academic palette with white background, thin lines, soft muted colors, and high contrast,
  • no decorative 3D, no photorealism, no mascot-like or marketing visuals.

For non-deep-learning algorithms, keep the same academic clarity but adapt the visual metaphor to the actual pipeline, graph, optimization loop, system flow, or theorem/algorithm structure.

Workflow

Step 1: Extract the Method Skeleton

Identify the smallest faithful architecture:

  1. Inputs and outputs.
  2. Main modules and their order.
  3. Repeated blocks or stages.
  4. Cross-connections, skip connections, memory banks, retrieval, fusion, or feedback loops.
  5. Training-only elements such as losses, pseudo-labeling, distillation, contrastive objectives, or auxiliary heads.
  6. Inference path versus training path if they differ.
  7. What the figure should emphasize: novelty, data flow, efficiency, multimodal fusion, robustness, or theoretical mechanism.

Do not include implementation details that are not part of the paper claim.

Step 2: Draft the Prompt First

Before image generation, write a prompt under this structure:

Image-generation prompt for paper architecture reference:

Goal:
[one sentence describing the method and what the figure must communicate]

Canvas:
[single wide architecture figure / two-row training-inference figure / pipeline diagram / block diagram]

Architecture:
[ordered modules and data flow]

Deep-learning style:
[Transformer-style defaults, or explicitly say why another style fits better]

Labels:
[short labels only; list exact labels if important]

Visual constraints:
[white background, vector-like, clean academic diagram, no tiny text, no photorealism, no decoration]

Avoid:
[misleading modules, extra claims, unreadable text, decorative elements]

Show this prompt to the user before image generation. The displayed prompt is the editable source of truth for later revision requests.

Prompt visibility rule:

  • Always display the exact prompt that will be sent to image generation.
  • Do not wait for confirmation after showing the prompt; proceed directly to image generation.
  • If the user later asks for changes, revise the visible prompt first, show the revised prompt, and then generate a new image from that revised prompt.

Step 3: Generate the Reference Image

Use the imagegen skill immediately after displaying the prompt.

Generation guidance:

  • Use the built-in image generation path by default.
  • Ask for a raster reference image, not a final publication vector.
  • Prefer a wide aspect ratio suitable for a paper figure.
  • Ask for diagram-like rendering with crisp blocks and arrows.
  • Keep text sparse because generated text may be imperfect.
  • If labels are critical, request placeholder-like short labels and plan to redraw them manually later.
  • Save project-bound output under paper/figures/ or figures/ with a descriptive filename such as architecture_reference.png.

Step 4: Handoff for Later Edits

Before generation, make sure the user has already seen:

  • The exact prompt used for the image.
  • A short mapping from visual blocks to actual code/paper modules when useful.
  • Any uncertainty or missing code evidence that should be corrected before drawing the final vector figure.

This lets the user revise the prompt directly if the generated image is unsatisfactory.

Output Rules

  • Never fabricate modules just to make the diagram look fuller.
  • Keep the generated image visually useful for human redrawing, not overloaded with text.
  • Mark training-only and inference-only paths when relevant.
  • For Transformer-like methods, preserve the recognizability of attention-block structure without copying any specific published figure.
  • If code and paper notes disagree, surface the mismatch before generating the prompt.

Version history

  1. v0.5 GitHub ↗
  2. v0.4.3 GitHub ↗
    Original release notes

    1. Mandates at least two direct sub-proxies under the root proxy; non-recursive; single-writer model. 2. Introduces strict routing requirements for Sol, Terra, and Luna, along with disclosure rules for cases where routing cannot be specified at runtime. 3. Removes conflicting clauses regarding legacy dual-proxy setups, simulated roles, and fixed concurrency limits.

  3. v0.4.2 GitHub ↗
    Original release notes

    Add native multi-source support to paper-style-calibration skill. Multi-source mode allows aggregating style patterns from 2-5 reference papers, automatically extracting common patterns and filtering source-specific content

  4. v0.4.1 GitHub ↗
    Original release notes

    Redesign paper-style-calibration with simplified user interface and fixed execution model

  5. v0.4 GitHub ↗
    Original release notes

    Add paper-style-calibration skill and enhance paper-polish-human with external style guide support. paper-style-calibration (NEW): - Calibrate writing style based on external samples (user's papers, reference papers, style descriptions) - Support 4 input formats: TeX > Markdown > Word > PDF (prefer editable formats) - Source kind: own (full extraction) vs reference (stats only, strictest guardrails) - Default safety: unspecified source_kind treated as reference (most restrictive) - De-identification rules: replace method/dataset/metric/value/benchmark with placeholders - Comprehensive guardrails: content/expression/structural/context-level prohibitions - Plagiarism prevention: 7+ word N-gram check, structural similarity check paper-polish-human (ENHANCED): - Add external style guide reading capability - Check for psmfiles/STYLE_GUIDE.md with safe_for_paper_polish_human flag - Apply humanization within style guide constraints - Keep Manuscript-Local Voice Calibration as fallback when no external guide

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value88/100

Highlights

  • 面向学术论文写作中的高频刚需场景,显著提升架构图绘制效率
  • 支持从代码或笔记自动生成参考图像,实用性强
Trigger Precision85/100

Highlights

  • 触发描述清晰,覆盖深度学习论文架构图生成等典型场景
  • 边界明确,不易与其他绘图类 Skill 混淆
Structure and Standards92/100

Highlights

  • 文档结构完整,四步工作流清晰,含详细约束与示例
  • frontmatter 规范,输出规则明确,便于用户理解执行
Execution Reliability88/100

Highlights

  • 工具调用路径明确(imagegen),参数合理
  • 流程包含异常处理意识,输出用途界定清晰(参考图非终稿)
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.