Pi Tmux Smoke

WHAT: Drive the real `pi` TUI headlessly inside a tmux pane - boot it, send turns and slash commands with `send-keys`, read the rendered screen back with `capture-pane` - to smoke-test or observe behavior that only exists in an interactive session. WHEN: You need a real `/compact`, a slash command, an overlay (`/todos`, `/scratchpad`), a keybinding, or any extension behavior that the headless SDK can't reproduce, especially against a small model. DO-NOT: Use for anything scriptable through the SDK or `pi --print` (those are faster and assert on structured events, not screen scraping) - reach here only for genuinely interactive surfaces.

weikinhuang Updated

File contents

weikinhuang/dotfiles/tree/main/config/pi/skills/pi-tmux-smoke commit e1999a675f

Frequently asked questions

npx skillmds@latest add weikinhuang/pi-tmux-smoke