creating-figures

creating-figures is a skill for Claude Code, Codex from ai4paper/apaper-plugin. It costs 86 tokens per session (2,282 once invoked), scanned A, original, MIT.

A skill for creating print-friendly scientific figures in LaTeX or Typst academic papers. It uses TikZ for LaTeX and CeTZ for Typst, which are systems for drawing figures in those formats.

In plain words
What is it for?
Use it for block diagrams, system architectures, flowcharts, and other figures for papers or theses.
Why use it?
It prevents using the wrong drawing format for the paper and provides a consistent process for making technical illustrations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for block diagrams, system architectures, flowcharts, and other figures for papers or theses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ai4paper/apaper-plugin/creating-figures
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ai4paper/apaper-plugin --skill creating-figures
Clone the repo
git clone --depth 1 https://github.com/ai4paper/apaper-plugin

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for creating-figures

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai4paper/apaper-plugin/creating-figures/github.svg)](https://agentmods.dev/skills/ai4paper/apaper-plugin/creating-figures)
Your own site
<a href="https://agentmods.dev/skills/ai4paper/apaper-plugin/creating-figures"><img src="https://agentmods.dev/badge/skills/ai4paper/apaper-plugin/creating-figures/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for creating-figures

Your own site · 80×15
<a href="https://agentmods.dev/skills/ai4paper/apaper-plugin/creating-figures"><img src="https://agentmods.dev/badge/skills/ai4paper/apaper-plugin/creating-figures.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,282 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00086 $0.02282
Opus 5.5 $0.00034 $0.00913
Sonnet 5.5 $0.00017 $0.00456
Haiku 4.5 $0.00009 $0.00228

Measured 1mo ago against content hash f0957a12cccf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

creating-figures scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/creating-figures/SKILL.md · 185 lines

How it starts

The opening of the file, as written. The whole thing — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Creating Scientific Figures

Create compact, print-friendly figures for academic papers. Two backends are supported, and the choice is determined by the host paper's file type — not by preference:

Host paper Backend
LaTeX (.tex, \documentclass{...}) TikZ — see TIKZ.md
Typst (.typ) CeTZ — see TYPST.md

Detection rule

Before generating any figure, identify the host paper:

  1. Look at the working directory (or the path the user gave you) for the main paper source.
  2. If it ends in .tex (or you find \documentclass / \begin{document} anywhere in the project), produce a TikZ figure.
  3. If it ends in .typ (or you find #set page / #import "@preview/..." anywhere in the project), produce a CeTZ figure.
  4. If both exist, default to whichever the user is currently editing or pointed you at.
  5. Only ask the user if neither extension is present in the working tree.

Never mix backends: a TikZ figure cannot be included in a Typst paper (and vice versa) without first compiling to a standalone PDF/SVG.

Quick Start

LaTeX/TikZ

Minimal block diagram:

% 10pt = the host paper's base font size — copy it from the paper, don't pick your
% own. (Sizes other than 10/11/12pt are silently dropped by article; use
% class=<paperclass> instead — see TIKZ.md, Standalone Compilation.)
\documentclass[tikz,border=2mm,10pt]{standalone}
\usetikzlibrary{arrows.meta,positioning}
\begin{document}
\begin{tikzpicture}[
  block/.style={rectangle, draw, fill=gray!15, minimum width=2cm, minimum height=0.8cm, font=\sffamily},
  arrow/.style={->, >=Stealth, thick}
]
  \node[block] (a) {Input};
  \node[block, right=of a] (b) {Process};
  \node[block, right=of b] (c) {Output};
  \draw[arrow] (a) -- (b);
  \draw[arrow] (b) -- (c);
\end{tikzpicture}
\end{document}

Read the full file on GitHub · 185 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 185 lines · 86 tokens per session scan A f0957a12cccf

Subscribe to this mod's changes

creating-figures is a skill published in the GitHub repository ai4paper/apaper-plugin (4 stars, last pushed today), licensed MIT. It adds 86 tokens to every session and 2,282 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

latex-posters

Use when creating or revising LaTeX research posters with beamerposter, tikzposter, or baposter, including poster layout, typography, color, print sizing, figure placement, QR codes, compilation, and print-ready PDF checks.

foryourhealth111-pixel/Vibe-Skills · 53 tokens

figure-planner

Use when designing, restructuring, or auditing manuscript figures and you need to define one main claim per figure, assign panel roles, align legends with the text, or decide what belongs in main figures versus supplement.

Boom5426/Nature-Paper-Skills · 45 tokens

drawio-academic-skills

Publication-figure overlay for draw.io. Use instead of drawio whenever the diagram is for a paper, thesis, dissertation, journal, conference, IEEE/ACM submission, manuscript, camera-ready, Word/LaTeX figure, or other publication. Applies venue, figure-type, color, caption/legend, formula, and paper-readability gates…

bahayonghang/drawio-skills · 93 tokens

figure-drawing

A workflow for making editable draw.io diagrams for research papers, technical systems, concepts, processes, and data.

Azzygoatcoder/agent-useful-skills · 46 tokens

figure-composer

Compose one publication-grade multi-panel figure. Entry from a one-line claim + data refs, OR from an existing figure via deriveoutlinetask(png). Runs a per-figure loop: outline (12-col grid, per-panel ask + labelbudget) → fan-out one subagent per panel (each loads figure-style) → tile + stamp letters → adversarial…

emaballarin/ccplugins · 159 tokens

ui-first-principles

A method for deciding which information and actions should appear first in a user interface or information architecture.

sd0xdev/sd0x-harness · 113 tokens