terminal-diagrams

terminal-diagrams is a skill for Claude Code from martineserios/thebrana. It costs 36 tokens per session (1,498 once invoked), scanned A, original, MIT.

A reference for drawing diagrams as plain text in a terminal using boxes, lines, arrows, and tree connectors. It covers flows, hierarchies, architecture, and other structures that are easier to see than describe.

In plain words
What is it for?
Use it when explaining architecture, workflows, decisions, hierarchies, or comparisons in monospace terminal output.
Why use it?
It gives text-only sessions a way to show relationships and sequences without an external diagram renderer.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the brana plugin — 56 skills, 4 commands, 14 agents, 13 hooks shipped together

Good fit Use it when explaining architecture, workflows, decisions, hierarchies, or comparisons in monospace terminal output.

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

Made for: Claude Code.

Or install brana, the plugin that ships this one along with the rest of its 56 skills, 4 commands, 14 agents, 13 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 terminal-diagrams

README.md
[![agentmods](https://agentmods.dev/badge/skills/martineserios/thebrana/terminal-diagrams/github.svg)](https://agentmods.dev/skills/martineserios/thebrana/terminal-diagrams)
Your own site
<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.

agentmods 80×15 button for terminal-diagrams

Your own site · 80×15
<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>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,498 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.00036 $0.01498
Opus 5 $0.00018 $0.00749
Sonnet 5 $0.00007 $0.00300
Haiku 4.5 $0.00004 $0.00150

Measured 9d ago against content hash 6322e1f147ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

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.

system/skills/terminal-diagrams/SKILL.md · 152 lines

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):

Read the full file on GitHub · 152 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. 9d ago First seen · 152 lines · 36 tokens per session scan A 6322e1f147ec

Subscribe to this mod's changes

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.

Related

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.

yonatangross/orchestkit · 64 tokens

diagram-creator

Create professional diagrams using Mermaid, PlantUML, and other text-based diagram tools. Generate flowcharts, sequence diagrams, architecture diagrams, and more.

claude-office-skills/skills · 34 tokens

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…

desirecore/market · 210 tokens

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…

zebbern/claude-code-guide · 74 tokens

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.

automateyournetwork/netclaw · 43 tokens

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.

csmar432/finai-research · 72 tokens