control-cli

Automate deterministic tmux and PTY harnesses to test interactive CLIs.

2.6k|204|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/cursor/plugins --skill control-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: control-cli
Source: https://github.com/cursor/plugins/tree/main/cursor-team-kit/skills/control-cli
Command: npx skills add https://github.com/cursor/plugins --skill control-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Build a repeatable local harness to exercise an interactive CLI or TUI without relying on external services, enabling deterministic bugs reproduction and UX validation.

Core Features & Use Cases

  • Reproducible CLI/TUI interactions with deterministic inputs using tmux or PTY-based sessions.
  • Lightweight, repo-native harness options and quick adapters for in-repo CLI tools.
  • Transcript capture, startup profiling, and UX regression checks to enable fast fixes and demonstrations.
  • Flexible debugging and profiling workflows that work with local development environments.

Quick Start

Point the harness at your CLI binary and run a minimal session to capture a deterministic transcript.

Frequently Asked Questions about control-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test interactive CLI applications deterministically?

To test interactive CLIs deterministically, you automate a local harness using tmux or PTY-based sessions to drive your CLI with fixed inputs, reproducing bugs and validating UX without relying on external services.

Can I capture terminal transcripts for CLI UX regression checks?

Yes, you can capture terminal transcripts for CLI UX regression checks by running your binary through a deterministic tmux or PTY harness, recording exact output sequences to enable fast fixes and local demonstrations.

Does this CLI testing harness support memory profiling and startup regression checks?

Yes, the CLI testing harness supports lightweight profiling workflows including memory profiling and startup regression checks, executing local sessions to capture performance data within your development environment.

What is the best way to automate TUI testing locally without external dependencies?

The best way to automate TUI testing locally is using a repo-native harness with quick adapters for in-repo CLI tools, leveraging tmux and PTY sessions for flexible debugging and profiling workflows.

Do I need tmux to run deterministic CLI interaction sessions?

No, you do not need tmux exclusively, as the harness also supports PTY-based sessions; both options provide deterministic environment control to exercise interactive CLI or TUI applications locally.