tmux

Send keystrokes and read output from tmux sessions.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/nuno7lopes/alisio --skill tmux-nuno7lopes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/nuno7lopes/alisio/tree/main/skills/tmux
Command: npx skills add https://github.com/nuno7lopes/alisio --skill tmux-nuno7lopes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tmux, and includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the management of tmux sessions by allowing you to send keystrokes and scrape pane output, making interactive CLI sessions more manageable.

Core Features & Use Cases

  • Session Control: Send keystrokes and read output from tmux sessions.
  • Use Case: Ideal for monitoring and interacting with Claude/Codex sessions in tmux, navigating panes programmatically, and checking on background work in existing sessions.

Quick Start

Use the tmux skill to send 'hello' to the 'shared' session.

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 an interactive CLI session in tmux?

To send keystrokes to an interactive CLI session in tmux, use this Skill to programmatically inject commands into targeted panes. It targets long-running processes like Claude or Codex sessions, allowing direct interaction without manual terminal input.

Can I scrape and read pane output from existing tmux sessions?

Yes, you can scrape and read pane output from existing tmux sessions. The Skill captures terminal output programmatically, making it ideal for monitoring background work and checking the status of long-running interactive CLI processes.

Do I need tmux installed to manage interactive sessions with this approach?

Yes, you need tmux installed and configured on your system to manage interactive sessions. This Skill acts as a programmatic interface for tmux and requires the underlying CLI tool to be present on macOS or Linux environments.

What is the best way to monitor long-running Claude or Codex sessions in tmux?

The best way to monitor long-running Claude or Codex sessions in tmux is by using this Skill to send keystrokes and scrape output. It simplifies session control by letting you navigate panes and check on background work programmatically.

Does this tmux session control method work on macOS and Linux?

Yes, this tmux session control method works on both macOS and Linux. As long as the tmux dependency is installed and configured on your operating system, you can manage interactive CLI sessions and scrape output seamlessly.

Why scrape tmux output instead of running commands directly in the terminal?

Scraping tmux output instead of running commands directly allows you to interact with long-running processes programmatically. This approach is necessary when monitoring existing interactive CLI sessions or navigating panes without disrupting background work.