
Cli Anything Iterm2 Ctl
This is the actual programmatic interface to iTerm2, not documentation or advice about how to use it. It gives Claude direct control over a running iTerm2 instance through Python API commands: sending text to sessions, reading scrollback, splitting panes, managing tmux integration, and setting up multi-pane layouts. The standout feature is `app snapshot`, which returns name, directory, process, role label, and last output line for every session in one call, so Claude can orient itself in an existing workspace without reading full screen contents everywhere. Use this when you want Claude to actually manipulate your terminal setup, coordinate across multiple panes, or work with live command output. It assumes you've enabled iTerm2's Python API in preferences.
- skills.sh installs
- 512
- GitHub stars
- 58.5K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add hkuds/cli-anything --skill cli-anything-iterm2-ctl --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/hkuds/cli-anything
- Categories
- Frontend Development, Testing & QA, Automation & Workflows, CLI & Terminal
- First seen
- Jun 3, 2026
More from hkuds/cli-anything
All 51- Cli Anything Adguardhome507
- Cli Anything Slay The Spire Ii506
- Cli Anything Anygen505
- Cli Anything Intelwatch503
- Cli Anything Wiremock503
- Cli Anything Mubu501
- Cli Anything Cloudanalyzer499
- Cli Anything Eth2 Quickstart496
- Cli Anything Novita496
- Cli Anything Zoom496
- Cli Anything Unimol Tools491
- Cli Anything Seaclip486
- Cli Anything Rms485
- Cli Anything Unrealinsights474
- Cli Anything Nsight Graphics448
- Cli Anything Lldb439
- Cli Hub Meta Skill5.8K
- Cli Anything2.2K
- Cli Anything Blender1K
- Cli Anything Obsidian1K
- Cli Anything Notebooklm891
- Cli Anything Libreoffice721
- Cli Anything Drawio712
- Cli Anything Freecad697