tikz-figure-builder
Skill4 starsChanged 7 months agoMITView on GitHub
Create or refine TikZ figures for technical papers and slides. Use when Codex needs to add a new diagram, improve an existing figure, align a visual with manuscript notation, or iteratively compile and visually read the rendered output until the figure is correct and readable.
In this repository8 other files it gives its agents.
- inline-paper-criticSkill
- literature-searchSkill
- manuscript-reviewSkill
- mathematical-enhancerSkill
- math-ocrSkill
- scientific-presenterSkill
- scientific-simplifierSkill
- writing-commenterSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill for architecture diagrams, workflows, commutative diagrams, tensor-network sketches, algorithm schematics, annotated plots, …
- Distinctive: line 14
Read the surrounding manuscript or slide context before drawing.
- Distinctive: line 16
Prefer reusable styles and compact structure over copy-pasted node formatting.
- Distinctive: line 20
Keep captions and in-text references synchronized with the final figure.
- Distinctive: line 27
Avoid duplicated style definitions across multiple figures when a shared style can live in the preamble or a common file.
- Distinctive: line 28
Do not stop at source edits alone when a build is possible.
- Distinctive: line 29
Ensure the figure integrates cleanly into the surrounding text and layout.
≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
TikZ Figure Builder
When to use this skill
Use this skill for architecture diagrams, workflows, commutative diagrams, tensor-network sketches, algorithm schematics, annotated plots, and figure cleanups where the final output should be TikZ or closely integrated with LaTeX.
Workflow
- Read the surrounding manuscript or slide context before drawing. Match the figure to the notation, vocabulary, and mathematical meaning already in use.
- Decide what the figure must communicate. Reduce the diagram to the essential objects, relationships, flow, or geometry.
- Prefer reusable styles and compact structure over copy-pasted node formatting.
- Compile every substantial TikZ change and visually read the rendered image or PDF, not just the source code. Treat this as an automatic loop: edit, build, read, fix, and rebuild until the figure is stable.
- Fix clipping, crowding, label collisions, uneven spacing, unreadable labels, and style drift immediately instead of deferring them.
- For mathematically meaningful diagrams, verify that topology, arrow direction, labels, and adjacency actually match the equations or constructions they represent.
- Keep captions and in-text references synchronized with the final figure.
Quality Bar
- A pretty but mathematically wrong diagram is a failure.
- Labels must be legible and consistent with manuscript notation.
- Spacing should make structure obvious without decorative clutter.
- Avoid duplicated style definitions across multiple figures when a shared style can live in the preamble or a common file.
- Do not stop at source edits alone when a build is possible; the default is to compile, visually read the rendered result, and refine until it is clean.
- Ensure the figure integrates cleanly into the surrounding text and layout.
For dense or math-sensitive figures, use references/figure-checklist.md to run a stricter pass over layout, consistency, and rendered correctness.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

