
Prototype OpenClaw TUI
FreeRapidly prototype and compare OpenClaw TUI designs.
Free · Opens the source repo
What Prototype OpenClaw TUI does
The Prototype OpenClaw TUI skill is designed for developers and designers looking to create and evaluate multiple terminal user interface (TUI) prototypes for the OpenClaw application. This skill allows users to build throwaway, fixture-driven prototypes that can be rendered side by side in tmux, facilitating a streamlined comparison of design variants without the overhead of running the full application or affecting live state. By using this skill, teams can iterate quickly on UI designs, ensuring that they can visualize and assess different approaches effectively.
To utilize this skill, users will isolate a specific OpenClaw terminal surface and render it using the actual OpenClaw TUI stack. The skill supports creating between two to six design variants, allowing for comprehensive comparisons. The workflow emphasizes using deterministic in-memory fixtures to replace any durable effects, such as network calls or database interactions, ensuring that the prototypes remain lightweight and focused solely on the UI aspects being tested.
The skill is particularly useful during the early stages of design when rapid iteration is crucial. By maintaining the baseline variant alongside new iterations, users can easily see how changes affect the user experience. The launch process is straightforward, allowing users to quickly set up their tmux sessions and refresh their prototypes without losing context. This makes it an ideal tool for teams looking to refine their TUI designs in a collaborative and efficient manner.
However, it is important to remember that prototypes created using this skill are meant to be throwaway and should not be promoted directly to production. Instead, once a design direction is chosen, the decisions can be carried into production code through normal testing and validation processes, ensuring that only the best ideas make it to the final application.
When to use it
Use this skill when you need to prototype and compare multiple TUI designs for OpenClaw without affecting live application state.
When not to use it
This skill is not suitable for production code development or when you require persistent state across prototypes.
What you can build with it
Rapid TUI Prototyping
Quickly develop and iterate on TUI designs for OpenClaw, allowing for fast feedback and adjustments.
Design Comparison
Compare multiple design variants side by side in tmux, making it easy to evaluate different approaches.
Fixture-Driven Development
Utilize in-memory fixtures to replace durable effects, keeping the focus on UI design without external dependencies.
How to install Prototype OpenClaw TUI
View source1. Install with the skills CLI
npx skills add openclaw/openclaw/prototype-openclaw-tui --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by openclawPrototype OpenClaw TUI
Use this skill to isolate one OpenClaw terminal surface, render it with the real OpenClaw TUI stack, and compare two to six design variants in tmux.
Rules
- Read the root and scoped
AGENTS.mdfiles before editing. - Keep the prototype beside the target and name it
*.prototype.ts. - When iterating on an existing surface, include its current implementation as
the first
baselinevariant with the same fixture data. Only omit the baseline when the user explicitly asks for a greenfield comparison. - Use the real OpenClaw renderer, theme, copy, and component where practical.
- Replace scanning, models, network calls, installs, config writes, SQLite, and other durable effects with deterministic in-memory fixtures.
- Do not run the full OpenClaw application when the isolated surface is enough.
- Treat prototype code as throwaway. Do not promote it directly to production.
- Preserve unrelated and pre-existing worktree changes.
Choose the renderer
- Wizard, onboarding, configuration, doctor, selection, or progress surface:
use
createClackPrompter()fromsrc/wizard/clack-prompter.ts. - Agent shell, chat, overlay, editor, selector, or
src/tui/**component: use@earendil-works/pi-tuiand the existing OpenClaw component.
Do not invent a shared Clack/Pi abstraction. They are separate prototype recipes joined only by the tmux comparison loop.
Workflow
- Read the target module, its renderer adapter, callers, and adjacent tests.
- Create the smallest executable harness that reaches the target surface.
- If the surface already exists, make the no-argument invocation render its
current implementation unchanged as
--variant=baseline. - Add structurally different alternatives behind
--variant=<id>, for two to six total variants including the baseline. - Give every variant the same fixture data and terminal dimensions.
- Run each variant directly in its own tmux pane. Do not pipe interactive TUI output; tmux must provide the PTY.
- Iterate on the harness with the launcher's
--refreshmode. Respawn the panes in the existing session; do not kill the session or reopen the user's terminal. - After the user chooses a direction, carry the decision into production code with normal tests and validation. Remove or separately capture the prototype.
Launch the comparison grid
Run the bundled launcher with a session name, repository path, then title and command pairs:
.agents/skills/prototype-openclaw-tui/scripts/launch-tmux-grid.sh \
--open \
app-recommendations-prototype "$PWD" \
"A - Baseline" "node --import tsx src/wizard/setup.app-recommendations.prototype.ts --variant=baseline" \
"B - Grouped" "node --import tsx src/wizard/setup.app-recommendations.prototype.ts --variant=grouped" \
"C - Focused" "node --import tsx src/wizard/setup.app-recommendations.prototype.ts --variant=focused"
After editing the prototype, run the same command with --refresh instead of
--open. This preserves the tmux session, attached external terminal, window,
and first pane while restarting all pane commands and reapplying the grid:
.agents/skills/prototype-openclaw-tui/scripts/launch-tmux-grid.sh \
--refresh \
app-recommendations-prototype "$PWD" \
"A - Baseline" "node --import tsx src/wizard/setup.app-recommendations.prototype.ts --variant=baseline" \
"B - Grouped" "node --import tsx src/wizard/setup.app-recommendations.prototype.ts --variant=grouped" \
"C - Focused" "node --import tsx src/wizard/setup.app-recommendations.prototype.ts --variant=focused"
The launcher refuses to replace an existing session unless --refresh is
explicitly provided. --open uses the user's
.command-associated terminal app on macOS, Windows Terminal from WSL, or the
first available Linux launcher from xdg-terminal-exec, $TERMINAL, and
x-terminal-emulator. If no supported launcher is available, the tmux session
remains ready at equal detached dimensions and the script exits successfully
after printing the manual attach command. Attach, then run --refresh once to
adopt the terminal's larger dimensions. The same guidance applies if an
external terminal opens but does not attach within ten seconds. When invoked
from a non-interactive TERM=dumb environment, the launcher removes its
inherited NO_COLOR only from prototype pane processes so the external
terminal can detect and render its normal colors. Prefer the external terminal
over the Codex in-app terminal unless the user asks for the in-app surface.
Leave the session running for user review unless asked to stop it.
Handoff
Report:
- the prototype path and exact run command;
- the tmux session name and attach command;
- which effects were replaced with fixtures;
- available variant ids;
- whether the prototype changed production code (normally no).
Frequently asked questions about Prototype OpenClaw TUI
Similar skills
Playwright Component Testing
Test React and Vue components in isolation with Playwright.
Fluent UI Blazor
Integrate Fluent UI components in Blazor applications effortlessly.
Build MCP App
Create interactive UI widgets for MCP servers.
Web Design Reviewer
Identify and fix design issues in websites efficiently.
Markstream Install
Seamlessly integrate Markstream for Markdown rendering.
GSAP & Framer Scroll Animation
Create advanced scroll animations effortlessly.
