本文へ移動
cccskills
無料GitHub で公開日本語紹介

prototype-openclaw-tui

OpenClawのターミナル画面を固定のサンプルデータで試作し、実際の描画部品を使った2〜6案をtmuxで並べて操作・比較するスキル。

原文Build throwaway, fixture-driven OpenClaw Clack or Pi TUI prototypes and compare multiple interactive variants side by side in tmux without running the full application or touching live state.

インストール方法を見る

こんなときに便利

  • 初期設定画面の案を比較したいとき
  • チャットや選択画面の配置検討
  • 既存画面と改善案を比べたいとき
  • 実データを変更せず画面を試したいとき

日本語での紹介

できること

OpenClawのターミナル画面を単独で動く試作品にし、2〜6種類の案を並べて操作・比較します。案内や設定画面にはcreateClackPrompter()、チャットや選択画面には@earendil-works/pi-tuiと既存の部品を使います。通信や設定の保存などは固定のサンプルデータに置き換え、全案でデータと画面サイズをそろえます。

こんなときに便利

設定の案内、進捗表示、チャットなどの構成を、実際に操作して選びたいときに向いています。既存画面の改善では、現在の実装をbaselineとして含め、変更案との差を確認します。--refreshで比較画面を更新できるため、試作を繰り返す作業にも使えます。

使い方の例

  • 「設定画面の現状と、項目をグループ化した案を並べて比較して」
  • 「チャットの選択画面を、同じサンプルデータで3案試作して」

注意点

比較にはtmuxと対象のOpenClaw描画環境が必要です。試作品は*.prototype.tsとして対象のそばに置き、そのまま本番コードには採用しません。選んだ案の本番への反映には、通常のテストと検証が必要です。

この紹介文は、公開されている SKILL.md をもとに AI(Claude Haiku)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(3)

  • SKILL.md5.1 KB
  • agents/openai.yaml286 B
  • scripts/launch-tmux-grid.sh11.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Prototype 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.md files 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 baseline variant 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() from src/wizard/clack-prompter.ts.
  • Agent shell, chat, overlay, editor, selector, or src/tui/** component: use @earendil-works/pi-tui and 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

  1. Read the target module, its renderer adapter, callers, and adjacent tests.
  2. Create the smallest executable harness that reaches the target surface.
  3. If the surface already exists, make the no-argument invocation render its current implementation unchanged as --variant=baseline.
  4. Add structurally different alternatives behind --variant=<id>, for two to six total variants including the baseline.
  5. Give every variant the same fixture data and terminal dimensions.
  6. Run each variant directly in its own tmux pane. Do not pipe interactive TUI output; tmux must provide the PTY.
  7. Iterate on the harness with the launcher's --refresh mode. Respawn the panes in the existing session; do not kill the session or reopen the user's terminal.
  8. 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).

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

1password

無料日本語概要

1Password CLIの導入と認証を確認し、保存したパスワードやAPIキーをコマンドや設定へ渡します。デスクトップ連携やサービスアカウントにも対応します。

  • 1Password CLIを導入したいとき
  • APIキーをコマンドに渡したいとき
  • CIでサービスアカウント認証を使う
openclaw/openclaw39.2万2026年10月10日 更新

acp-router

無料日本語概要

OpenClawへの自然な言葉の依頼をClaude Codeなどの外部コーディングエージェントへ振り分け、作業の開始や継続、スレッド内の会話をつなぐスキルです。

  • Claude Codeをスレッドで開始
  • 外部エージェントの作業を続けたいとき
  • acpxから直接指示を渡したいとき
openclaw/openclaw39.2万2026年10月10日 更新

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

日本語の概要は準備中です。原文の説明を表示しています。

openclaw/openclaw39.2万2026年10月10日 更新

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

日本語の概要は準備中です。原文の説明を表示しています。

openclaw/openclaw39.2万2026年10月10日 更新

apple-notes

無料日本語概要

macOSのApple Notesをエージェントから作成・検索・編集・削除し、フォルダ間の移動やHTML・Markdownへの書き出しを行うスキル。

  • タイトルを付けてメモを作りたいとき
  • フォルダ指定やあいまい検索でメモ探し
  • メモの編集とフォルダ整理
openclaw/openclaw39.2万2026年10月10日 更新

apple-reminders

無料日本語概要

Apple Remindersの予定付きToDoをMacから確認・追加・編集するスキル。リストの管理や完了・削除にも対応し、iPhoneやiPadで見るタスクを整理できます。

  • 今日のタスクや期限超過を確認したいとき
  • 期限付きの個人ToDoを追加したいとき
  • iPhoneやiPadのタスクを整理
openclaw/openclaw39.2万2026年10月10日 更新

openclaw のスキルをすべて見る

このスキルの問題を報告する