OpenTUI

Define UI composition patterns and layout conventions for the OpenTUI framework.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/gvastethecreator/clawcore-cli --skill opentui-gvastethecreator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: OpenTUI
Source: https://github.com/gvastethecreator/clawcore-cli/tree/main/.agents/skills/opentui
Command: npx skills add https://github.com/gvastethecreator/clawcore-cli --skill opentui-gvastethecreator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides standardized patterns and conventions for building consistent and accessible user interfaces within the OpenTUI framework.

Core Features & Use Cases

  • Layout Composition: Utilizes Box components with flexbox properties for structured UIs.
  • Component Reusability: Encourages the creation of small, reusable UI components.
  • Consistent Styling: Enforces the use of tuiColors and shared spacing values.
  • Interaction Handling: Centralizes key bindings through useKeyboard.ts.
  • Use Case: Developers can quickly build new screens or features for the ClawCore CLI by adhering to these established UI patterns, ensuring a cohesive user experience.

Quick Start

Follow the layout patterns using Box components and ensure all colors adhere to tuiColors.

Frequently Asked Questions about OpenTUI

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure terminal UI layouts with OpenTUI?

To structure terminal UI layouts with OpenTUI, you use Box components with flexbox properties to organize elements. This approach ensures structured visual consistency and maintainable composition patterns for your interfaces.

What are the best practices for consistent TUI styling?

For consistent TUI styling, you should enforce the use of tuiColors and shared spacing values across your application. This standardizes visual consistency and accessibility across all terminal-based interfaces.

How do I handle keyboard interactions in a terminal user interface?

To handle keyboard interactions in a terminal user interface, you centralize key bindings through a dedicated useKeyboard.ts module. This standardizes interaction handling and maintains reusable component logic.

Can I build reusable components for CLI applications?

Yes, you can build reusable components for CLI applications by creating small UI elements using pure screen functions. This encourages component reusability and ensures a cohesive user experience for features like the ClawCore CLI.

When do I need UI composition patterns for terminal interfaces?

You need UI composition patterns for terminal interfaces when you want to standardize visual consistency, interaction handling, and accessibility across your application. This is essential for maintainable TUI development.