tmux-autopilot

Automate tmux session, window, and pane management for terminal operations.

Updated Feb 23, 2026
One-click install
npx skills add https://github.com/zphwd/bianchengbaodian --skill tmux-autopilot-zphwd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux-autopilot
Source: https://github.com/zphwd/bianchengbaodian/tree/main/skills/tmux-autopilot
Command: npx skills add https://github.com/zphwd/bianchengbaodian --skill tmux-autopilot-zphwd

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill allows AI to intelligently control and interact with tmux sessions, enabling automated terminal operations, remote assistance, and collaborative workflows.

Core Features & Use Cases

  • Terminal Automation: Read pane output, send keystrokes, and manage tmux sessions/windows/panes.
  • AI Collaboration: Facilitate multi-AI terminal coordination and rescue stuck processes.
  • Use Case: An AI needs to deploy a new service. It can use this Skill to create a new tmux session, set up multiple panes for monitoring logs and running commands, and send the deployment commands to the correct panes.

Quick Start

Use the tmux-autopilot skill to send the 'y' key and Enter to the tmux pane located at session '0', window '3', pane '0'.

Frequently Asked Questions about tmux-autopilot

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

FAQPage Schema
How do I automate tmux session and pane management for AI-driven terminal operations?

You can automate tmux session, window, and pane management by using AI to read pane output, send keystrokes, and coordinate multi-AI terminal collaboration. This enables automated deployment and monitoring across multiple panes.

Can I use AI to send keystrokes and read output from specific tmux panes?

Yes, AI can send specific keystrokes like the 'y' key and Enter to targeted tmux panes identified by session, window, and pane indices. It can also read the output displayed in those panes to inform subsequent actions.

Do I need oh-my-tmux conventions to control tmux sessions with AI?

Yes, adhering to oh-my-tmux conventions is required for safe and deterministic execution when AI controls tmux sessions. You also need tmux version 2.6 or higher installed in your environment.

What is the best way to coordinate multiple AI agents in a terminal environment?

The best way to coordinate multiple AI agents in a terminal is through tmux session automation that facilitates multi-AI terminal collaboration. This allows agents to manage separate panes and rescue stuck processes.

Why does AI-driven tmux control require specific session and window indices?

AI-driven tmux control requires specific session, window, and pane indices to ensure keystrokes and commands are sent to the correct terminal target. This deterministic targeting prevents actions from executing in the wrong pane.

Can tmux automation help rescue stuck processes in remote terminal sessions?

Yes, tmux automation can rescue stuck processes in remote terminal sessions by allowing AI to read the pane output to diagnose the state and send corrective keystrokes. This facilitates remote assistance and collaborative workflows.