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.5 | $0.00014 | $0.00599 |
| Sonnet 5.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 2mo 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.
- 2mo 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 8d ago), licensed MIT. It adds 36 tokens to every session and 1,498 once invoked, about $0.0001 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-09-03.
terminal-diagrams compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| terminal-diagramsmartineserios/thebrana | Skill | 3 | 8d ago | MIT | A | 36 | Claude Code |
| tech-diagramdesirecore/market | Skill | 2 | today | MIT | A | 210 | Claude Code |
| diagram-creatorclaude-office-skills/skills | Skill | 599 | 10mo ago | MIT | A | 34 | Claude Code, Codex |
| code-to-diagramzebbern/claude-code-guide | Skill | 4.7k | 4d ago | MIT | A | 74 | Claude Code, Codex |
| aws-architecture-diagramautomateyournetwork/netclaw | Skill | 739 | today | Apache-2.0 | A | 43 | Claude Code, Codex |
| fin-arch-diagramcsmar432/finai-research | Skill | 112 | 7d ago | MIT | A | 72 | Cursor |
| svg-presskdcube/kdcube | Skill | 27 | yesterday | MIT | A | 87 | Claude Code |