tmux

Send keystrokes to tmux sessions and scrape pane output.

Updated Feb 9, 2026
One-click install
npx skills add https://github.com/tokamak-network/eth-nanobot --skill tmux-tokamak-network
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/tokamak-network/eth-nanobot/tree/main/nanobot/skills/tmux
Command: npx skills add https://github.com/tokamak-network/eth-nanobot --skill tmux-tokamak-network

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Interacting with long-running CLI processes inside tmux can be tedious when you need to send commands and read output from multiple panes. This Skill enables programmatic control of tmux sessions, reducing manual switching and repetitive input.

Core Features & Use Cases

  • Remote keystroke input: send commands to a tmux session and control panes programmatically.
  • Output scraping: capture pane output for logging, monitoring, or decision-making.
  • Use Case: Automate debugging workflows by steering a shell session and collecting results without manual interaction.

Quick Start

Start a tmux session on a private socket, attach to it, send keys, and retrieve the pane output for monitoring.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I send keystrokes to a tmux session programmatically?

You can send keystrokes to a tmux session programmatically by using this Skill to control panes remotely, formatting the target socket and session correctly to execute safe, auditable commands without manual interaction.

How do I scrape terminal output from a tmux pane for monitoring?

Scraping terminal output from a tmux pane is done by capturing the session's pane content programmatically, enabling automated logging, monitoring, and decision-making for long-running CLI processes across multiple panes.

Can I automate debugging workflows by steering a shell session in tmux?

Yes, you can automate debugging workflows by steering a shell session in tmux, sending commands to specific panes and collecting the resulting output to reduce repetitive manual input and context switching.

What is the best way to manage multi-pane tmux workflows for automation?

The best way to manage multi-pane tmux workflows for automation is to programmatically control sessions on a private socket, sending targeted keystrokes and scraping output to orchestrate interactive development and monitoring tasks.

Do I need a private socket to safely execute tmux commands for automated control?

Using a private socket is recommended to safely execute tmux commands for automated control, ensuring that session handling, target formatting, and keystroke execution remain isolated and auditable during interactive workflows.