Cli Anything Iterm2
Stateful CLI harness that sends text, reads output, and manages iTerm2 panes, tabs, and tmux sessions.
- CCM score
- 56 of 100
- skills.sh installs
- 590
- GitHub stars
- 67.7K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers iTerm2 command groups for app, window, tab, session, profile, arrangement, tmux, broadcast, menu, and preferences
- 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 Python API enabled under Preferences, General, Magic
- Designed for agents orienting in an existing workspace, sending commands, reading scrollback, or automating panes
Install
$ npx -y skills add hkuds/cli-anything --skill cli-anything-iterm2 -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
- Categories
- CLI & Terminal, Workflow Automation
- First seen
- Jun 3, 2026
Questions
What does the cli-anything-iterm2 skill let an agent do in iTerm2?
cli-anything-iterm2 lets an agent send text to live iTerm2 sessions, read terminal output and scrollback, manage windows, tabs and split panes, run tmux -CC workflows, and broadcast keystrokes to several panes. It also reads and writes iTerm2 preferences and shows macOS dialogs.
How do I install the cli-anything-iterm2 skill?
Run npx -y skills add hkuds/cli-anything --skill cli-anything-iterm2 -y in a project to install it. Once installed, the agent can use the cli-anything-iterm2 commands to act on iTerm2 instead of answering from memory.
What do I need before cli-anything-iterm2 can control iTerm2?
cli-anything-iterm2 needs macOS with iTerm2 running, and the iTerm2 Python API enabled under Preferences, General, Magic. The commands themselves are installed with pip install cli-anything-iterm2.
How does cli-anything-iterm2 help an agent find out what is running in my iTerm2 workspace?
cli-anything-iterm2 offers app snapshot, which returns every session's name, current directory, foreground process, role label and last output line in one call. An agent can orient in an existing workspace without reading each pane in full.
Where does cli-anything-iterm2 sit in the CLI and Terminal category?
cli-anything-iterm2 is listed in the CLI and Terminal category on Claude Marketplaces. Its own focus is driving iTerm2 directly, covering panes, tmux and preferences.
More from hkuds/cli-anything
All 51- Cli Anything Exa587
- Cli Anything Pm2586
- Cli Anything Safari580
- Cli Anything Renderdoc576
- Cli Anything Cloudcompare574
- Cli Anything Iterm2 Ctl571
- 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
Similar to Cli Anything Iterm2
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.
smuxSkillshawnpana/smux3K installsCross-pane messaging and raw tmux control for coordinating AI agents across panes.
using-tmux-for-interactive-commandsSkillobra/superpowers-lab517 installsTmux-based control of interactive CLI tools like vim, git rebase -i, and REPLs through detached sessions.
cmux-terminal-multiplexerSkillreason-machines/trending-skills1.4K installsTerminal multiplexer with a programmable socket API and snapshot-based browser automation for AI coding agents.