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.
npx agentmods add agents/abilityai/cornelius/diagram-generatorgit clone --depth 1 https://github.com/Abilityai/corneliusWrote 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.svg" alt="Measured on agentmods" 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 | $0.00041 | $0.03073 |
| Opus 5 | $0.00020 | $0.01537 |
| Sonnet 5 | $0.00008 | $0.00615 |
| Haiku 4.5 | $0.00004 | $0.00307 |
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 4d 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, 10 lines differ
How it starts
The opening of the file, as written. The whole thing — 405 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.
- 4d ago First seen · 405 lines · 41 tokens per session scan A b2194c388f7b
diagram-generator is an agent published in the GitHub repository Abilityai/cornelius (105 stars, last pushed 11d ago), licensed MIT. It adds 41 tokens to every session and 3,073 once invoked, about $0.0002 per session on Opus 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.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.