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 nWave-ai/nWave --skill nw-ux-tui-patternsgit clone --depth 1 https://github.com/nWave-ai/nWaveWrote 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/nwave-ai/nwave/nw-ux-tui-patterns)<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-ux-tui-patterns"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-ux-tui-patterns/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/nwave-ai/nwave/nw-ux-tui-patterns"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-ux-tui-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Privilege Escalation · line 86 Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
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.01776 |
| Opus 5.5 | $0.00014 | $0.00710 |
| Sonnet 5.5 | $0.00007 | $0.00355 |
| Haiku 4.5 | $0.00004 | $0.00178 |
Grade B, and why
nw-ux-tui-patterns scanned grade B with 1 finding 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
2. Start the server: sudo systemctl start postgresql How it starts
The opening of the file, as written. The whole thing — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TUI and CLI Patterns
Actionable terminal interface patterns for requirements gathering and design review. Use when target is CLI tool or interactive terminal application.
CLI Argument Design
Command Structure
Follow program subcommand [flags] [arguments] (e.g., git commit -m "message").
Flags and Options
- Both short (
-h) and long (--help) for common flags - Reserve single-letter flags for frequently used options
- Standard flags always:
--help,--version,--verbose/--quiet,--no-color - Never accept secrets via flags (use files, stdin, or env vars)
- Make flag order independent
Subcommands
- Verbs for actions:
create,delete,list,show,update - Nouns for targets:
user,project,config - Pick one pattern (
tool resource actionortool action resource) consistently - Provide shell completion scripts for discoverability
Argument Design Principles
Required arguments are positional; optional use flags. Accept stdin for piping. Support glob patterns for file arguments. Provide --dry-run for destructive/complex operations.
Interactive TUI Patterns
Framework Architectures
| Framework | Language | Architecture | Best For |
|---|---|---|---|
| Bubble Tea | Go | Elm (Model-Update-View) | Full TUI apps with complex state |
| Rich | Python | Declarative rendering | Beautiful output, progress, tables |
| Ink | JavaScript | React component model | Teams with React experience |
| Textual | Python | CSS-like styling, widgets | Dashboard-style applications |
| Ratatui | Rust | Immediate-mode rendering | High-performance terminal apps |
Key Architectural Pattern (Elm Architecture)
- Model: Application state (single data structure)
- Update: Pure function taking model + message, returns new model
- View: Pure function rendering model to string
Unidirectional data flow makes TUI state predictable and testable.
Interactive Selection Patterns
Arrow keys to navigate, Enter to select. Type-ahead filtering for long lists. Multi-select with space bar, confirm with Enter. Show selected count with clear visual indicator. Support Esc to cancel.
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 First seen · 202 lines · 36 tokens per session scan B 861735a3ab93
nw-ux-tui-patterns is a skill published in the GitHub repository nWave-ai/nWave (620 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 1,776 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.
Other skills, from other repositories
tdd
Use this skill to practice test-driven development — writing tests before implementation, using tests to drive design, and validating implementation against pre-written tests. Activates when implementing new functionality, refactoring code, or fixing bugs where regression coverage is needed.
workflow-patterns
Use this skill when implementing tasks according to Conductor's TDD workflow, handling phase checkpoints, managing git commits for tasks, or understanding the verification protocol.
moai-domain-frontend
Frontend development specialist covering React 19, Next.js 16, Vue 3.5, and modern UI/UX patterns with component architecture. Use when building web UIs, implementing components, optimizing frontend performance, or integrating state management.
craft-studio
Router for the ArtCraft craft apps (PhotoCraft, VectorCraft, FilmCraft, LightCraft, PdfCraft, EffectCraft, DesignCraft, FigCraft, WordCraft, SoundCraft, DeckCraft, CADCraft, GridCraft) driven headless via pi-craft. Use to choose which app fits a job and run the discover-execute-save-verify loop - "which craft app…
accessibility-a11y
Semantic HTML, keyboard navigation, focus states, ARIA labels, skip links, and WCAG contrast requirements. Use when ensuring accessibility compliance, implementing keyboard navigation, or adding screen reader support.
tailwind-shadcn
Tailwind CSS utility patterns with shadcn/ui component usage, theming via CSS variables, and responsive design. Use when styling components, installing shadcn components, implementing dark mode, or creating consistent design systems.