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 skills add martineserios/thebrana --skill terminal-diagramsgit clone --depth 1 https://github.com/martineserios/thebranaWrote 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/skills/martineserios/thebrana/terminal-diagrams)<a href="https://agentmods.dev/skills/martineserios/thebrana/terminal-diagrams"><img src="https://agentmods.dev/badge/skills/martineserios/thebrana/terminal-diagrams/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/skills/martineserios/thebrana/terminal-diagrams"><img src="https://agentmods.dev/badge/skills/martineserios/thebrana/terminal-diagrams.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.00036 | $0.01498 |
| Opus 5 | $0.00018 | $0.00749 |
| Sonnet 5 | $0.00007 | $0.00300 |
| Haiku 4.5 | $0.00004 | $0.00150 |
Grade A, and why
terminal-diagrams 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Terminal Diagrams
Draw any diagram shape as plain monospace text — no external renderer, no Mermaid, no
Artifact call. This is reference material: read it directly when a structural answer
(architecture, flow, hierarchy, comparison) would be clearer as a diagram than prose alone —
the trigger heuristic lives in system/rules/work-preferences.md §Terminal diagrams.
Not a closed list of diagram "types." Every diagram below is the same handful of primitives composed differently — learn the primitives, then compose whatever shape the answer needs.
Primitives
Boxes and lines (Unicode box-drawing — matches the vocabulary already established in
display-themes.md's tree connectors):
┌─────────┐ corners: ┌ ┐ └ ┘ lines: ─ (horizontal) │ (vertical)
│ node │ tree connectors: ├── └── │ (reuse display-themes.md exactly)
└─────────┘
Arrows and connectors:
→ ← ↓ ↑ sync / direct flow
⇢ ⇠ async / eventual (dotted-in-spirit; Unicode has no dashed arrow, use ⇢)
├── branch point (tree, decision fan-out)
Alignment rules (non-negotiable — a misaligned diagram is worse than none):
- Fixed-width monospace only. Count visual width, not byte/char count — wide glyphs (most emoji, some box-drawing corners) can render 2-cells wide in a terminal; when in doubt, stick to the plain single-width set above and verify by eyeballing column alignment before sending.
- Keep total width reasonable for a terminal pane — wrap or restructure past ~80-100 columns rather than letting a line run long and reflow.
- Label every node and every edge that isn't obvious from position alone.
Worked examples
These four are the styles most explanations need — not the only ones the primitives support (see Composing other shapes below).
1. Flow / pipeline
┌─────────┐ ┌─────────┐ ┌─────────┐
│ LOAD │ ───→ │ CLASSIFY │ ───→ │ BUILD │
└─────────┘ └─────────┘ └─────────┘
Branching flow (decision point):
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.
- 9d ago First seen · 152 lines · 36 tokens per session scan A 6322e1f147ec
terminal-diagrams is a skill published in the GitHub repository martineserios/thebrana (3 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 1,498 once invoked, about $0.0002 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-09-03.
Other skills, from other repositories
glyph
Render an answer as ASCII art plus semantic emojis inline, right now, with no setup questions. Use for a fast visual take on status, comparisons, trade-offs, architecture, or any ad-hoc 'show me X visually' ask. For a full multi-artifact plan playground, use visualize-plan instead.
diagram-creator
Create professional diagrams using Mermaid, PlantUML, and other text-based diagram tools. Generate flowcharts, sequence diagrams, architecture diagrams, and more.
tech-diagram
Use this skill when the user wants to turn a description into a technical diagram — architecture diagrams, flowcharts, sequence diagrams, state machines, ER diagrams, class diagrams, or mind maps. Generates brand-consistent Mermaid that the DesireCore chat renders inline as SVG, with a semantic shape/arrow vocabulary…
code-to-diagram
Analyze codebases and automatically generate architecture diagrams, flowcharts, and org charts. Uses AST parsing to map import dependencies for Python, JS/TS, Go, and Java, outputting Mermaid or SVG files. Triggered when users ask to visualize code architecture, understand dependencies, draw a flowchart, or create a…
aws-architecture-diagram
AWS architecture diagrams — generate visual network topology diagrams from live AWS infrastructure. Use when drawing AWS network diagrams, visualizing VPCs, mapping Transit Gateway topology, or generating architecture documentation.
fin-arch-diagram
A tool for creating architecture diagrams, process flowcharts, and hierarchy trees. These show how system parts, business steps, decisions, or organizational levels relate to one another.