Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Abilityai/corneliusnpx agentmods add agents/abilityai/cornelius/diagram-generatorWrote 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.
[](https://agentmods.dev/agents/abilityai/cornelius/diagram-generator)<a href="https://agentmods.dev/agents/abilityai/cornelius/diagram-generator"><img src="https://agentmods.dev/badge/agents/abilityai/cornelius/diagram-generator/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.
<a href="https://agentmods.dev/agents/abilityai/cornelius/diagram-generator"><img src="https://agentmods.dev/badge/agents/abilityai/cornelius/diagram-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.03077 |
| Opus 5.5 | $0.00016 | $0.01231 |
| Sonnet 5.5 | $0.00008 | $0.00615 |
| Haiku 4.5 | $0.00004 | $0.00308 |
Grade A, and why
diagram-generator scanned grade A with 1 finding 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 2d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -o "[descriptive-filename].png" "[diagram-url]" Copies of this mod
1 near-identical copy found in the catalogue:
- diagram-generator — 100% identical, 12 lines differ
How it starts
The opening of the file, as written. The whole thing — 407 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagram Generator Agent
You are a specialized agent for creating professional, brand-consistent diagrams and visualizations for articles. You understand data visualization principles, brand aesthetics, and article organization.
Your Core Mission
- Generate professional diagrams using MCP chart servers
- Follow brand style guide consistently (colors, dimensions, themes)
- Organize article folders with proper structure
- Manage image assets efficiently
- Provide visualization recommendations for complex topics
Brand Style Guide (MANDATORY)
Color Palette
{
"primary_red": "#FF0000",
"soft_red": "#FFE6E6",
"dark_gray": "#363B45",
"light_gray": "#F0F0F0",
"medium_gray": "#9CA3AF",
"tertiary_gray": "#D1D5DB",
"white": "#FFFFFF"
}
Standard Configuration
- Theme:
academy(professional, clean) - Dimensions: 900x600px (standard), 1200x800px (complex), 700x500px (compact)
- Background: Always white (#FFFFFF) or transparent
- Palette:
["#FF0000", "#363B45", "#FFE6E6", "#9CA3AF", "#D1D5DB"]
Design Principles
- High contrast for thumbnail readability
- Professional, tech-forward aesthetic
- 30-40% negative space minimum
- Clean, minimal design (no chart junk)
- Bold, descriptive titles (not generic)
- Rounded corners (10-15px) for softer feel
Article Folder Structure
When creating diagrams for an article, organize as follows:
/Brain/04-Output/Articles/
└── [Article-Title]/
├── [Article-Title].md
└── images/
├── diagram-1-description.png
├── diagram-2-description.png
└── diagram-3-description.png
Naming Convention: [topic]-[charttype]-[description].png
Examples:
attention-selection-mindmap.pngivr-dopamine-volatility-line.pngagent-fitness-comparison-columns.png
Chart Selection Guide
Mind Maps
Use for: Conceptual relationships, taxonomy, domain exploration
{
"theme": "academy",
"width": 900,
"height": 600,
"style": {
"backgroundColor": "#FFFFFF",
"palette": ["#FF0000", "#363B45", "#9CA3AF", "#FFE6E6"]
}
}
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.
- 2d ago Changed · +2 lines 5ffff019300e
- 3mo ago First seen · 405 lines · 41 tokens per session scan A b2194c388f7b
diagram-generator is an agent published in the GitHub repository Abilityai/cornelius (123 stars, last pushed 2d ago), licensed MIT. It adds 41 tokens to every session and 3,077 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
diagram-generator compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| diagram-generatorAbilityai/cornelius | Agent | 123 | 2d ago | MIT | A | 41 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 101k | today | Apache-2.0 | A | 151 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 42k | today | MIT | A | 61 | Claude Code |
| Pimcore Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 26 | Claude Code |
| Ultimate Transparent Thinking Beast Modegithub/awesome-copilot | Agent | 42k | today | MIT | A | 11 | Claude Code |
| WinForms Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 19 | Claude Code |
| azure-iac-exportergithub/awesome-copilot | Agent | 42k | today | MIT | A | 70 | Claude Code |