ai-full-figure
БесплатноЗапускает вложенные скриптыНе проверенUse this skill when the user asks to "generate an AI figure", "make an AI-generated figure", "make a poster figure", "make a presentation figure", "generate a…
Об этом скилле
AI Full Figure
Generate single panels or whole multi-panel figures with the image model (gpt-image-2 through the Codex CLI, or the OpenAI Images API when a key exists),
with the titles, panel letters, and short labels rendered by the model at large size,
then run figures:figure-qa and iterate until the figure ships.
The output is an opaque PNG per panel plus a composed SVG, PDF, and PNG when more than one panel is built.
Sister skills are invoked by their fully qualified figures:<skill> names through the host's skill-invocation mechanism. Keep host-specific command or tool syntax in the host adapter, not in shared skill instructions.
The workflow
- Bible first. A project keeps one
figures/theme.json. If it does not exist, invokefigures:figure-biblebefore generating anything. The theme supplies the palette, typography, style and negative tokens, the text limits, and the Codex model settings. - Generate. One panel with
generate_figure.py, or a whole figure withbuild_figure.pyand a spec file. Text that the model should render is passed as verbatim items with a role and a placement. - QA. Invoke
figures:figure-qaon every candidate, passing the expected verbatim strings, the theme path, and the journal. The report ends with a JSON block whosestatusandfindings[].actiondrive the next step. - Iterate. Follow the iterate-loop reference shipped with
figures:figure-qa(iterate-loop.md): N candidates in parallel, QA in one parallel dispatch, pick the best, apply one targeted change, re-QA, stop atshipor after three iterations.
When to use this skill
Reach for ai-full-figure when the figure's picture is the point: a headset on a head, a microscope, an anatomical scene, a schematic scene for a poster or a talk, or a graphical-abstract panel.
Route elsewhere when the figure is information-dense:
| Figure type | Skill |
|---|---|
| Data plot with axes and numerals | figures:plot-styling, then figures:scientific-figure to compose |
| Boxes, arrows, and process flow with many labels | figures:svg-primitives |
| Flat icon to drop into another figure | figures:transparent-icons |
| Composing panels that already exist | figures:scientific-figure |
The text ladder
The model renders text well when the prompt is explicit, so text is placed by a ladder, not banned.
- Model-rendered text: panel letters, titles, and short labels.
Labels are capped at
theme.text.max_words_per_labelwords (default 4) and titles at 8; titles and panel letters default to the theme headline size (large). - SVG overlay (
overlay_labels.py): dense labels, leader-line annotations, scale bars, and any string that must stay editable. - Vector or plot skills: numerals with units, equations, axis ticks, and anything the reader must read exactly.
The generator refuses items that break the ladder and says which rung they belong to.
Details and prompt patterns live in references/prompt-patterns.md.
Prerequisites
- Codex CLI logged in (
codex login status), no API key needed. The backend runs a 10 second preflight; ifcodex --versionhangs, the error message gives the two remedies (approve the binary once from Terminal.app, or copycodexandcodex-code-mode-hostto a folder you own, runxattr -con both, and setCODEX_BIN). Never disable the Codex code-mode host:image_genis only reachable through it. - Or
OPENAI_API_KEYfor the API path (--backend api). uvfor Python, with--with pillowfor the generators;--with svgutils --with cairosvgfor composition.
Model defaults come from the theme's model_preferences: gpt-6-luna at xhigh effort with image quality high, which lands good figures at the cheapest tier.
Expect one to three minutes per image; panels run in parallel.
Usage
One panel or a whole figure in one image
uv run --with pillow python scripts/generate_figure.py \
"a simplified EEG headset drawn as a head silhouette in profile with four electrodes" \
--out figures/fig1/panel_a.png --theme figures/theme.json --size 1024x1024 \
--text "panel-letter:top-left:a" --text "title:bottom-center:EEG recording"
Flags: --size is auto or WIDTHxHEIGHT (edges in multiples of 16, up to 3840 px, aspect up to 3:1);
--quality low|medium|high|auto; --background opaque|transparent; --n candidates;
--ref image.png (repeatable) for style or consistency conditioning; --backend auto|codex|api|fake;
--model and --effort override the theme; --print-prompt shows the prompt; --verbose prints a heartbeat.
A generation log is written next to the output as <out>.codex.log.
Exit codes: 0 success, 1 generation failure, 2 usage or text-ladder error.
Targeted edit of an existing candidate (used by the iterate loop):
uv run --with pillow python scripts/generate_figure.py --edit figures/fig1/panel_a.png \
"recolor the electrode dots to #E07A5F and keep ever
Установить ai-full-figure в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ai-full-figure?
Use this skill when the user asks to "generate an AI figure", "make an AI-generated figure", "make a poster figure", "make a presentation figure", "generate a figure with AI", "generate figure panels with Codex", "make a multi-panel AI figure", "AI background for a figure", or wants a pictorial figure or panel (brain scene, apparatus, anatomy, pipeline illustration) rendered by gpt-image-2 through the Codex CLI with large verbatim titles and panel letters, then QA'd and iterated until it passes. Expects a theme from figures:figure-bible. Data plots, axes, numerals, and equations go to figures:plot-styling or figures:svg-primitives instead.
Как установить скилл ai-full-figure?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ai-full-figure запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic