When you need Claude to control interactive CLI tools like vim, git rebase -i, or Python REPLs, this provides a tmux-based pattern for handling the real terminal requirements those tools expect. The approach is straightforward: spin up a detached tmux session, use send-keys to inject commands (including special keys like Enter and Escape), and capture-pane to see what's on screen. The skill includes practical examples for common scenarios like editing files in vim programmatically and automating interactive git workflows. The main gotcha is remembering to add a brief sleep after starting sessions so tools have time to initialize before you try capturing output. It's the difference between Claude hanging on interactive commands and actually being able to control them.
npx -y skills add microck/ordinary-claude-skills --skill using-tmux-for-interactive-commands --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
github/awesome-copilot
microsoft/win-dev-skills
github/awesome-copilot
github/awesome-copilot