npx skills add ...
npx skills add cursor/plugins --skill control-cli
Build or adapt a local harness to drive, inspect, and profile an interactive CLI or TUI without external services. Use for CLI UX checks, startup regressions, memory leaks, hangs, prompt flows, or terminal demos.
npx skills add cursor/plugins --skill control-cli
Use a repeatable local harness to exercise an interactive CLI instead of poking at it manually. First reuse the repo's own test/demo harness if it exists; otherwise assemble a temporary harness from standard local tools.
tmux: managed sessions, capture-pane, send-keys, attach/detach.For Node CLIs:
Read the terminal output to find the inspector URL, then use Chrome DevTools-compatible tooling if profiling is needed.
Use a PTY script when you need deterministic waits in a repo that does not have tmux or a demo harness. Keep it temporary unless the user asks to add a reusable test.
If the CLI needs richer terminal control, use pty.fork() or an existing PTY library.
/tmp unless the repo already has a testing/demo harness.