ai-full-figure
Installation
SKILL.md
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.