Opentrons Typescript
Opentrons/opentrons
TypeScript conventions, React patterns, testing, styling, and import rules for the Opentrons monorepo JS/TS packages.
Helps build terminal user interfaces with OpenTUI using its core imperative API or its React and Solid reconcilers, with references for layout, keyboard, animation and testing.
$ npx skills add cline/cline --skill opentui -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install cline/cline opentui --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/cline/cline.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/opentui .claude/skills/opentui && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "opentui" agent skill from https://github.com/cline/cline/tree/main/.agents/skills/opentui into .claude/skills/opentui/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "opentui", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/cline/cline/tree/main/.agents/skills/opentuiType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add cline/cline --skill opentui -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install cline/cline opentui --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cline/cline.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/opentui .agents/skills/opentui && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "opentui" agent skill from https://github.com/cline/cline/tree/main/.agents/skills/opentui into .agents/skills/opentui/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "opentui", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cline/cline --skill opentui -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install cline/cline opentui --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cline/cline.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/opentui .cursor/skills/opentui && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "opentui" agent skill from https://github.com/cline/cline/tree/main/.agents/skills/opentui into .cursor/skills/opentui/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "opentui", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/cline/cline.git --path .agents/skills/opentui--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add cline/cline --skill opentui -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install cline/cline opentui --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cline/cline.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/opentui .gemini/skills/opentui && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "opentui" agent skill from https://github.com/cline/cline/tree/main/.agents/skills/opentui into .gemini/skills/opentui/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "opentui", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install cline/cline opentuiInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add cline/cline --skill opentui -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/cline/cline.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/opentui .github/skills/opentui && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "opentui" agent skill from https://github.com/cline/cline/tree/main/.agents/skills/opentui into .github/skills/opentui/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "opentui", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cline/cline --skill opentui -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install cline/cline opentui --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cline/cline.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/opentui .opencode/skills/opentui && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "opentui" agent skill from https://github.com/cline/cline/tree/main/.agents/skills/opentui into .opencode/skills/opentui/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "opentui", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
opentuiHelps build terminal user interfaces with OpenTUI using its core imperative API or its React and Solid reconcilers, with references for layout, keyboard, animation and testing.
The skill is a router into a large set of reference files. Each framework folder (core, React, Solid) follows the same five-file pattern: `REFERENCE.md` with the overview and quick start, which is always read first, then `api.md`, `configuration.md`, `patterns.md` and `gotchas.md`. Shared topics such as components, layout, keyboard input, animation and testing have their own folders, and a reading order maps each task to the right files.
Four rules apply to all OpenTUI code: start new projects with `create-tui`, put its options before its arguments, never call `process.exit()` directly but use `renderer.destroy()`, and style text in React and Solid with nested modifier tags rather than props. OpenTUI runs on Bun and uses Zig for native builds, and the core gotchas file lists the runtime and build requirements. Decision trees help you pick between the imperative core and the two framework bindings.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 81e9561. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
bunxFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
OpenTUI Terminal Interfaces loads about 1.9k tokens when it runs, and up to ~55k if it reads all its reference files. Until then it costs about 63 tokens; SKILL.md has 394 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from cline/cline at commit 81e9561, republished under its Apache-2.0 licence (© cline). 394 words, ~1,901 tokens.
.claude/skills/opentui/SKILL.md (or your agent's skills folder). This skill also uses 28 other files; get the full folder from GitHub.Consolidated skill for building terminal user interfaces with OpenTUI. Use decision trees below to find the right framework and components, then load detailed references.
Follow these rules in all OpenTUI code:
create-tui for new projects. See framework REFERENCE.md quick starts.create-tui options must come before arguments. bunx create-tui -t react my-app works, bunx create-tui my-app -t react does NOT.process.exit() directly. Use renderer.destroy() (see core/gotchas.md).components/text-display.md).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.
REFERENCE.md for your chosen frameworkapi.md + components/<category>.mdconfiguration.mdlayout/REFERENCE.mdkeyboard/REFERENCE.mdanimation/REFERENCE.mdgotchas.md + testing/REFERENCE.md./references/react/REFERENCE.md # Start here for React
./references/react/api.md # React components and hooks
./references/solid/configuration.md # Solid project setup
./references/components/inputs.md # Input, Textarea, Select docs
./references/core/gotchas.md # Core debugging tipsOpenTUI runs on Bun and uses Zig for native builds. Read ./references/core/gotchas.md for runtime requirements and build guidance.
Which framework?
├─ I want full control, maximum performance, no framework overhead
│ └─ core/ (imperative API)
├─ I know React, want familiar component patterns
│ └─ react/ (React reconciler)
├─ I want fine-grained reactivity, optimal re-renders
│ └─ solid/ (Solid reconciler)
└─ I'm building a library/framework on top of OpenTUI
└─ core/ (imperative API)Display content?
├─ Plain or styled text -> components/text-display.md
├─ Container with borders/background -> components/containers.md
├─ Scrollable content area -> components/containers.md (scrollbox)
├─ ASCII art banner/title -> components/text-display.md (ascii-font)
├─ Data table with borders/wrapping -> components/code-diff.md (TextTable)
├─ Code with syntax highlighting -> components/code-diff.md
├─ Diff viewer (unified/split) -> components/code-diff.md
├─ Line numbers with diagnostics -> components/code-diff.md
└─ Markdown content (streaming) -> components/code-diff.md (markdown)User input?
├─ Single-line text field -> components/inputs.md (input)
├─ Multi-line text editor -> components/inputs.md (textarea)
├─ Select from a list (vertical) -> components/inputs.md (select)
├─ Tab-based selection (horizontal) -> components/inputs.md (tab-select)
└─ Custom keyboard shortcuts -> keyboard/REFERENCE.mdLayout?
├─ Flexbox-style layouts (row, column, wrap) -> layout/REFERENCE.md
├─ Absolute positioning -> layout/patterns.md
├─ Responsive to terminal size -> layout/patterns.md
├─ Centering content -> layout/patterns.md
└─ Complex nested layouts -> layout/patterns.mdAnimations?
├─ Timeline-based animations -> animation/REFERENCE.md
├─ Easing functions -> animation/REFERENCE.md
├─ Property transitions -> animation/REFERENCE.md
└─ Looping animations -> animation/REFERENCE.mdInput handling?
├─ Keyboard events (keypress, release) -> keyboard/REFERENCE.md
├─ Focus management -> keyboard/REFERENCE.md
├─ Paste events -> keyboard/REFERENCE.md
├─ Mouse events -> components/containers.md
├─ Text selection & copy-on-select -> keyboard/REFERENCE.md (selection)
└─ Clipboard (OSC 52) -> keyboard/REFERENCE.md (clipboard)Testing?
├─ Snapshot testing -> testing/REFERENCE.md
├─ Interaction testing -> testing/REFERENCE.md
├─ Test renderer setup -> testing/REFERENCE.md
└─ Debugging tests -> testing/REFERENCE.mdTroubleshooting?
├─ Runtime errors, crashes -> <framework>/gotchas.md
├─ Layout issues -> layout/REFERENCE.md + layout/patterns.md
├─ Input/focus issues -> keyboard/REFERENCE.md
└─ Repro + regression tests -> testing/REFERENCE.mdcore/gotchas.mdcomponents/text-display.mdkeyboard/REFERENCE.mdlayout/REFERENCE.mdtesting/REFERENCE.mdFor component naming differences and text modifiers, see components/REFERENCE.md.
| Framework | Entry File | Description |
|---|---|---|
| Core | ./references/core/REFERENCE.md | Imperative API, all primitives |
| React | ./references/react/REFERENCE.md | React reconciler for declarative TUI |
| Solid | ./references/solid/REFERENCE.md | SolidJS reconciler for declarative TUI |
| Concept | Entry File | Description |
|---|---|---|
| Layout | ./references/layout/REFERENCE.md | Yoga/Flexbox layout system |
| Components | ./references/components/REFERENCE.md | Component reference by category |
| Keyboard | ./references/keyboard/REFERENCE.md | Keyboard input handling |
| Animation | ./references/animation/REFERENCE.md | Timeline-based animations |
| Testing | ./references/testing/REFERENCE.md | Test renderer and snapshots |
| Category | Entry File | Components |
|---|---|---|
| Text & Display | ./references/components/text-display.md | text, ascii-font, styled text |
| Containers | ./references/components/containers.md | box, scrollbox, borders |
| Inputs | ./references/components/inputs.md | input, textarea, select, tab-select |
| Code & Diff | ./references/components/code-diff.md | code, line-number, diff, markdown, text-table |
Repository: https://github.com/anomalyco/opentui Core Docs: https://github.com/anomalyco/opentui/tree/main/packages/core/docs Examples: https://github.com/anomalyco/opentui/tree/main/packages/core/src/examples Awesome List: https://github.com/msmps/awesome-opentui
© cline, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 28 other files (references) in .agents/skills/opentui of cline/cline.
Open the folder on GitHubat commit 81e9561
OpenTUI Terminal Interfaces next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| OpenTUI Terminal Interfaces this skillcline/cline | 70k | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Opentrons TypescriptOpentrons/opentrons | 521 | — | ~3.7k | Automated safety check: Pass | Apache-2.0 | |
| React Render Types CompositionHorusGoul/eslint-plugin-react-render-types | 111 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Safe Element Comparisonseasonedcc/remix-forms | 514 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Frontend Typescript Rulesshinpr/ai-coding-project-boilerplate | 232 | — | ~1.7k | Automated safety check: Pass | MIT | |
| React Devdavila7/claude-code-templates | 32k | 2 repos | ~2.6k | Automated safety check: Pass | MIT |
Opentrons/opentrons
TypeScript conventions, React patterns, testing, styling, and import rules for the Opentrons monorepo JS/TS packages.
HorusGoul/eslint-plugin-react-render-types
Composition patterns for building React components with @renders type annotations from eslint-plugin-react-render-types.
seasonedcc/remix-forms
Maintain element type comparison safety in remix-forms. An agent skill from seasonedcc/remix-forms.
shinpr/ai-coding-project-boilerplate
Applies React/TypeScript type safety, component design, and state management rules.
davila7/claude-code-templates
This skill should be used when building React components with TypeScript, typing hooks, handling events, or when React TypeScript, React 19, Server Components are mentioned.
shinpr/claude-code-workflows
React/TypeScript frontend development rules including type safety, component design, state management, and error handling.
cline/cline
Reference for building AI agents with the Cline SDK: the Agent runtime, ClineCore sessions, custom tools, plugins, events, providers, scheduling and multi-agent teams.
cline/cline
Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.
cline/cline
Guides publishing a one-time What's new dialog in the Cline desktop app: deciding if one is due, picking highlights from the changelog and editing one content file.
cline/cline
Covers preparing, tagging and publishing a Cline desktop app release on the stable, beta or nightly channel through the desktop-publish GitHub workflow.
cline/cline
Validates and publishes the standalone @cline/ui npm package through its own release workflow, separate from the Cline SDK runtime packages.
cline/cline
Walks through releasing the Cline CLI package to npm: release notes, version bump, matching git tag, and either the GitHub workflow or a local publish.
Works with
Categories
Helps build terminal user interfaces with OpenTUI using its core imperative API or its React and Solid reconcilers, with references for layout, keyboard, animation and testing. The skill is a router into a large set of reference files.md`.
OpenTUI Terminal Interfaces fits situations like: starting a new terminal UI project with create-tui; building TUI components and layouts in React or Solid; handling keyboard input and animations in a terminal app; debugging OpenTUI build or runtime pitfalls.
Run `npx skills add cline/cline --skill opentui -a claude-code`. Or copy the skill folder (.agents/skills/opentui in cline/cline) into .claude/skills/opentui in your project. Claude Code loads it when a task matches its description.
Run `npx skills add cline/cline --skill opentui -a codex`. Or copy the skill folder (.agents/skills/opentui in cline/cline) into .agents/skills/opentui in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cline/cline --skill opentui -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/opentui, .gemini/skills/opentui, .github/skills/opentui and .opencode/skills/opentui in your project.
Going by SKILL.md and its folder, OpenTUI Terminal Interfaces needs the command-line tools its instructions call (bunx). Our summary lists: Bun, which OpenTUI runs on; Zig, for native builds (see the gotchas reference).
SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
OpenTUI Terminal Interfaces is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 53k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with OpenTUI Terminal Interfaces: Opentrons Typescript (Opentrons/opentrons, 521 stars), React Render Types Composition (HorusGoul/eslint-plugin-react-render-types, 111 stars), Safe Element Comparison (seasonedcc/remix-forms, 514 stars) and Frontend Typescript Rules (shinpr/ai-coding-project-boilerplate, 232 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
cline (a GitHub organization) maintains it in cline/cline, which has 70,001 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 8, 2026.
Source: cline/cline on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.