One-click install
npx skills add https://github.com/oracle-devrel/oracle-ai-developer-hub --skill tmux-oracle-devrel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux
Source: https://github.com/oracle-devrel/oracle-ai-developer-hub/tree/main/apps/picooraclaw/cmd/picooraclaw/internal/onboard/workspace/skills/tmux
Command: npx skills add https://github.com/oracle-devrel/oracle-ai-developer-hub --skill tmux-oracle-devrel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

tmux lets you run and monitor interactive command-line tools without losing input focus, enabling reliable control through keystrokes and pane output scraping.

Core Features & Use Cases

  • Remote pane control via keystrokes: Start interactive sessions in an isolated socket and drive them by sending commands like a human would.
  • Output scraping for agent workflows: Capture pane history to detect prompts, confirm completion, and collect results.
  • Parallel coding agent orchestration: Run multiple agent sessions concurrently (e.g., Codex/Claude Code) and poll panes until each finishes, then retrieve outputs.

Usage notes

Use tmux only for interactive TTY-based tasks; prefer background execution for non-interactive long-running jobs.

Quick Start

Start an isolated tmux session on a private socket, run a Python REPL inside it by sending keystrokes, and then capture the last pane output lines for verification.

Frequently Asked Questions about tmux

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

FAQPage Schema
How do I automate interactive CLI tools and capture terminal output?

You can automate interactive CLI tools by using tmux to send keystrokes to an isolated session and scrape pane output. This approach reliably drives terminal programs by capturing history to detect prompts and confirm task completion.

What is the best way to run multiple coding agents in parallel and monitor their status?

The best way to run parallel coding agents is using tmux session orchestration to start isolated instances. You can poll panes via regex to detect when each agent finishes and retrieve the resulting output.

How do I send keystrokes to a specific terminal pane during session monitoring?

You send keystrokes to a specific pane by targeting it using the session:window.pane convention. This ensures commands are routed correctly within an isolated tmux socket directory for reliable interactive control.

Does terminal automation with tmux work for non-interactive background jobs?

Terminal automation with tmux does not work well for non-interactive jobs. You should prefer standard background execution for long-running tasks and reserve tmux strictly for interactive TTY-based workflows.

Can I detect when a REPL or terminal program is waiting for a prompt?

Yes, you can detect when a program is waiting for a prompt by using capture-pane to collect output and applying regex polling. This allows automated workflows to wait for terminal prompts before sending the next keystrokes.