Cli Anything Iterm2 Ctl
Stateful CLI harness that sends text, reads live output, and manages iTerm2 panes, windows, tmux, and preferences.
- CCM score
- 58 of 100
- skills.sh installs
- 571
- GitHub stars
- 67.7K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers command groups for app, window, tab, session, profile, arrangement, tmux, broadcast, menu, and pref, plus a REPL mode
- Includes
app snapshot, which returns each session's name, directory, foreground process, role label, and last output line in one call - Requires macOS, iTerm2, and the iTerm2 Python API enabled, with
--jsonoutput for agent use - Designed for agents that orient in an existing workspace, run commands, read scrollback, or automate panes instead of answering from memory
Install
$ npx -y skills add hkuds/cli-anything --skill cli-anything-iterm2-ctl -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
cli-anything-iterm2
Stateful CLI harness for iTerm2. Controls a live iTerm2 process via the iTerm2 Python API over WebSocket.
Prerequisites
- macOS + iTerm2 running:
brew install --cask iterm2 - Python API enabled: iTerm2 → Preferences → General → Magic → Enable Python API
- Install:
pip install cli-anything-iterm2(orpip install -e .from source)
Basic Syntax
cli-anything-iterm2 [--json] <group> <command> [OPTIONS] [ARGS]
Always use --json for machine-readable output (required for agent use).
Command Groups
Details
- Repository
- github.com/hkuds/cli-anything
- Category
- CLI & Terminal
- First seen
- Jun 3, 2026
Questions
What does the cli-anything-iterm2-ctl skill do?
It gives an agent the cli-anything-iterm2 commands to control a live iTerm2 process. It can send text to sessions, read live output and scrollback, manage windows, tabs and split panes, run tmux -CC workflows, and read or write iTerm2 preferences.
How do I install the cli-anything-iterm2-ctl skill?
Run npx -y skills add hkuds/cli-anything --skill cli-anything-iterm2-ctl -y in your project. Once installed, the agent can orient in an existing iTerm2 workspace, send commands, and read pane output.
What do I need before using this skill with iTerm2?
You need macOS with iTerm2 running and the iTerm2 Python API enabled under Preferences, General, Magic. You also need to install the cli-anything-iterm2 package with pip.
Where does this skill stand in the CLI & Terminal category?
It is listed in the CLI & Terminal category alongside herdr, gws-shared, opentui, cf-cli and pnpm. It sets itself apart by focusing on sending text to iTerm2 sessions and reading live output, including the app snapshot command that summarizes every session in one call.
More from hkuds/cli-anything
All 51- Cli Anything Adguardhome567
- Cli Anything Anygen566
- Cli Anything Intelwatch565
- Cli Anything Slay The Spire Ii563
- Cli Anything Wiremock560
- Cli Anything Cloudanalyzer559
- Cli Anything Mubu559
- Cli Anything Eth2 Quickstart555
- Cli Anything Novita554
- Cli Anything Zoom554
- Cli Anything Unimol Tools548
- Cli Anything Seaclip545
- Cli Anything Rms544
- Cli Anything Unrealinsights533
- Cli Anything Nsight Graphics506
- Cli Anything Lldb497
- Cli Hub Meta Skill7.1K
- Cli Anything2.4K
- Cli Anything Blender1.2K
- Cli Anything Obsidian1.1K
- Cli Anything Notebooklm958
- Cli Anything Libreoffice802
- Cli Anything Drawio785
- Cli Anything Freecad785
Similar to Cli Anything Iterm2 Ctl
More CLI & TerminaltmuxSkillopenclaw/openclaw5.9K installsControl existing tmux sessions by listing panes, capturing output, and sending keys safely.
cli-anything-notebooklmSkillhkuds/cli-anything958 installsUnofficial CLI harness that drives NotebookLM for notebooks, sources, chat, artifacts, and downloads.
ItermMCP serverferrislucas574 starsCommand execution and output reading in the active iTerm2 session on macOS.
cli-anything-blenderSkillhkuds/cli-anything1.2K installsA stateful Blender CLI for scene editing with JSON output, undo/redo, and real preview rendering for agents.
smuxSkillshawnpana/smux3K installsCross-pane messaging and raw tmux control for coordinating AI agents across panes.