OpenTUI is a library for building terminal user interfaces with TypeScript, React, or Solid, using a Zig-based native core. Developers use it to create keyboard- and mouse-driven terminal applications with elements such as text, inputs, selections, images, and scrollable areas. Catalogue add-ons provide documentation and guidance for working with OpenTUI.
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 anomalyco/opentui --skill contentgit clone --depth 1 https://github.com/anomalyco/opentuiWrote 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/anomalyco/opentui/content)<a href="https://agentmods.dev/skills/anomalyco/opentui/content"><img src="https://agentmods.dev/badge/skills/anomalyco/opentui/content/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/anomalyco/opentui/content"><img src="https://agentmods.dev/badge/skills/anomalyco/opentui/content.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 findings, 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 Prompt Injection · line 71 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 74 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 83 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.02882 |
| Opus 5.5 | $0.00014 | $0.01153 |
| Sonnet 5.5 | $0.00007 | $0.00576 |
| Haiku 4.5 | $0.00004 | $0.00288 |
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 16d 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 — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OpenTUI Skill
Canonical reference docs are in the sibling docs/**/*.mdx files.
Inside the OpenTUI repository, this skill root is packages/web/src/content/. The same files are available under
packages/web/src/content/docs/**/*.mdx from the repository root.
Terminal layout defaults
Design for a terminal app, not a browser. Use the available columns and rows efficiently.
- Do not use gaps between adjacent UI panels.
- Do not add unnecessary margins or padding.
- Prefer compact, information-dense layouts over website-style card spacing.
Path invariant
/docsmaps todocs/getting-started.mdx./docs/componentsmaps todocs/components/overview.mdx.- Every other
/docs/<slug>URL maps todocs/<slug>.mdxrelative to this skill root. - From the repository root, prepend
packages/web/src/content/to each source path. /docs/releases/<version>maps todocs/releases/<version>.md, the release notes of that version.
Versions
The docs describe the release or branch that this skill came from. Each release notes file lists what changed in that
release and links the pages it affects. When a project uses an older @opentui/core than the docs describe, read the
notes of the newer releases before you use an API, and prefer what the project's version provides.
Choose packages
Use Core directly or choose a React or Solid binding for the UI. Recommend companion packages when their features fit the task. Do not install every package by default.
@opentui/core: use imperative renderables and events withcreateCliRenderer().@opentui/react: use React components, JSX, and hooks withcreateRoot().@opentui/solid: use Solid components, JSX, and signals withrender().@opentui/keymap: centralize keyboard bindings and named commands across views. The package supports focus-scoped layers, configurable shortcuts, and multi-key sequences. Start withcreateDefaultOpenTuiKeymap()from@opentui/keymap/opentui. Use@opentui/keymap/reactor@opentui/keymap/solidfor providers and hooks. Direct keyboard events or component-local bindings are enough for simple local input.@opentui/ssh: serve a terminal UI to standard SSH clients without a local app installation. ImportcreateServer()from the package root. Pass each session's renderer to Core, React, or Solid. The package has no framework subpaths. Read the SSH guide for authentication, middleware, and session cleanup.@opentui/qrcode: encode QR matrices, terminal text, or SVG, or display aQRCodeRenderable. For JSX, useregisterQRCode()from@opentui/qrcode/reactor@opentui/qrcode/solid. See the QR code component.@opentui/three: render Three.js WebGPU scenes in the terminal withThreeRenderable. This integration supports only Bun. Before you choose it, check its runtime and dependency requirements.
What ships with it
60 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.
- docs/application-apis/animation.mdx 24 KB
- docs/application-apis/audio-capture.mdx 18 KB
- docs/application-apis/audio-streaming.mdx 27 KB
- docs/application-apis/program-status.mdx 5.0 KB
- docs/bindings/react.mdx 13 KB
- docs/bindings/solid.mdx 16 KB
- docs/components/ascii-font.mdx 5.9 KB
- docs/components/box.mdx 7.0 KB
- docs/components/code.mdx 13 KB
- docs/components/diff.mdx 6.4 KB
- docs/components/embedded-terminal.mdx 17 KB
- docs/components/frame-buffer.mdx 8.8 KB
- docs/components/image.mdx 13 KB
- docs/components/input.mdx 6.7 KB
- docs/components/line-number.mdx 5.9 KB
- docs/components/markdown.mdx 13 KB
- docs/components/overview.mdx 9.9 KB
- docs/components/qr-code.mdx 6.1 KB
- docs/components/scrollbar.mdx 3.1 KB
- docs/components/scrollbox.mdx 9.1 KB
- docs/components/select.mdx 7.5 KB
- docs/components/slider.mdx 3.0 KB
- docs/components/tab-select.mdx 6.9 KB
- docs/components/text-table.mdx 10 KB
- docs/components/text.mdx 7.0 KB
- docs/components/textarea.mdx 11 KB
- docs/components/time-to-first-draw.mdx 5.5 KB
- docs/core-concepts/audio.mdx 17 KB
- docs/core-concepts/clipboard.mdx 15 KB
- docs/core-concepts/colors.mdx 8.0 KB
- docs/core-concepts/console.mdx 9.6 KB
- docs/core-concepts/interaction.mdx 15 KB
- docs/core-concepts/keyboard.mdx 8.4 KB
- docs/core-concepts/layout.mdx 18 KB
- docs/core-concepts/lifecycle.mdx 14 KB
- docs/core-concepts/notifications.mdx 6.6 KB
- docs/core-concepts/renderables.mdx 7.6 KB
- docs/core-concepts/renderer.mdx 10 KB
- docs/core-concepts/rendering-pipeline.mdx 11 KB
- docs/core-concepts/testing.mdx 19 KB
- docs/core-concepts/text-and-cells.mdx 9.0 KB
- docs/extend/custom-renderables.mdx 22 KB
- docs/extend/editing.mdx 25 KB
- docs/extend/post-processing.mdx 12 KB
- docs/extend/runtime-plugins.mdx 12 KB
- docs/getting-started.mdx 3.7 KB
- docs/getting-started/quickstart.mdx 3.5 KB
- docs/getting-started/runtime-support.mdx 9.5 KB
- docs/keymap/addons.mdx 17 KB
- docs/keymap/core.mdx 36 KB
- docs/keymap/custom-addons.mdx 24 KB
- docs/keymap/hosts.mdx 14 KB
- docs/keymap/overview.mdx 5.3 KB
- docs/keymap/react.mdx 6.9 KB
- docs/keymap/solid.mdx 6.7 KB
- docs/native/c.mdx 19 KB
- docs/native/core.mdx 18 KB
- docs/native/frames.mdx 25 KB
- docs/native/host-io-time.mdx 8.8 KB
- docs/native/overview.mdx 6.8 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.
- 16d ago Changed · +7 lines 3524c6133707
- 18d ago Changed · +8 lines d978beb6d778
- 1mo ago Changed 840d329f3474
- 1mo ago First seen · 150 lines · 36 tokens per session scan A 86a0dd441325
opentui is a skill published in the GitHub repository anomalyco/opentui (13,629 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 2,882 once invoked, about $0.0001 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
critique
Git diff viewer. Renders diffs as web pages, images, and PDFs with syntax highlighting. Use this skill when working with critique for showing diffs, generating diff URLs, or selective hunk staging.
showagent-session-handoff
Finds, previews, and resumes local coding-agent sessions using the showagent MCP server. Use when the user asks to search prior agent conversations, continue old work, branch a session, or transfer context between coding agents.
opencode
Use when working with a model-agnostic terminal AI coding agent that uses opencode.json for declarative configuration — MCP servers, custom commands, agent routing, skills. OpenCode: configuration-as-code terminal AI coding agent with multi-model support.
orca-emulator-android
Android device and emulator control from inside Orca over adb, with the live device view in Orca's emulator pane. Use when driving an adb-connected emulator or phone on Windows, Linux, or macOS: booting AVDs, taps, swipes, typing, hardware buttons, rotation, app install and launch, runtime permissions, the…
ralplan
Consensus planning entrypoint that auto-gates vague ralph/autopilot/team requests before execution.
pr
Draft a PR body from OMC's paper trail — the smallest visual that proves the change, evidence consumed from the verify protocol (never re-collected), reversibility from the ADR test on the diff, glossary language throughout.