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.
npx skills add https://github.com/hkuds/cli-anything --skill cli-anything-iterm2