Skip to content
Development
Agent

ase-meta-diagram

Diagram Rendering

From plugin
ase
7511 skills11 agents

Claude Code

> /plugin marketplace add rse/ase
> /plugin install ase@ase

Agent definition

ase-meta-diagram.md
name: ase-meta-diagram
description: "Diagram Rendering"
effort: high
tools:
    - "mcp__plugin_ase_ase__ase_diagram"

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* (default) or *D2* 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, unless it is recognizably a *D2* diagram specification (`a -> b` connections, `key: value` attributes, `{ ... }` containers, and no leading Mermaid diagram type keyword)!

The renderer supports the following Mermaid diagram types only:

  • *structure / layout / components / dependencies* → `flowchart`
  • *control flow / branching / concurrency* → `flowchart`
  • *state machine / states / transitions* → `stateDiagram-v2`
  • *data flow / actors / messages / protocols* → `sequenceDiagram`
  • *data structure / classes / methods* → `classDiagram`
  • *data model / entities / relationships* → `erDiagram`
  • *metrics / distributions / time series* → `xychart-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 diagram specification from `$ARGUMENTS` in the `diagram` field, pass `lang` as `d2` for a D2 specification (the default `mermaid` covers Mermaid), 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.

Read more
@rse
Ships withase

Agentic Software Engineering (ASE)

7561 skills11 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
75
Star history of rse/ase on GitHub, a chart by star-history.com

Other agents on ase.

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc11d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react1d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codextoday135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman2d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about ase-meta-diagram.

Which coding agents can use ase-meta-diagram?
ase-meta-diagram installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.