Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

control-cli — Claude Code skill: what it does, how to install

Builds a local harness to drive, test, and profile interactive CLI or TUI tools. Catches UI regressions, memory leaks, and hangs without third-party services.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add cursor/plugins --skill control-cli -a claude-code
Open on GitHub

What control-cli does

The skill drives interactive terminal apps inside isolated local sessions instead of relying on manual testing. It checks the project for existing test harnesses or scripts first. When none exist, it creates a temporary test loop using tmux or a short PTY script in Python or Node. Actions like keypresses, Ctrl-C interrupts, and terminal resizing happen step by step.

For profiling startup bottlenecks or memory growth, the workflow connects Node or Bun runtime inspectors directly. The harness avoids arbitrary sleep calls, waiting instead for concrete output patterns before continuing. Temporary test scripts live in /tmp and get purged when the run finishes, preventing leftover background sessions from lingering.

What it helps with

  • reproduce interactive CLI bugs with deterministic keystroke sequences
  • profile startup regressions and heap usage in terminal utilities
  • verify terminal layout behavior during window resizing and abort signals
  • capture clean screen transcripts for pull requests and bug fixes

Example prompts for the agent

  • Run a tmux test session to check how the CLI handles Ctrl-C interrupts
  • Profile memory usage during interactive prompt navigation
  • Capture terminal output step by step to reproduce the layout crash

How to install control-cli

1Skills CLI (Vercel)

npx skills add cursor/plugins --skill control-cli -a claude-code

2Manually: put the files in place

~/.claude/skills/control-cli/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/control-cli/

From the same set18

The whole set →
unslop cursor This skill removes common AI writing patterns, filler, and vague phrasing while keeping the meaning and intended tone. Use it when polishing text. Claude Code CX Codex Cursor +1 27,700installs thermo-nuclear-code-quality-review cursor Runs a strict maintainability audit of code changes, abstractions, large files, and branching complexity. Use it when a routine review needs deeper structural scrutiny. Claude Code CX Codex Cursor +1 22,200installs deslop cursor Inspects branch diffs against main to remove AI-generated code clutter and inconsistent styling. Ideal for polishing branch changes before pull request review. Claude Code CX Codex Cursor +1 9,300installs how cursor Explores codebase architecture and runtime execution paths before you edit code. Helps determine module ownership, layering, and placement for new features. Claude Code CX Codex Cursor +1 5,900installs why cursor The skill investigates why code took its current shape by checking Git history and available MCP sources, then returns cited findings about decisions and tradeoffs. Claude Code CX Codex Cursor +1 5,700installs fix-merge-conflicts cursor Resolves merge conflicts in a branch, then checks the build and tests before wrapping up. Use it when several conflicted files need focused fixes without a refactor. Claude Code CX Codex Cursor +1 2,700installs thermo-nuclear-review cursor A skill for comprehensive analysis of branch changes: checks code for bugs, broken functionality, security vulnerabilities, and feature-gate leaks. Use when you need thorough review before merge. Claude Code CX Codex Cursor +1 2,700installs review-and-ship cursor This skill automates code review before shipping: checks for bugs, tests, and intent fit, then commits and opens a PR. Use it to verify your work is ready before merge. Claude Code CX Codex Cursor +1 2,500installs

Similar

quantized-export Seth Hobson Exports promoted checkpoints and LoRA adapters as FP8, AWQ, GGUF, or merged safetensors. Use it before deploying a model. Claude Code CX Codex Cursor 2,600installs eval-harness-first Seth Hobson Builds the evaluation harness before fine-tuning with goldens, graders, judge calibration, and a base-model baseline. Useful for tracking regressions. Claude Code CX Codex Cursor 2,600installs checkpoint-promotion Seth Hobson Gates a trained checkpoint before release by checking data quality, capability drift, forgetting, and paired results against the base model. Claude Code CX Codex Cursor 2,600installs dart-migrate-to-checks-package dart-lang Migrates Dart test suites from legacy package:matcher to package:checks. Useful when modernizing test assertions for static type safety and detailed diagnostics. Claude Code CX Codex Cursor +1 18,000installs validate-skills Callstack Checks skills in skills/ against the agentskills.io specification and Claude Code practices. Use it when authoring or reviewing a skill collection. Claude Code CX Codex Cursor +1 7,200installs pptx-quality-gates kimtth Checks and repairs editable PPTX decks for geometry, accessibility, native objects, source lineage, and OOXML package integrity before delivery. Claude Code CX Codex Cursor 2,500installs improve-codebase-architecture Matt Pocock This skill scans a codebase for architectural friction, then builds a visual HTML report with refactoring candidates. Use it before a deeper architecture review. Claude Code 1,163,035installs design-taste-frontend Leonxlnx This skill directs the design of public pages and work screens, then checks the result in a browser through screenshots. Use it when an interface feels generic or unfinished. Claude Code CX Codex Cursor +1 673,100installs

Questions about control-cli

How to install control-cli in Claude Code?

Run npx skills add cursor/plugins --skill control-cli -a claude-code in your terminal.

What does control-cli do?

It creates local test harnesses using tmux or PTY scripts to exercise interactive command-line programs and capture output deterministically.

What dependencies does control-cli require?

It relies on existing repository test scripts, a local tmux binary, or Python with the built-in pty module. Node or Bun runtime inspectors are used when profiling JavaScript CLIs.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor