Drive and inspect an interactive CLI or TUI with a repeatable local harness, deterministic input, transcripts, and optional profiling.

MITAuto-check passed

Install Control CLI

skills CLI
$ npx skills add AnastasiyaW/codex-claude-code-config --skill control-cli -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install AnastasiyaW/codex-claude-code-config control-cli --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/AnastasiyaW/codex-claude-code-config.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/development/control-cli .claude/skills/control-cli && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
control-cli
GitHub stars
154
Token cost
~887 tokens
SKILL.md length
456 words
Files
1
Skills in repo
50
Repo updated
First seen
Licence
MIT

At a glance

Drive and inspect an interactive CLI or TUI with a repeatable local harness, deterministic input, transcripts, and optional profiling.

  • Works in 7 steps: Identify the command, smallest fixture,… → Discover existing package scripts, PTY… → Launch in an isolated environment with… → …
  • Startup regressions
  • SKILL.md covers Harness Loop, Evidence, Safety and Gotchas, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Control CLI is an agent skill from AnastasiyaW/codex-claude-code-config. Drive and inspect an interactive CLI or TUI with a repeatable local harness, deterministic input, transcripts, and optional profiling. Use for CLI UX checks, prompt flows, startup regressions, hangs, interrupts, resize behavior, or memory growth. Do not use for a non-interactive command that a normal test can cover.

Its SKILL.md is about 890 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Claude Code, Codex, and multi-agent configuration system: principles, hooks, skills, and workflow patterns for AI-assisted development. The licence is MIT.

When your agent uses it

  • Startup regressions
  • Resize behavior
  • A non-interactive command that a normal test can cover

Example prompts

  • “/control-cli”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Identify the command, smallest fixture, expected ready marker, and cleanup
  2. Discover existing package scripts, PTY helpers, expect scripts, demo
  3. Launch in an isolated environment with deterministic variables and local
  4. Capture the initial screen or transcript.
  5. Send one action at a time and wait for a concrete prompt or screen marker.
  6. Capture the resulting transcript and any requested profile artifact.
  7. Stop the process and remove temporary sessions, ports, and profiles.

What it can do on your machine

Read from SKILL.md and the folder at commit e71c6a8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Control CLI loads about 887 tokens when it runs. Until then it costs about 82 tokens; SKILL.md has 456 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~82
When it runs · the whole SKILL.md, loaded when a task matches
~887

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from AnastasiyaW/codex-claude-code-config at commit e71c6a8, republished under its MIT licence (© AnastasiyaW). 456 words, ~887 tokens.

