tmux-sender

Send and execute commands in another tmux pane via send-keys.

9|1|Updated Jan 15, 2016
One-click install
npx skills add https://github.com/wadackel/dotfiles --skill tmux-sender-wadackel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tmux-sender
Source: https://github.com/wadackel/dotfiles/tree/main/home/programs/claude/skills/tmux-sender
Command: npx skills add https://github.com/wadackel/dotfiles --skill tmux-sender-wadackel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates sending and executing commands in another tmux pane, enabling cross-pane workflows without manual pane switching.

Core Features & Use Cases

  • Send keys to a target tmux pane in the same session.
  • Create a new pane if no suitable target exists.
  • Properly escape and send complex commands, including special characters.

Quick Start

Identify the target tmux pane and send a command to it for immediate execution.

Frequently Asked Questions about tmux-sender

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

FAQPage Schema
How do I send commands to a specific tmux pane automatically?

You can execute commands in another tmux pane by identifying the target pane via $TMUX_PANE and applying tmux send-keys to dispatch the keystrokes for immediate execution.

Can I split a tmux window and send a command to the new pane in one step?

If no suitable target pane exists, this Skill creates a new pane using tmux split-window and then dispatches commands to it, enabling seamless multi-pane orchestration.

Does tmux send-keys properly escape special characters when sending shell commands?

Yes, tmux send-keys properly escapes and sends complex commands, including special characters, ensuring that the shell interprets the multi-pane orchestration commands correctly.

What is the best way to automate cross-pane terminal workflows without manual switching?

Automating cross-pane terminal workflows is best achieved by orchestrating pane management programmatically, dispatching commands to target panes via send-keys to eliminate manual pane switching.

Do I need an existing tmux session to create new panes and dispatch commands?

You need to be in a tmux session to identify target panes via $TMUX_PANE, but if no suitable target pane exists, the Skill can create a new pane automatically using split-window.

Why use tmux send-keys for DevOps automation instead of running commands in the current shell?

Using tmux send-keys for DevOps automation allows you to dispatch commands to separate panes, keeping long-running processes visible in the terminal while executing parallel orchestration tasks.