# control-cli

> Claude/Codex skill by [@cursor](https://omgskills.com/library/cursor/index.md) · 5k stars · Updated 2026-08-25

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.

## Install

```sh
git clone https://github.com/cursor/plugins /tmp/plugins && ln -s /tmp/plugins/cursor-team-kit/skills/control-cli ~/.claude/skills/control-cli
```

## From README

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. What It Is Used For Reproducing CLI/TUI bugs with deterministic input. Verifying keyboard flows, prompts, interrupts, resize behavior, and terminal layout. Capturing before/after transcripts for bug fixes. Profiling startup time, slow operations, hangs, or memory growth. Recording a short terminal demo when output is easier to show than explain. Harness Loop Identify the command under test and the smallest reproducible workspace. Discover existing local harnesses: package scripts, e2e tests, demo recorders, expect scripts, or PTY helpers. If no harness exists, launch the CLI in an isolated terminal session with deterministic env vars. Capture the current screen before interacting. Send one action at a time: text, Enter, arrows, Escape, Ctrl-C, resize.

## Links

- HTML page: https://omgskills.com/skills/cursor/plugins/control-cli/
- GitHub: https://github.com/cursor/plugins
- Author: [@cursor](https://omgskills.com/library/cursor/index.md)

## More from this repo

- [advisor](https://omgskills.com/skills/cursor/plugins/advisor/skills/advisor/index.md) — Advisor mode.
   - [@cursor](https://omgskills.com/library/cursor/index.md) · 7k stars
- [architect](https://omgskills.com/skills/cursor/plugins/architect/index.md) — Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in.
   - [@cursor](https://omgskills.com/library/cursor/index.md) · 6.9k stars
- [arena](https://omgskills.com/skills/cursor/plugins/arena/index.md) — Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it.
   - [@cursor](https://omgskills.com/library/cursor/index.md) · 5k stars
