using-tmux-for-interactive-commands

Community

Control interactive CLI tools with tmux automation.

Authorovachiever
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Interactive CLI tools (vim, git rebase -i, Python REPL, etc.) require a real terminal. tmux enables detached sessions and programmatic control via send-keys and capture-pane.

Core Features & Use Cases

  • Detached sessions: run interactive commands in the background
  • send-keys & capture: feed input and capture screen state
  • Common patterns: Python REPL, Vim editing, and interactive Git workflows

Quick Start

Example workflows:

  • Start a session: tmux new-session -d -s edit_session vim file.txt
  • Send input: tmux send-keys -t edit_session 'i' 'Hello World' Escape ':wq' Enter
  • Capture: tmux capture-pane -t edit_session -p
  • Stop: tmux kill-session -t edit_session

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: using-tmux-for-interactive-commands
Download link: https://github.com/ovachiever/droid-tings/archive/main.zip#using-tmux-for-interactive-commands

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository