Control Cli
Local harness that drives, inspects, and profiles an interactive CLI or TUI without external services.
- CCM score
- 64 of 100
- skills.sh installs
- 2.8K
- GitHub stars
- 20.2K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the harness loop from locating the command under test through capturing screens, sending one action at a time, and cleaning up
- Includes
tmuxcapture-and-send recipes, a standalone PTY probe, Node inspector profiling, and terminal recording options - Enforces deterministic waits on screen patterns over sleeps, plus temp-only harnesses in
/tmpunless the repo already has one - Designed for reproducing CLI/TUI bugs, verifying prompts and resize behavior, and profiling startup, hangs, or memory growth
Install
$ npx -y skills add cursor/plugins --skill control-cli -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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.
- Wait for a concrete screen pattern or prompt before the next action.
- Save the transcript and any profile artifacts.
- Kill the session cleanly.
Details
- Repository
- github.com/cursor/plugins
- Categories
- CLI & Terminal, Testing & QA, Debugging
- First seen
- Jun 23, 2026
Questions
What does the control-cli skill do?
The control-cli skill builds or adapts a local harness to drive, inspect, and profile an interactive CLI or TUI without external services. It covers CLI UX checks, startup regressions, memory leaks, hangs, prompt flows, and terminal demos.
How do I install control-cli?
Run npx -y skills add cursor/plugins --skill control-cli -y in your project. Once installed, the agent can drive a CLI through tmux or a PTY script to reproduce bugs and capture transcripts.
Who is control-cli for?
It suits developers who need to test or debug an interactive command-line app or terminal UI with repeatable input. It is useful for checking keyboard flows, prompts, resize behavior, and startup time.
What tools does control-cli need?
It uses standard local tools such as tmux, a Python or Node PTY probe, or the Node or Bun inspector for profiling. It reuses the repo's own test or demo harness when one exists.
Where does control-cli rank in its category?
In the CLI & Terminal category it ranks in the top 50 on Claude Marketplaces. It stands out by building a deterministic harness for profiling startup, hangs, and memory growth in a local CLI.
More from cursor/plugins
All 93- What Did I Get Done2.8K
- Review And Ship2.8K
- Principle Explain The Number2.8K
- Verify This2.7K
- Correct2.7K
- Weekly Review2.7K
- Benchmark Checklist2.7K
- Fix Ci2.7K
- Control Ui2.6K
- Pr Review Canvas2.5K
- Poteto Help2.5K
- Check Compiler Errors2.5K
- Thermos2.4K
- Get Pr Comments2.4K
- Loop On Ci2.3K
- New Branch And Pr2.3K
- Run Smoke Tests2.3K
- Create Formal Verification Skill2.3K
- Workflow From Chats2.3K
- In Your Own Words2.2K
- Ketchup2.1K
- Sharpen2.1K
- Statechart2.1K
- Maintain Formal Verification Skill2.1K
Similar to Control Cli
More CLI & Terminalcontrol-uiSkillcursor/plugins2.6K installsLocal browser and CDP harness that drives, screenshots, and profiles web, IDE, or Electron UIs with evidence.
tmuxSkillmitsuhiko/agent-stuff399 installsDrive interactive CLIs like Python, gdb, and lldb through tmux sessions on a private socket.
Mcp Console AutomationMCP serverooples54 starsRuns local and SSH console sessions for AI-driven command execution, output monitoring, and error detection.
using-tmux-for-interactive-commandsSkillobra/superpowers-lab517 installsTmux-based control of interactive CLI tools like vim, git rebase -i, and REPLs through detached sessions.
chrome-devtools-cliSkillchromedevtools/chrome-devtools-mcp9.5K installsBrowser automation CLI that drives Chrome DevTools from shell scripts with persistent page state across commands.