# using-tmux-for-interactive-commands

> Claude/Codex skill by [@obra](https://omgskills.com/library/obra/index.md) · 404 stars · Updated 2026-06-01

Use when you need to run interactive CLI tools (vim, git rebase -i, Python REPL, etc.) that require real-time input/output - provides tmux-based approach for controlling interactive sessions through detached sessions and send-keys

## Install

```sh
git clone https://github.com/obra/superpowers-lab /tmp/superpowers-lab && ln -s /tmp/superpowers-lab/skills/using-tmux-for-interactive-commands ~/.claude/skills/using-tmux-for-interactive-commands
```

## From README

Using tmux for Interactive Commands Overview Interactive CLI tools (vim, interactive git rebase, REPLs, etc.) cannot be controlled through standard bash because they require a real terminal. tmux provides detached sessions that can be controlled programmatically via send-keys and capture-pane.

## Links

- HTML page: https://omgskills.com/skills/obra/superpowers-lab/using-tmux-for-interactive-commands/
- GitHub: https://github.com/obra/superpowers-lab
- Author: [@obra](https://omgskills.com/library/obra/index.md)

## More from this repo

- [finding-duplicate-functions](https://omgskills.com/skills/obra/superpowers-lab/finding-duplicate-functions/index.md) — Used when auditing a codebase for semantic duplication - functions that do the same thing but have different names or...
   - [@obra](https://omgskills.com/library/obra/index.md) · 404 stars

## More skills by this author

- [systematic-debugging](https://omgskills.com/skills/obra/superpowers/systematic-debugging/index.md) — Used when encountering any bug, test failure, or unexpected behavior, before proposing fixes
   - [@obra](https://omgskills.com/library/obra/index.md) · 285k stars
- [brainstorming](https://omgskills.com/skills/obra/superpowers/brainstorming/index.md) — You MUST use this before any creative work - creating features, building components, adding functionality, or modifying...
   - [@obra](https://omgskills.com/library/obra/index.md) · 280k stars
