cli-anything-iterm2

Automate iTerm2 sessions, tabs, and windows via its Python API.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/xxxxkkkqq/CineWeave --skill cli-anything-iterm2-xxxxkkkqq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-anything-iterm2
Source: https://github.com/xxxxkkkqq/CineWeave/tree/main/research/upstreams/CLI-Anything/iterm2/agent-harness/cli_anything/iterm2_ctl/skills
Command: npx skills add https://github.com/xxxxkkkqq/CineWeave --skill cli-anything-iterm2-xxxxkkkqq

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables users to manage and automate iTerm2 sessions on macOS with precise commands, improving efficiency in terminal workflows.

Core Features & Use Cases

  • Session management: Send commands, read output, and control panes, tabs, and windows programmatically.
  • Workspace orientation: Snapshot current session states including paths, processes, and custom roles.
  • Automation: Setup complex layouts, broadcast commands, and interact with tmux integrations for streamlined workflows.

Quick Start

Use the CLI to list all sessions, identify panes by role, and send commands to automate terminal tasks.

Frequently Asked Questions about cli-anything-iterm2

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate iTerm2 session management via the command line?

You can automate iTerm2 session management by using this Skill to programmatically send commands, read output, and control panes, tabs, and windows. It leverages iTerm2's Python API to interact with your terminal environment.

What's the best way to snapshot current iTerm2 session states and paths?

The best way to snapshot current iTerm2 session states is by using this Skill's workspace orientation feature. It captures current paths, running processes, and custom roles to document your terminal workspace.

Does this iTerm2 automation Skill support tmux integration?

Yes, this iTerm2 automation Skill supports tmux integration. You can interact with tmux sessions to streamline workflows, setup complex layouts, and broadcast commands across managed terminal panes.

Do I need the iTerm2 Python API to control panes and tabs programmatically?

Yes, you need the iTerm2 Python API and scripting interface enabled to control panes and tabs programmatically. This Skill relies on that interface to function properly and manage terminal layouts.

Can I broadcast commands across multiple iTerm2 panes and windows?

Yes, you can broadcast commands across multiple iTerm2 panes and windows. This Skill automates sending commands to identified sessions, allowing you to execute tasks across complex layouts simultaneously.