Логотип Codex Paper Figure Skill

Codex Paper Figure Skill

Спільнота
pengqianhan
codex-paper-figure-skill

Create editable academic-paper figures from natural-language figure descriptions, manuscript sections, methods/results text, graphical abstract ideas, or paper-specific visual concepts. Use when Codex needs to turn scientific text into a polished journal-style diagram by first generating a raster visual reference with the image generation tool, then recreating it directly as editable draw.io/.drawio mxGraphModel XML. Also use when a user asks for research figures, paper diagrams, mechanism figures, method overview figures, model architecture figures, workflow schematics, publication-ready editable diagrams, or Flaticon/icon-assisted paper figures using Codex's built-in Browser.

Огляд

Видавецьpengqianhan
Репозиторійcodex-paper-figure-skill
Назва навичкиcodex-paper-figure-skill
Зірки
27
Форки
1
Файли в пакеті
1
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 1

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: pengqianhan. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Codex Paper Figure Skill у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/pengqianhan/codex-paper-figure-skill/tree/main/codex-paper-figure-skill
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pengqianhan/codex-paper-figure-skill.git /tmp/codex-paper-figure-skill
mkdir -p .claude/skills
cp -r /tmp/codex-paper-figure-skill/codex-paper-figure-skill .claude/skills/codex-paper-figure-skill
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Codex Paper Figure Skill в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Codex Paper Figure Skill, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Codex Paper Figure Skill не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Codex Paper Figure Skill

Overview

Transform paper text or a figure concept into a publication-style editable diagram. Use image generation to explore composition and visual style, then rebuild the figure as native draw.io XML so every label, shape, connector, and icon remains editable. This skill is self-contained: it embeds the draw.io generation rules it needs instead of depending on another local skill file.

Workflow

  1. Parse the user's text into a figure brief:

    • Scientific message: the single claim or workflow the figure should communicate.
    • Entities: molecules, cells, devices, models, datasets, modules, cohorts, assays, or variables.
    • Relationships: sequence, causality, comparison, hierarchy, feedback, input/output, or spatial organization. Convert these into a canonical dependency graph before layout: every required input, distinct branch, merge, loss, feedback path, and output gets an explicit node or edge. Trace each depicted edge back to the source; do not disconnect, collapse, reverse, or invent operations for visual convenience.
    • Required labels: paper terms, abbreviations, axes, panel letters, conditions, and units that must appear verbatim.
    • Constraints: target journal style, aspect ratio, color palette, number of panels, export format, and whether the output must be editable.
  2. Ask at most one concise clarification only when the missing detail changes the figure type or scientific meaning. Otherwise infer a sensible academic figure format from the source text.

  3. Generate a raster reference with the Codex image_gen tool:

    • Prompt for a clean academic-paper figure, not a marketing illustration.
    • Include the exact figure structure, panel layout, visual hierarchy, palette, and domain-specific objects.
    • Request simple legible labels only when needed, but treat labels in the generated image as approximate because raster text may be imperfect.
    • Use the generated image as a composition guide only; do not deliver it as the sole final figure when the user asked for editable output.
  4. Recreate the figure as draw.io:

    • Produce native .drawio mxGraphModel XML directly.
    • Use editable draw.io shapes, text, connectors, groups, and layers wherever possible.
    • Keep labels as real draw.io text, not embedded raster text.
    • If an exported PNG/SVG/PDF is requested, use the draw.io CLI export path below and embed the diagram XML where supported.
  5. Validate before finishing:

    • Check the .drawio XML is well-formed and contains the required root cells.
    • Confirm all scientific entities and relationships from the brief are represented.
    • Confirm text is editable, legible, and not overlapping.
    • Confirm arrows and panel order match the paper logic.
    • If draw.io CLI is available, export a preview and inspect it for blank canvas, clipping, and layout issues.

Figure Design Rules

  • Prefer restrained publication styling: white or very light background, 2-4 accent colors, thin strokes, consistent typography, clear grouping, and generous whitespace.
  • Prefer diagram-native compression over prose boxes: use domain-specific glyphs, compact repeated motifs, timelines, matrices, plots, or miniature examples for the scientific objects and reserve boxes for actual modules or boundaries. Keep labels to short terms or equations essential to the mechanism, make the main flow occupy the canvas evenly, and remove decorative callouts or dead whitespace that do not encode information.
  • Use panel labels A, B, C only when the figure has multiple panels.
  • Treat the supplied visual intent as an external caption, not canvas copy: omit a full figure title, subtitle, and caption unless the user explicitly requests them. Use only compact panel or stage headings needed to navigate the diagram.
  • Prefer left-to-right or top-to-bottom reading order unless the scientific process is cyclic.
  • Plan connector corridors before placing nodes. Route short orthogonal edges through whitespace, attach them to the nearest logical side, and keep every line and arrowhead outside text and node interiors; separate feedback lanes from the main flow and eliminate crossings by reordering nodes or using clearly labeled junctions.
  • Encode meaning with layout first, then color; do not rely on color alone.
  • Use colorblind-conscious palettes and avoid low-contrast text.
  • Keep visual detail low enough that the final draw.io file is easy to edit.
  • For biological figures, distinguish compartments, cells, molecules, and phenotypes with shape language and labels.
  • For AI/model figures, distinguish data, model blocks, training/inference paths, losses, outputs, and evaluation with consistent containers and arrows.
  • For workflow figures, use numbered steps or stage headings only when they improve scanability.

