diagram-intelligence

diagram-intelligence is a skill for Claude Code from jessepike/diagram-forge. It costs 80 tokens per session (595 once invoked), scanned A, original, MIT.

A skill that recognizes requests for diagrams or system visualizations and sends them to diagram-generation tools. It infers the diagram type from the request.

In plain words
What is it for?
Use it to generate architecture, data-flow, sequence, component, integration, and infographic diagrams with clear labels and layouts.
Why use it?
It removes the need to choose a diagram format manually and helps turn a broad visual request into a structured generation prompt.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the diagram-forge plugin — 1 skill, 4 commands, 1 agent shipped together

Good fit Use it to generate architecture, data-flow, sequence, component, integration, and infographic diagrams with clear labels and layouts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jessepike/diagram-forge/diagram-intelligence
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 jessepike/diagram-forge --skill diagram-intelligence
Clone the repo
git clone --depth 1 https://github.com/jessepike/diagram-forge

Made for: Claude Code.

Or install diagram-forge, the plugin that ships this one along with the rest of its 1 skill, 4 commands, 1 agent.

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 diagram-intelligence

README.md
[![agentmods](https://agentmods.dev/badge/skills/jessepike/diagram-forge/diagram-intelligence/github.svg)](https://agentmods.dev/skills/jessepike/diagram-forge/diagram-intelligence)
Your own site
<a href="https://agentmods.dev/skills/jessepike/diagram-forge/diagram-intelligence"><img src="https://agentmods.dev/badge/skills/jessepike/diagram-forge/diagram-intelligence/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 diagram-intelligence

Your own site · 80×15
<a href="https://agentmods.dev/skills/jessepike/diagram-forge/diagram-intelligence"><img src="https://agentmods.dev/badge/skills/jessepike/diagram-forge/diagram-intelligence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 595 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.00080 $0.00595
Opus 5.5 $0.00032 $0.00238
Sonnet 5.5 $0.00016 $0.00119
Haiku 4.5 $0.00008 $0.00060

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

Security

Grade A, and why

diagram-intelligence 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 3mo 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.

diagram-forge-plugin/skills/diagram-intelligence/SKILL.md · 63 lines

How it starts

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

Diagram Intelligence Skill

When triggered, generate the diagram immediately. Do not present a menu of options or ask what type of diagram — infer it from the user's request and go.

MCP Tools

Call these directly:

  • mcp__diagram-forge__generate_diagram — Generate a diagram from a prompt
  • mcp__diagram-forge__edit_diagram — Edit an existing diagram
  • mcp__diagram-forge__list_templates — List available templates
  • mcp__diagram-forge__list_providers — Check provider availability
  • mcp__diagram-forge__list_styles — List style references

Behavior

  1. Infer diagram type from the request. Default to architecture. Map keywords:

    • "data flow", "pipeline", "ETL" → data_flow
    • "sequence", "timeline" → sequence
    • "components", "modules" → component
    • "integration", "APIs" → integration
    • "infographic", "summary" → infographic
    • Everything else → architecture
  2. Build a detailed prompt from the user's description. Enhance it with:

    • "All text crystal clear and perfectly legible"
    • "Professional, publication-ready"
    • Explicit layout structure (layers, columns, flow direction)
    • Named components with relationships
  3. Call mcp__diagram-forge__generate_diagram with:

    • prompt: the enhanced prompt
    • diagram_type: inferred type
    • resolution: "2K"
    • aspect_ratio: "16:9"
  4. Show result: output path and cost. Offer /iterate for refinements.

Do NOT

  • Present a menu asking what kind of diagram to create
  • Ask the user to pick a template or provider
  • Ask for confirmation before generating
  • Say "what do you want to visualize?"

If the user said "create a diagram of X", you already know what X is. Generate it.

Prompt Engineering Tips

  • Be explicit about layout (top-to-bottom layers, left-to-right flow)
  • Name every element — don't say "show inputs", list each input by name
  • Specify color coding rules — colors should encode meaning
  • For architecture diagrams, organize into named layers
  • Include a legend for any color coding used

Read the full file on GitHub · 63 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. 3mo ago First seen · 63 lines · 80 tokens per session scan A 16c5ccae8fbd

Subscribe to this mod's changes

diagram-intelligence is a skill published in the GitHub repository jessepike/diagram-forge (2 stars, last pushed 3mo ago), licensed MIT. It adds 80 tokens to every session and 595 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

diagram-intelligence compared with skills from other repositories

diagram-intelligence next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
diagram-intelligencejessepike/diagram-forgeSkill23mo agoMITA80Claude Code
pr-lenscoldteadotai/pr-lensSkill2.5kyesterdayMITA96Claude Code, Codex
drawiosparklabx/drawio-ai-kitSkill6681mo agoMITA102Claude Code, Codex
excalidraw-skilliagogfe/excalidraw-icons-mcpSkill3218d agoMITA154Claude Code, Codex
ai-hive-alt-adobe-firefly-workflowwubin1836/ai-hive-agent-skillsSkill331mo agoMITA137Codex
ai-hive-alt-canva-magic-studiowubin1836/ai-hive-agent-skillsSkill331mo agoMITA139Codex
ai-hive-agency-akqa-campaignwubin1836/ai-hive-agent-skillsSkill331mo agoMITA117Codex