tmux

Send keystrokes and capture pane output from tmux sessions.

Updated May 18, 2022
One-click install
npx skills add https://github.com/kendreaditya/.config --skill tmux-kendreaditya
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/kendreaditya/.config/tree/main/claude/skills/tmux
Command: npx skills add https://github.com/kendreaditya/.config --skill tmux-kendreaditya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Enable automated, scriptable control of tmux sessions to manage interactive CLIs, capture pane output, and drive long-running terminal tasks without manual input.

Core Features & Use Cases

  • Programmatic session creation, attachment, and navigation across windows and panes.
  • Send keystrokes and read pane output to automate interactive tools (Claude Code, editors, REPLs).
  • Useful for orchestrating multi-step CLI workflows, testing terminal apps, and long-running automation.

Quick Start

Control a named tmux session by sending keystrokes and reading pane output.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate tmux sessions and send keystrokes programmatically?▼

You can automate tmux sessions by scriptatically sending keystrokes and capturing pane output. This enables programmatic control over interactive CLI workflows and long-running terminal tasks without manual input.

What is tmux session automation used for in terminal workflows?▼

Tmux session automation is used for orchestrating multi-step CLI workflows, testing terminal applications, and managing long-running automation tasks. It handles session creation, attachment, and synchronized pane navigation.

Can I capture pane output from an interactive CLI running inside tmux?▼

Yes, capturing pane output is a core feature of tmux automation. You can read terminal output directly from panes to automate interactive tools like REPLs, text editors, and long-running scripts.

Does tmux scripting support safe error handling for long-running terminal tasks?▼

Tmux scripting applies safe error handling to long-running terminal tasks. This ensures that automated pane navigation, input dispatch, and session management operations fail gracefully without corrupting your workflow.

What is the best way to orchestrate multi-step workflows across multiple tmux panes?▼

The best way to orchestrate multi-step workflows is using programmatic tmux control to dispatch input and navigate windows. This allows you to drive synchronized terminal tasks and interactive sessions automatically.

Do I need any external dependencies to script interactive CLI tools with tmux?▼

No external dependencies are required to script interactive CLI tools with tmux. The automation runs directly using scripts to manage session creation, input dispatch, and pane output capture.