Borrowing it
Nothing to install: this file belongs to mrclrchtr/supi. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mrclrchtr/supi/main/.pi/skills/pi-tui-design/SKILL.mdgit clone --depth 1 https://github.com/mrclrchtr/supiWrote 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/mrclrchtr/supi/pi-tui-design)<a href="https://agentmods.dev/skills/mrclrchtr/supi/pi-tui-design"><img src="https://agentmods.dev/badge/skills/mrclrchtr/supi/pi-tui-design/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/mrclrchtr/supi/pi-tui-design"><img src="https://agentmods.dev/badge/skills/mrclrchtr/supi/pi-tui-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00141 | $0.02608 |
| Opus 5.5 | $0.00056 | $0.01043 |
| Sonnet 5.5 | $0.00028 | $0.00522 |
| Haiku 4.5 | $0.00014 | $0.00261 |
Grade A, and why
pi-tui-design 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 1mo 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 — 224 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TUI Design for Pi
Build terminal interfaces that feel crafted, not generated.
Reference Sources — Read These First
PI=$(npm root -g)/@earendil-works/pi-coding-agent
# Full TUI API (component interfaces, key identifiers, rendering rules)
cat "$PI/docs/tui.md"
# Copy-paste implementations for every pattern
# (load this file when you need working code to start from)
Read references/examples.md for copy-paste implementations of: Selection Dialog · Status+Widget · Loader with Cancel · Settings Toggles · Custom Tool Rendering · Custom Footer · Vim Modal Editor
# Real-world source references (ground truth):
cat "$PI/examples/extensions/preset.ts" # SelectList + DynamicBorder
cat "$PI/examples/extensions/todo.ts" # renderCall / renderResult
cat "$PI/examples/extensions/plan-mode/index.ts" # setStatus + setWidget
cat "$PI/examples/extensions/custom-footer.ts" # setFooter reactive
cat "$PI/examples/extensions/modal-editor.ts" # CustomEditor vim-mode
cat "$PI/examples/extensions/snake.ts" # full game loop
cat "$PI/examples/extensions/space-invaders.ts" # wantsKeyRelease (Kitty)
cat "$PI/examples/extensions/overlay-qa-tests.ts" # all 9 anchors + animation
Design Thinking
Before coding, commit to a direction:
- Tone: Minimal and precise? Dense and information-rich? Playful? Industrial? The terminal has its own aesthetic vocabulary — box-drawing elegance, braille-pattern density, block-element weight, symbol clarity.
- Scope: Full-screen takeover? Floating overlay? Persistent widget? Status line? Tool rendering? Match the delivery surface to the interaction weight.
- Differentiation: What detail makes this feel intentional? A progress bar with braille resolution. Aligned columns with accent headers. A dialog with breathing room.
Terminal Aesthetic Vocabulary
| Category | Characters | Use |
|---|---|---|
| Box-drawing (light) | ─│┌┐└┘├┤┬┴┼ |
Standard borders, tables |
| Box-drawing (rounded) | ╭╮╰╯ |
Softer, modern feel |
| Box-drawing (heavy) | ━┃┏┓┗┛┣┫┳┻╋ |
Emphasis, headers |
| Box-drawing (double) | ═║╔╗╚╝╠╣╦╩╬ |
Formal, structured |
| Block elements | █▓▒░▀▄▌▐ |
Progress bars, density, fill |
| Braille | ⠀–⣿ |
Sparklines, high-res patterns, spinners |
| Symbols | ◆●○◉✓✗▸▶★ |
Status, bullets, selections |
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago Changed · +2 lines 1f59e8dc8223
- 2mo ago First seen · 222 lines · 141 tokens per session scan A 9ca4f7b38632
pi-tui-design is a skill published in the GitHub repository mrclrchtr/supi (103 stars, last pushed today), licensed MIT. It adds 141 tokens to every session and 2,608 once invoked, about $0.0006 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-08-30.
Other skills, from other repositories
muse-delegate
Delegate a coding task to Muse Code (muse) as a background implementer, then review its diff and land it yourself. Use this whenever the user wants to hand implementation work to Muse — phrasings like "have Muse do X", "delegate this to Muse", "run it through Muse", or "use Muse to implement/fix/refactor" — or wants…
visualize
Create visualizations and interactive tools directly in conversation. Use when asked to show how something works, make simulators or labs, maps, plots, charts or graphs, comparisons, UI mockups, scenarios, adjustable inputs, and exploration beyond regular text.
doc-typeset
A document formatter that turns text and design settings into complete, styled HTML. It includes templates for contracts, academic papers, official documents, business reports, meeting notes, research reports, and annual reports.
component-instance
Instructions for creating and changing instances of reusable components. A component is a shared design element, such as a button or card, that can be reused with different text or settings.
format-extract
A low-level tool that converts a Word document (.docx) into semantic HTML and extracts embedded images. It also reports on the quality of the resulting HTML conversion.
design-variables
Bind/unbind design variables (tokens) on node props with $: : or $ ; create via applyvariables; switch node variable modes via batchedit variableModes.