Borrowing it
Nothing to install: this file belongs to LeonardoTrapani/better-skills. 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/LeonardoTrapani/better-skills/master/.agents/skills/opentui/SKILL.mdgit clone --depth 1 https://github.com/LeonardoTrapani/better-skillsWrote 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/leonardotrapani/better-skills/opentui)<a href="https://agentmods.dev/skills/leonardotrapani/better-skills/opentui"><img src="https://agentmods.dev/badge/skills/leonardotrapani/better-skills/opentui/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/leonardotrapani/better-skills/opentui"><img src="https://agentmods.dev/badge/skills/leonardotrapani/better-skills/opentui.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.00051 | $0.01829 |
| Opus 5 | $0.00026 | $0.00915 |
| Sonnet 5 | $0.00010 | $0.00366 |
| Haiku 4.5 | $0.00005 | $0.00183 |
Grade A, and why
opentui 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 11d 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.
This is a copy
95% identical to opentui — 57 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
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.
OpenTUI Platform Skill
Consolidated skill for building terminal user interfaces with OpenTUI. Use decision trees below to find the right framework and components, then load detailed references.
Critical Rules
Follow these rules in all OpenTUI code:
- Use
create-tuifor new projects. See frameworkREFERENCE.mdquick starts. create-tuioptions must come before arguments.bunx create-tui -t react my-appworks,bunx create-tui my-app -t reactdoes NOT.- Never call
process.exit()directly. Userenderer.destroy()(seecore/gotchas.md). - Text styling requires nested tags in React/Solid. Use modifier elements, not props (see
components/text-display.md).
How to Use This Skill
Reference File Structure
Framework references follow a 5-file pattern. Cross-cutting concepts are single-file guides.
Each framework in ./references/<framework>/ contains:
| File | Purpose | When to Read |
|---|---|---|
REFERENCE.md |
Overview, when to use, quick start | Always read first |
api.md |
Runtime API, components, hooks | Writing code |
configuration.md |
Setup, tsconfig, bundling | Configuring a project |
patterns.md |
Common patterns, best practices | Implementation guidance |
gotchas.md |
Pitfalls, limitations, debugging | Troubleshooting |
Cross-cutting concepts in ./references/<concept>/ have REFERENCE.md as the entry point.
Reading Order
- Start with
REFERENCE.mdfor your chosen framework - Then read additional files relevant to your task:
- Building components ->
api.md+components/<category>.md - Setting up project ->
configuration.md - Layout/positioning ->
layout/REFERENCE.md - Keyboard/input handling ->
keyboard/REFERENCE.md - Animations ->
animation/REFERENCE.md - Troubleshooting ->
gotchas.md+testing/REFERENCE.md
- Building components ->
What ships with it
25 files 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.
- references/animation/REFERENCE.md 8.7 KB
- references/components/code-diff.md 8.4 KB
- references/components/containers.md 6.7 KB
- references/components/inputs.md 10.0 KB
- references/components/REFERENCE.md 4.3 KB
- references/components/text-display.md 7.2 KB
- references/core/api.md 13 KB
- references/core/configuration.md 4.9 KB
- references/core/gotchas.md 7.5 KB
- references/core/patterns.md 8.6 KB
- references/core/REFERENCE.md 4.5 KB
- references/keyboard/REFERENCE.md 10 KB
- references/layout/patterns.md 8.2 KB
- references/layout/REFERENCE.md 6.0 KB
- references/react/api.md 8.4 KB
- references/react/configuration.md 5.8 KB
- references/react/gotchas.md 8.3 KB
- references/react/patterns.md 9.5 KB
- references/react/REFERENCE.md 4.5 KB
- references/solid/api.md 9.8 KB
- references/solid/configuration.md 5.6 KB
- references/solid/gotchas.md 7.4 KB
- references/solid/patterns.md 11 KB
- references/solid/REFERENCE.md 5.1 KB
- references/testing/REFERENCE.md 13 KB
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.
- 11d ago First seen · 202 lines · 51 tokens per session scan A 566f8a432790
opentui is a skill published in the GitHub repository LeonardoTrapani/better-skills (11 stars, last pushed 6mo ago), licensed MIT. It adds 51 tokens to every session and 1,829 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to opentui, differing in 57 lines, and is treated as a copy.
Other skills, from other repositories
skillshare-ui-website-style
Skillshare frontend design system for the React dashboard (ui/) and Docusaurus website (website/). Use this skill whenever you: build or modify a dashboard page or component in ui/src/, style or layout website pages or custom CSS in website/, create new React components for the dashboard, add pages to the dashboard…
antv-g2-chart
A chart-building skill for AntV G2 v5, a JavaScript library for visualizing data. It covers charts such as bars, lines, pies, scatter plots, and areas using JSON-like settings.
antv-x6-editor
A skill for creating and troubleshooting interactive diagrams with AntV X6, a JavaScript engine for editors made of connected nodes and lines. It supports diagram types such as flowcharts, dependency graphs, entity-relationship diagrams, and organization charts.
antv-g6-graph
A graph-visualization skill for AntV G6 v5, a JavaScript library for showing relationships between connected items. It covers network, tree, topology, flow, and other node-and-edge diagrams.
hz-iwsdk-webxr
Builds WebXR experiences for Meta Quest and Horizon OS using the Immersive Web SDK (IWSDK) — ECS architecture, Three.js integration, spatial UI. Use when creating web-based VR/MR apps for Quest Browser.
yao-geoflow-design
Discover, compare, preview, clone, and orchestrate current GEOFlow frontend experiences across the default site and GeoFlow Agent channel sites, including Laravel Blade themes, homepage module/style JSON, leadform conversion modules, theme editor, target-package capabilities, and cross-channel sync planning. Use for…