illustrator

illustrator is an agent for Claude Code from braininahat/brains-in-a-hat. It costs 63 tokens per session (541 once invoked), scanned A, original, MIT.

An agent that creates publication-quality scientific diagrams of software or machine-learning systems. It chooses between flow diagrams and TikZ, a system for drawing precise technical figures.

In plain words
What is it for?
It helps draw architecture diagrams, data pipelines, tensor transformations, neural-network cell structures, spatial layouts, and keypoint graphs.
Why use it?
It turns a written description of a model or system into a structured figure with appropriate layout and notation.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the archer plugin — 5 skills, 2 commands, 2 agents shipped together

Good fit It helps draw architecture diagrams, data pipelines, tensor transformations, neural-network cell structures, spatial layouts, and keypoint graphs.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/braininahat/brains-in-a-hat/illustrator
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.

Clone the repo
git clone --depth 1 https://github.com/braininahat/brains-in-a-hat

Made for: Claude Code.

Or install archer, the plugin that ships this one along with the rest of its 5 skills, 2 commands, 2 agents.

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 illustrator

README.md
[![agentmods](https://agentmods.dev/badge/agents/braininahat/brains-in-a-hat/illustrator/github.svg)](https://agentmods.dev/agents/braininahat/brains-in-a-hat/illustrator)
Your own site
<a href="https://agentmods.dev/agents/braininahat/brains-in-a-hat/illustrator"><img src="https://agentmods.dev/badge/agents/braininahat/brains-in-a-hat/illustrator/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 illustrator

Your own site · 80×15
<a href="https://agentmods.dev/agents/braininahat/brains-in-a-hat/illustrator"><img src="https://agentmods.dev/badge/agents/braininahat/brains-in-a-hat/illustrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 541 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.00063 $0.00541
Opus 5 $0.00032 $0.00270
Sonnet 5 $0.00013 $0.00108
Haiku 4.5 $0.00006 $0.00054

Measured 9d ago against content hash 6d9813555d78, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

illustrator 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 9d 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.

archer/agents/illustrator.md · 42 lines

What it actually says

You are a scientific illustrator specializing in ML architecture diagrams for academic publications. You follow the visual principles of Petar Velickovic and Janosh Riebesell: mathematical precision, semantic color, minimalist clarity.

Workflow

  1. Read skills/arch-diagram/SKILL.md to load the fletcher component system and @local/diagrams API.
  2. Read skills/tikz-render/SKILL.md to load the TikZ compilation pipeline.
  3. Decide which system fits the request:

Use fletcher (arch-diagram skill) when:

  • The diagram shows data flow, pipeline stages, or module connections
  • Nodes are processing blocks (encoder, decoder, attention, CTC head)
  • Arrows represent tensor transformations with shape annotations
  • Examples: CTC pipeline, JEPA architecture, fusion diagrams

Use TikZ (tikz-render skill) when:

  • The diagram shows internal cell structure (GRU gates, LSTM cells)
  • The diagram is dimensional / shows spatial relationships
  • Precise geometric layout is required (grids, lattices, keypoint graphs)
  • The user explicitly asks for a TikZ figure
  • Examples: BiGRU internals, CTC trellis, ST-GCN keypoint graph
  1. Check skills/arch-diagram/examples/ for the closest existing example and adapt it rather than starting from scratch.
  2. Check skills/tikz-render/references/library-catalog.md and custom-architectures.md before writing TikZ from scratch.
  3. Create the .typ or .tex file in the requested output directory (default: figures/).
  4. Compile it using the appropriate script.
  5. Report the output path and any compilation errors.

Key Rules

  • Always annotate tensor shapes with #dim[(T, D)] in fletcher diagrams
  • Color encodes function, not aesthetics — use the semantic palette from references/color-system.md
  • Never rasterize: output must be PDF or SVG
  • If the user doesn't specify a format, produce SVG (embeddable in Typst and dashboards)
  • Adapt the closest example; do not write from scratch unless no example fits
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. 9d ago First seen · 42 lines · 63 tokens per session scan A 6d9813555d78

Subscribe to this mod's changes

illustrator is an agent published in the GitHub repository braininahat/brains-in-a-hat (4 stars, last pushed 2mo ago), licensed MIT. It adds 63 tokens to every session and 541 once invoked, about $0.0003 per session on Opus 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 agents, from other repositories

mythos-scene-composer

Stage 6 of the Mythos chain. Fuses the shot list and math dossier into the final executable scene spec — the complete contract for Manim code generation.

HarleyCoops/Math-To-Manim · 41 tokens

mythos-intent

Stage 1 of the Mythos chain. Distills a raw user prompt into a cinematic intent brief — audience, core claim, emotional arc, scope. Use first when turning any math/physics topic into a film.

HarleyCoops/Math-To-Manim · 50 tokens

Scientific Illustrator

BioRender-style scientific illustration expert. Generates publication-quality figures for papers using the generateimage tool. Specializes in clean vector-style diagrams, pathways, and cell structures.

aristoteleo/PantheonOS · 37 tokens

generate paper figures

Generates publication-quality figures for scientific papers using matplotlib with journal-appropriate styling (serif fonts, 300 DPI, inward ticks). Handles both data plots (bar, scatter, heatmap, line, parity) and conceptual diagrams (layered architecture, workflow pipelines, feedback loops). Outputs PNG + PDF at…

equinor/neqsim · 74 tokens

viz-orchestrator

Autonomous visualization orchestrator. Receives high-level post-processing requests and drives the harness layer: calls autopostprocess for autonomous workflows, falls back to manual tool sequences for edge cases. Use for complex multi-step visualization tasks that benefit from iterative refinement.

kimimgo/viznoir · 60 tokens

Drone/Reality Mapping Specialist

Photogrammetry and reality capture expert who processes drone imagery into orthomosaics, digital terrain models, point clouds, and 3D meshes — bridging field capture and GIS-ready products.

criptogus/agent-evolve-network · 44 tokens