Back to list
frixaco

kitty-tui-control

by frixaco

0🍴 0📅 Jan 22, 2026

SKILL.md


name: kitty-tui-control description: Runs and controls TUI applications inside Kitty terminal tabs using Kitty's remote control interface. Use when asked to run a TUI app, start a dev server in a new tab, or check/inspect output from a running TUI application.

Kitty TUI Control

Launch a TUI App in a New Tab

kitten @ launch --type tab --copy-env --cwd=current --tab-title "NAME" --hold command args

Examples:

kitten @ launch --type tab --copy-env --cwd=current --tab-title "dev-server" --hold bun dev
kitten @ launch --type tab --copy-env --cwd /Users/frixa/projects/myapp --tab-title "dev-server" --hold bun dev

Flags:

  • --type tab - Create new tab (SPACE separator, not =)
  • --copy-env - Copy environment (PATH with mise/bun/node)
  • --cwd=current - Use current window's working directory
  • --cwd /path - Use specific directory
  • --tab-title "NAME" - Set tab title
  • --hold - Keep tab open after command exits
  • --keep-focus - Stay on current tab (optional)

Returns window ID (number) for later reference.

Fallback: Shell Wrapper

If --copy-env doesn't work for dynamic per-directory envs (direnv, mise hooks):

kitten @ launch --type tab --tab-title "NAME" --hold fish -ic "cd /path/to/project && command args"

Inspect a Running TUI App

List all windows:

kitten @ ls | jq -r '.[] | .tabs[] | .windows[] | "id:\(.id) | title: \(.title) | process: \(.foreground_processes[0].cmdline | join(" "))"'

Capture window output:

kitten @ get-text --match "id:N" --extent screen   # visible only
kitten @ get-text --match "id:N" --extent all      # include scrollback

Send Input

kitten @ send-text --match "id:N" "text"   # Send text
kitten @ send-text --match "id:N" "\r"     # Enter
kitten @ send-text --match "id:N" "\x03"   # Ctrl+C

Close a Tab

kitten @ close-window --match "id:N"

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon