
Tui Development
Guide for developing the OpenShell TUI, a ratatui-based terminal UI for the OpenShell...
Install
npx skills add NVIDIA/OpenShell --skill tui-development -g -a claude-code -y- Repository
- NVIDIA/OpenShell20.9k
- Category
- Design
- Updated
- 4d ago
- License
- Apache-2.0
- Context cost
- Mediumabout 3,000 tokens
- Runs scripts
- No, instructions only
What it does
Guide for developing the OpenShell TUI, a ratatui-based terminal UI for the OpenShell platform. Covers architecture, navigation, data fetching, theming, UX conventions, and development workflow. Trigger keywords - term, TUI, terminal UI, ratatui, openshell-tui, tui development, tui feature, tui bug.
OpenShell TUI Development Guide
Comprehensive reference for any agent working on the OpenShell TUI.
1. Overview
The OpenShell TUI is a ratatui-based terminal UI for the OpenShell platform. It provides a keyboard-driven interface for managing gateways, sandboxes, and logs, the same operations available via the openshell CLI, but with a live, interactive dashboard.
- Launched via:
openshell termormise run term - Crate:
crates/openshell-tui/ - Key dependencies:
ratatui(workspace version), usesframe.area()for the drawable terminal areacrossterm(workspace version), terminal backend and event pollingtonicwith TLS, gRPC client for the OpenShell gatewaytokio, async runtime for event loop, spawned tasks, and mpsc channelsopenshell-core, proto-generated types (OpenShellClient, request/response structs)openshell-bootstrap, gateway discovery (list_gateways())
- Theme: Adaptive dark/light via
Themestruct, NVIDIA-branded green accents. Controlled by--themeflag,OPENSHELL_THEMEenv var, or auto-detection.
2. Domain Object Hierarchy
The data model follows a strict hierarchy: Gateway > Workspace > Sandboxes/Providers/Settings > Logs.


