huba: Skill for Claude Code

.claude/skills/opentui-developer/SKILL.md

opentui is a skill for Claude Code from sergeyzwezdin/huba. It costs 46 tokens per session (1,012 once invoked), scanned A, original, MIT.

A toolkit for building terminal user interfaces, meaning applications that run in a command-line window and respond to keyboard input. It covers both a direct programming interface and React-based screens.

In plain words
What is it for?
Use it when creating or maintaining command-line interfaces with text, panels, scrolling areas, keyboard shortcuts, animations or tests.
Why use it?
It gives an agent guidance for the many details of terminal screens, including layout, keyboard actions, animation and testing.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is sergeyzwezdin/huba's own configuration. It tells Claude Code how to work on huba itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything huba configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sergeyzwezdin/huba. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sergeyzwezdin/huba/main/.claude/skills/opentui-developer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/sergeyzwezdin/huba

Made for: Claude Code.

Wrote 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.

agentmods badge for opentui

README.md
[![agentmods](https://agentmods.dev/badge/skills/sergeyzwezdin/huba/opentui-developer.svg)](https://agentmods.dev/skills/sergeyzwezdin/huba/opentui-developer)
Your own site
<a href="https://agentmods.dev/skills/sergeyzwezdin/huba/opentui-developer"><img src="https://agentmods.dev/badge/skills/sergeyzwezdin/huba/opentui-developer.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,012 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.01012
Opus 5 $0.00023 $0.00506
Sonnet 5 $0.00009 $0.00202
Haiku 4.5 $0.00005 $0.00101

Measured 7d ago against content hash 329c8f88a573, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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 7d 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.

.claude/skills/opentui-developer/SKILL.md · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenTUI Platform Skill

How to Read This Skill

Each domain has a REFERENCE.md index that maps sub-files to topics. Start with the index, then load only what's needed.

Domain Entry Point When to Use
Core ./references/core/REFERENCE.md Imperative API, low-level control
React ./references/react/REFERENCE.md Declarative UI, hooks, JSX
Layout ./references/layout/REFERENCE.md Flexbox layout, positioning
Components ./references/components/REFERENCE.md Component-by-category reference
Keyboard ./references/keyboard/REFERENCE.md Key events, shortcuts, clipboard
Animation ./references/animation/REFERENCE.md Timeline animations
Testing ./references/testing/REFERENCE.md Snapshot and interaction testing

Quick Decision Trees

"I need to display content"

Display content?
├─ Plain or styled text              -> components/text-basic.md
├─ ASCII art banner/title            -> components/text-extras.md
├─ Container with borders/background -> components/containers-box.md
├─ Scrollable content area           -> components/containers-scrollbox.md
├─ Code with syntax highlighting     -> components/code-syntax.md
├─ Diff viewer (unified/split)       -> components/diff.md
└─ Markdown content (streaming)      -> components/code-syntax.md (markdown)

"I need user input"

User input?
├─ Single-line text field          -> components/inputs-text.md
├─ Multi-line text editor          -> components/inputs-text.md (textarea)
├─ Select from a list (built-in)   -> components/inputs-select.md
├─ Custom-rendered list/select     -> components/inputs-select.md (BaseSelectRenderable)
├─ Tab-based selection             -> components/inputs-select.md (tab-select)
└─ Custom keyboard handling        -> keyboard/REFERENCE.md

"I need layout/positioning"

Layout?
├─ Flexbox rows/columns     -> layout/REFERENCE.md + layout/flex.md
├─ Absolute positioning     -> layout/positioning.md
├─ Responsive to terminal   -> layout/patterns-app.md
├─ Centering content        -> layout/patterns-advanced.md
└─ Common app layouts       -> layout/patterns-app.md

Read the full file on GitHub · 123 lines

Files

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.

Changes

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.

  1. 7d ago First seen · 123 lines · 46 tokens per session scan A 329c8f88a573

Subscribe to this mod's changes

opentui is a skill published in the GitHub repository sergeyzwezdin/huba (10 stars, last pushed 5mo ago), licensed MIT. It adds 46 tokens to every session and 1,012 once invoked, about $0.0002 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-31.