Draw.io Generation Rules

  • Always create a native .drawio file in mxGraphModel XML. Do not use Mermaid or CSV as the final editable format.
  • Every diagram must include root cells:
xml
<mxGraphModel adaptiveColors="auto">
  <root>
    <mxCell id="0"/>
    <mxCell id="1" parent="0"/>
  </root>
</mxGraphModel>
  • Add all normal diagram elements with parent="1" unless deliberately using multiple layers.
  • Use unique id values for every mxCell.
  • Escape special characters in XML attributes: &amp;, &lt;, &gt;, and &quot;.
  • Do not include XML comments in generated .drawio files.
  • Edges must contain a child geometry element such as <mxGeometry relative="1" as="geometry"/>.
  • Use descriptive lowercase hyphenated filenames, for example cell-state-pipeline.drawio.
  • If the user requests PNG, SVG, or PDF, first create the .drawio file, then export with draw.io CLI using embedded diagram XML when available.
  • If draw.io CLI is not installed or cannot be found, keep the .drawio file and clearly report that export was skipped.

Common draw.io CLI locations:

  • Windows: C:\Program Files\draw.io\draw.io.exe
  • macOS: /Applications/draw.io.app/Contents/MacOS/draw.io
  • Linux: drawio on PATH

Export command pattern:

bash
drawio -x -f <png|svg|pdf> -e -b 10 -o <output> <input.drawio>

Icon Workflow

Use icons only when they improve recognition or reduce clutter. If icons are needed, use Codex's built-in Browser plugin as the default Flaticon workflow so users do not need extra tools.

  1. Use Browser to open https://www.flaticon.com/ and search the exact concept plus a style term such as line, outline, filled, flat, or science.
  2. Inspect candidate results in the browser. Prefer free, non-premium icons from one style family or author so the figure feels coherent.
  3. Open the icon detail page and extract:
    • Icon page URL.
    • Icon title or concept.
    • Designer/author.
    • License and attribution requirement visible on the page.
    • Download URL or CDN image URL, if available.
  4. Download the icon only after the license and attribution requirement are clear:
    • Prefer SVG/vector when available and permitted.
    • Use the browser download flow when the current Browser runtime can save the file.
    • If Browser can verify the icon page but cannot directly save the download, extract the official image/CDN URL and download it locally with a normal HTTP request.
    • Save project-bound icon files under the current figure output folder, preferably icons/, with descriptive lowercase filenames.
  5. Avoid premium, locked, login-required, or unclear-license icons. If licensing is not usable or the icon cannot be downloaded reliably, create a simple editable draw.io shape instead.
  6. In draw.io, keep each icon as a distinct movable image element. Do not flatten icons into a background image.
  7. Record icon source URLs, author, and attribution/license notes in the final response and any README/example output that uses external icons.

Output Contract

Deliver the editable .drawio file unless the user asks for another format. When helpful, also provide:

  • The generated raster reference image path.
  • An exported preview path such as .drawio.png or .drawio.svg.
  • A short note listing assumptions, icon sources, and any unresolved fidelity limits.

Never present a raster-only image as complete when the user requested an editable academic figure.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Codex Paper Figure Skill?

Create editable academic-paper figures from natural-language figure descriptions, manuscript sections, methods/results text, graphical abstract ideas, or paper-specific visual concepts. Use when Codex needs to turn scientific text into a polished journal-style diagram by first generating a raster visual reference with the image generation tool, then recreating it directly as editable draw.io/.drawio mxGraphModel XML. Also use when a user asks for research figures, paper diagrams, mechanism figures, method overview figures, model architecture figures, workflow schematics, publication-ready e...

Навіщо використовувати Codex Paper Figure Skill у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Codex Paper Figure Skill — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Codex Paper Figure Skill у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/pengqianhan/codex-paper-figure-skill/tree/main/codex-paper-figure-skill. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Codex Paper Figure Skill?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Codex Paper Figure Skill?

Зі скількома забажаєте. У TypingMind ви можете використовувати Codex Paper Figure Skill із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Codex Paper Figure Skill?

Так. На GitHub цю навичку публікує pengqianhan за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