
Cli Anything Iterm2
This is the canonical way to programmatically control iTerm2 from Claude. It wraps the iTerm2 Python API so you can send commands to terminals, read live output and scrollback, manage windows and split panes, and work with tmux integration mode. The killer command is `app snapshot`, which returns every session's name, directory, running process, role label, and last output line in one call, so you can orient yourself in an existing workspace without reading full screen contents. It maintains context between commands, supports shell integration for reliable prompt detection, and includes broadcast domains for syncing keystrokes across panes. If you're asking Claude to do anything with iTerm2 beyond basic questions, this skill should be loaded.
- skills.sh installs
- 530
- GitHub stars
- 58.5K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add hkuds/cli-anything --skill cli-anything-iterm2 --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 Openscreen530
- Cli Anything Dify Workflow527
- Cli Anything Pm2527
- Cli Anything Exa526
- Cli Anything Renderdoc518
- Cli Anything Safari518
- Cli Anything Cloudcompare512
- Cli Anything Iterm2 Ctl512
- 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