Download SKILL.mdSave it as .claude/skills/control-cli/SKILL.md (or your agent's skills folder).
name
control-cli
description
Drive and inspect an interactive CLI or TUI with a repeatable local harness, deterministic input, transcripts, and optional profiling. Use for CLI UX checks, prompt flows, startup regressions, hangs, interrupts, resize behavior, or memory growth. Do not use for a non-interactive command that a normal test can cover.

Control CLI

Exercise an interactive terminal program through a small, repeatable harness. Prefer a repository-native demo or test harness; only assemble a temporary PTY or terminal session when the project has no suitable one.

Harness Loop

  1. Identify the command, smallest fixture, expected ready marker, and cleanup condition.
  2. Discover existing package scripts, PTY helpers, expect scripts, demo recorders, or TUI tests.
  3. Launch in an isolated environment with deterministic variables and local disposable data.
  4. Capture the initial screen or transcript.
  5. Send one action at a time and wait for a concrete prompt or screen marker.
  6. Capture the resulting transcript and any requested profile artifact.
  7. Stop the process and remove temporary sessions, ports, and profiles.

On Windows, prefer the project's own test runner or a checked-in Python/Node probe. Use ConPTY or an already-installed PTY helper when available; do not add a dependency just to run a one-off probe. On other systems, tmux, pty, or a repository-supported terminal harness may be appropriate.

Evidence

For a bug fix or regression, run the same deterministic interaction against the baseline and treatment and pass the captures to verify-this. For a hang, keep the last screen, process exit state, timeout, and a stack/CPU sample when available. For memory growth, use equal repetitions and record before/after snapshots or a bounded allocation metric.

Prefer stable text markers and accessibility-aware terminal probes over sleeps. If a sleep is unavoidable, state why and keep it bounded.

Safety

  • Never send credentials, destructive commands, or production paths into the controlled session.
  • Do not rely on stale screen state after navigation, resize, or a prompt change.
  • Do not hard-code paths, ports, or commands from another repository.
  • Keep transcripts and profiles private when they contain prompts, source, or user data.
Show full SKILL.md (165 more words)Show less

Gotchas

  • A process that exits successfully before receiving input is not proof that the interactive flow works; assert the ready marker and the expected state change.
  • Fixed sleeps hide race conditions and make a green run non-repeatable.
  • A terminal transcript can miss rendering defects; use a real UI surface for graphical claims.
  • Cleanup must be verified, especially after a timeout or forced interrupt.

Troubleshooting

SymptomLikely causeAction
Harness hangsWrong ready marker or child process owns the terminalCapture the screen, inspect the process tree, then terminate cleanly
Input is ignoredProgram is not in the expected prompt stateWait for a fresh marker and send one action only
Works manually, fails in harnessHidden environment, terminal size, or timing dependencyRecord env/size and replace sleeps with state-based waits
Transcript is emptyOutput is on another stream or the PTY was detachedCapture stdout and stderr through the repo-native harness and verify file size

Source

Adapted from Cursor Team Kit's MIT-licensed control-cli workflow: https://github.com/cursor/plugins/tree/main/cursor-team-kit/skills/control-cli

© AnastasiyaW, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/development/control-cli of AnastasiyaW/codex-claude-code-config.

Open the folder on GitHubat commit e71c6a8

Compare with similar skills

Control CLI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Control CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Control CLI this skillAnastasiyaW/codex-claude-code-config154—~887Automated safety check: PassMIT
Prototype Openclaw Tuiopenclaw/openclaw392k—~1.3kAutomated safety check: PassMIT
Node Inspect Debuggeropenclaw/openclaw392k1 repos~894Automated safety check: PassMIT
Interactive CLI Testing With tui-testslopus/happy24k—~603Automated safety check: PassMIT
Feishu Driveopenclaw/openclaw392k—~375Automated safety check: PassMIT
Remotion Interactivityremotion-dev/remotion62k5 repos~4.8kAutomated safety check: PassCustom licence

Similar skills

  • Prototype Openclaw Tui

    openclaw/openclaw

    Build throwaway, fixture-driven OpenClaw Clack or Pi TUI prototypes and compare multiple interactive variants side by side in tmux without running the full application or touching live state.

    392k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Node Inspect Debugger

    openclaw/openclaw

    Debug Node.js with node inspect, --inspect, breakpoints, CDP, heap, and CPU profiles.

    392k GitHub starsUsed in 1 repo~894 tokens
    Frontend & DesignAuto-check passed
  • Tests interactive CLI and TUI programs with Microsoft's tui-test, driving prompts, arrow keys and screen output in a real pseudo-terminal.

    24k GitHub stars~603 tokensUpdated today
    Testing & QAAuto-check passed
  • Feishu Drive

    openclaw/openclaw

    Feishu cloud-storage and comment workflows. An agent skill from openclaw/openclaw.

    392k GitHub stars~375 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Remotion Interactivity

    remotion-dev/remotion

    Official

    Structure Remotion markup for interactivity. An agent skill from remotion-dev/remotion.

    62k GitHub starsUsed in 5 repos~4.8k tokens
    Media & CreativeAuto-check passed
  • Guides adding Firecrawl's /interact endpoint to product code for pages that need clicks, forms, pagination or logged-in flows beyond plain scraping.

    190k GitHub starsUsed in 1 repo~731 tokens
    Data & AnalyticsAuto-check passed

More from AnastasiyaW/codex-claude-code-config

All 50 skills in this repo
  • Bug Reproducer

    AnastasiyaW/codex-claude-code-config

    Find likely software bugs in a codebase, rank concrete bug candidates, and prove or reject them with focused regression tests before proposing a fix.

    154 GitHub stars~4.1k tokensUpdated today
    Auto-check passed
  • Motion Framer

    AnastasiyaW/codex-claude-code-config

    A skill your agent uses when implementing Motion or Framer Motion in React/JavaScript: interactive UI components, micro-interactions, gestures, layout or page transitions, and scroll-based animation.

    154 GitHub starsUsed in 1 repo~5.2k tokens
    Auto-check passed
  • Proof Verify

    AnastasiyaW/codex-claude-code-config

    Plan-based verification - freeze acceptance criteria before building, then verify after with an independent fresh-context agent (the builder must not verify their own work).

    154 GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Workflow Orchestration

    AnastasiyaW/codex-claude-code-config

    Написание и запуск Claude Code dynamic workflows (JS-оркестратор субагентов).

    154 GitHub stars~3.8k tokensUpdated today
    Auto-check passed
  • Notebooklm Grounded Research

    AnastasiyaW/codex-claude-code-config

    A skill your agent uses when: NotebookLM, notebooklm MCP, large documentation sets, courses, books, papers, or citation-backed research are mentioned.

    154 GitHub stars~2.4k tokensUpdated today
    Auto-check: warnings
  • Deepseek Provider Contract

    AnastasiyaW/codex-claude-code-config

    Validate a proposed DeepSeek API integration before any key or project context is sent: check thinking-mode tool-call history, strict-schema assumptions, bounded output, and provider data boundaries.

    154 GitHub stars~1.2k tokensUpdated today
    Auto-check passed

Questions about Control CLI

What does Control CLI do?

Drive and inspect an interactive CLI or TUI with a repeatable local harness, deterministic input, transcripts, and optional profiling. Control CLI is an agent skill from AnastasiyaW/codex-claude-code-config. Drive and inspect an interactive CLI or TUI with a repeatable local harness, deterministic input, transcripts, and optional profiling.

When should I use Control CLI?

Control CLI fits situations like: startup regressions; resize behavior; A non-interactive command that a normal test can cover.

How do I install Control CLI in Claude Code?

Run `npx skills add AnastasiyaW/codex-claude-code-config --skill control-cli -a claude-code`. Or copy the skill folder (skills/development/control-cli in AnastasiyaW/codex-claude-code-config) into .claude/skills/control-cli in your project. Claude Code loads it when a task matches its description.

How do I install Control CLI in Codex?

Run `npx skills add AnastasiyaW/codex-claude-code-config --skill control-cli -a codex`. Or copy the skill folder (skills/development/control-cli in AnastasiyaW/codex-claude-code-config) into .agents/skills/control-cli in your project. Codex loads it when a task matches its description.

Can I use Control CLI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AnastasiyaW/codex-claude-code-config --skill control-cli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/control-cli, .gemini/skills/control-cli, .github/skills/control-cli and .opencode/skills/control-cli in your project.

What does Control CLI need to run?

SKILL.md names no scripts, command-line tools or credentials: Control CLI is instructions for the agent only.

Does Control CLI access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Control CLI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Control CLI use?

Control CLI is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Control CLI use?

About 887 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Control CLI?

Skills that share tags, products or a category with Control CLI: Prototype Openclaw Tui (openclaw/openclaw, 392k stars), Node Inspect Debugger (openclaw/openclaw, 392k stars), Interactive CLI Testing With tui-test (slopus/happy, 24k stars) and Feishu Drive (openclaw/openclaw, 392k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Control CLI?

AnastasiyaW (a GitHub user) maintains it in AnastasiyaW/codex-claude-code-config, which has 154 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on October 7, 2026.

Source: AnastasiyaW/codex-claude-code-config on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.