tmux

Control tmux sessions by sending keystrokes and scraping pane output.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/balaraj74/F.R.I.D.A.Y --skill tmux-balaraj74
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/balaraj74/F.R.I.D.A.Y/tree/main/skills/tmux
Command: npx skills add https://github.com/balaraj74/F.R.I.D.A.Y --skill tmux-balaraj74

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows you to manage and interact with terminal sessions remotely, enabling the orchestration of multiple command-line tools and AI agents in a structured and efficient manner.

Core Features & Use Cases

  • Remote TTY Management: Control tmux sessions for interactive command-line tasks.
  • Agent Orchestration: Spawn and manage multiple coding agents or CLI tools in parallel.
  • Output Scraping: Capture pane output for monitoring and analysis.
  • Use Case: Run several AI coding agents simultaneously on different projects, monitor their progress, and collect their outputs without needing to manually switch between terminals.

Quick Start

Use the tmux skill to create a new detached session named 'my-session' and run the command 'ls -l' inside it.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I manage multiple command-line agents in isolated terminal sessions?

You can manage multiple command-line agents by using tmux to create isolated TTY environments. This allows you to spawn, orchestrate, and monitor parallel coding agents in detached sessions without manually switching terminals.

Can I run interactive CLI tools in the background and capture their output?

Yes, you can run interactive CLI tools in the background by sending keystrokes to detached tmux sessions. The skill scrapes pane output, enabling you to monitor progress and collect results from background processes.

What is the best way to orchestrate remote coding agents without keeping terminal windows open?

Orchestrating remote coding agents without open windows is done by spawning them inside detached tmux sessions. This isolates each agent in a separate TTY, allowing them to run long-term while you monitor output remotely.

Do I need tmux installed to control remote TTYs and automate CLI tasks?

Yes, you need the 'tmux' binary installed and accessible on your system's PATH to control remote TTYs. The skill relies on this dependency to send keystrokes and scrape pane output for terminal automation.

How do I send keystrokes to a background process running in a terminal session?

To send keystrokes to a background process, you attach the command to a named tmux session. The skill automates this by passing keystrokes directly to the targeted pane, allowing remote control of the interactive CLI.

Are there limitations when using terminal multiplexing for agent orchestration?

A limitation of using terminal multiplexing for agent orchestration is that it depends entirely on the 'tmux' binary. Complex interactive outputs may also require careful pane scraping to accurately capture all relevant session data.