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 | $0.00071 | $0.01304 |
| Sonnet 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 5d 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.
- 5d ago Changed · +2 lines 1f59e8dc8223
- 11d 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 (89 stars, last pushed today), licensed MIT. It adds 141 tokens to every session and 2,608 once invoked, about $0.0007 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-08-30.
Other skills, from other repositories
uicraft
Create, improve, audit, and polish distinctive production-grade web interfaces, including marketing/landing pages and personal portfolio sites. Use for UI or frontend design, responsive layouts, typography, color, motion, UX copy, accessibility, performance, design-system alignment, onboarding, edge cases, or visual…
ux-writing
Microcopy, error messages, and clear interface text for better UX writing.
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI).…
clarify
Improve unclear UX copy, error messages, microcopy, labels, and instructions. Makes interfaces easier to understand and use.
extract
Extract and consolidate reusable components, design tokens, and patterns into your design system. Identifies opportunities for systematic reuse and enriches your component library.
normalize
Normalize design to match your design system and ensure consistency.