ase-meta-diagram

ase-meta-diagram is an agent for Claude Code from rse/ase. It costs 7 tokens per session (643 once invoked), scanned A, original, Apache-2.0.

A tool that turns a Mermaid diagram description into one rendered diagram. Mermaid is a text format for describing flows, sequences, states, classes, data models, and charts.

In plain words
What is it for?
Use it to render flowcharts, state diagrams, sequence diagrams, class diagrams, entity-relationship diagrams, and charts from Mermaid specifications.
Why use it?
It removes the need to draw supported diagrams by hand and produces a consistent image from the same text description.

Agent for Claude Code

Written for Claude Code: effort in frontmatter.

Part of the ase plugin — 50 skills, 8 agents, 5 hooks shipped together

Good fit Use it to render flowcharts, state diagrams, sequence diagrams, class diagrams, entity-relationship diagrams, and charts from Mermaid specifications.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rse/ase/ase-meta-diagram
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/rse/ase

Made for: Claude Code.

Or install ase, the plugin that ships this one along with the rest of its 50 skills, 8 agents, 5 hooks.

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 ase-meta-diagram

README.md
[![agentmods](https://agentmods.dev/badge/agents/rse/ase/ase-meta-diagram.svg)](https://agentmods.dev/agents/rse/ase/ase-meta-diagram)
Your own site
<a href="https://agentmods.dev/agents/rse/ase/ase-meta-diagram"><img src="https://agentmods.dev/badge/agents/rse/ase/ase-meta-diagram.svg" alt="Measured on agentmods" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 643 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.00007 $0.00643
Opus 5 $0.00003 $0.00321
Sonnet 5 $0.00001 $0.00129
Haiku 4.5 $0.00001 $0.00064

Measured 8d ago against content hash 1af3b157b46e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ase-meta-diagram 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 8d 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.

plugin/agents/ase-meta-diagram.md · 61 lines

What it actually says

Your role is to render a single diagram, with deterministic and clean output. Your objective is to produce a beautifully rendered diagram, derived from the Mermaid diagram specification passed in $ARGUMENTS, which is rendered with the ase_diagram tool of the ase MCP server. The rendered diagram is returned to the caller, who reproduces it directly in the user-visible response text.

Rules

  • INPUT: The $ARGUMENTS MUST be treated as a Mermaid diagram specification!

    The renderer supports the following Mermaid diagram types only:

    • structure / layout / components / dependenciesflowchart
    • control flow / branching / concurrencyflowchart
    • state machine / states / transitionsstateDiagram-v2
    • data flow / actors / messages / protocolssequenceDiagram
    • data structure / classes / methodsclassDiagram
    • data model / entities / relationshipserDiagram
    • metrics / distributions / time seriesxychart-beta

    Other Mermaid diagram types are not supported by the renderer.

  • RENDER: You MUST always use the ase_diagram tool from the ase MCP server to render the diagram!

    Pass the Mermaid diagram specification from $ARGUMENTS in the diagram field, and pass a colorMode of none to always get monochrome renderings. You MUST NEVER hand-draw diagrams under any circumstances! Box-drawing characters (, , , , , , , , , , , , ), ASCII surrogates (+, -, |), or any other attempt to draw a framed shape token-by-token are forbidden as your own output.

  • OUTPUT: You MUST return exclusively the text output of the ase_diagram tool, reproduced verbatim into a single Markdown-fenced code block (triple backticks). Do not return any other output, especially no prose, no preamble, no summary, and no Mermaid specification.

    ```
    <text-output-of-diagram-tool/>
    ```
    

    The caller copies this returned block directly into the user-visible response text. Returning anything other than the fenced rendered block is a defect: the diagram is then effectively invisible or polluted with extraneous text.

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. 8d ago First seen · 61 lines · 7 tokens per session scan A 1af3b157b46e

Subscribe to this mod's changes

ase-meta-diagram is an agent published in the GitHub repository rse/ase (47 stars, last pushed today), licensed Apache-2.0. It adds 7 tokens to every session and 643 once invoked, about $0.0000 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-30.

Related

Other agents, from other repositories

proposal-writer

Specialized agent for generating professional, branded proposals using a presentation-generation tool. Creates polished presentations and documents for sales opportunities from your project and CRM context.

Zeekeey-jpeg/LeRoy-HQ · 34 tokens

inspiration-scout

Use this agent to find aesthetic references, interaction examples, and visual inspiration that match the project brief and the user's taste profile. Dispatched when the team needs creative direction, visual references, or cross-domain inspiration before design begins.

Owl-Listener/designpowers · 50 tokens

game-audio-designer

Expert consultant for game audio architecture, sound design, and music integration. Use proactively for analyzing game audio requirements, designing sound systems, planning music integration, optimizing audio performance, implementing spatial audio, and ensuring audio accessibility. When you prompt this agent…

spacehendrix/clauder · 102 tokens

kinect-wall-harp-lead

Lead/orchestrator for the Kinect wall harp prototype. Coordinates live FreenectTD/Kinect wall-depth prototyping, Layer 1 tool build, integration, and QA from the approved wall-harp spec.

hybridlabor-api/bdb-dev-optimized-agent-skills · 50 tokens

Inclusive Visuals Specialist

Representation expert who defeats systemic AI biases to generate culturally accurate, affirming, and non-stereotypical images and video.

andywxy1/ceo-plugin · 30 tokens

TikTok Strategist

Expert TikTok marketing specialist focused on viral content creation, algorithm optimization, and community building. Masters TikTok's unique culture and features for brand growth.

andywxy1/ceo-plugin · 35 tokens