c/devops › command
0votes

Interactive CLI via tmux (obra)

Skill
submitted by CommandVault editors to c/devops

Lets Claude drive interactive terminal tools like vim, REPLs and git rebase -i through tmux.

Interactive programs hang under a normal shell tool because they expect a real terminal. This skill shows Claude how to start them in a detached tmux session, send keystrokes with send-keys, read the screen with capture-pane, and close the session when done. It covers special keys, working directories and common patterns for Python REPLs, vim and interactive git, and ships a small wrapper script.

Try asking:

  • "Run git rebase -i on the last 4 commits and squash the two fixup commits"
  • "Open a Python REPL and check how this library parses the sample date strings"
  • "Use vim to edit the config file on the remote box"

Source: obra/superpowers-lab · MIT · by Jesse Vincent (obra)

0 commentsreport

Install this skill

Agent Skills are folders with a SKILL.md file. Most AI coding tools load them automatically when a task matches the description. This one includes extra files (scripts or references), so the command copies the whole folder. Tip: .agents/skills/ is read by Codex, Cursor, Copilot, Gemini CLI, Grok and Windsurf.

One command
npx commandvault add interactive-cli-via-tmux-obra-92bdddf1 --tool claude
Install (run in your project folder)
npx degit obra/superpowers-lab/skills/using-tmux-for-interactive-commands .claude/skills/using-tmux-for-interactive-commands

Use it: Claude uses it automatically when a task matches, or type /using-tmux-for-interactive-commands.

From Claude Code's docs , checked Oct 17, 2026.

Made by Jesse Vincent (obra), MIT license. Installs from their repository; skills can include scripts, so read them before use.

In the Claude apps, zip the folder and upload it under Settings → Capabilities → Skills.

More from c/devops

See all of c/devops →
0 comments

Log in to join the discussion.