·using-tmux-for-interactive-commands
</>

using-tmux-for-interactive-commands

ovachiever/droid-tings

当您需要运行需要实时输入/输出的交互式 CLI 工具(vim、git rebase -i、Python REPL 等)时使用 - 提供基于 tmux 的方法,用于通过分离会话和发送密钥控制交互式会话

30安装·0热度·@ovachiever

安装

$npx skills add https://github.com/ovachiever/droid-tings --skill using-tmux-for-interactive-commands

SKILL.md

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.

| Start session | tmux new-session -d -s | | Send input | tmux send-keys -t 'text' Enter | | Capture output | tmux capture-pane -t -p | | Stop session | tmux kill-session -t | | List sessions | tmux list-sessions |

For easier use, see /home/jesse/git/interactive-command/tmux-wrapper.sh:

当您需要运行需要实时输入/输出的交互式 CLI 工具(vim、git rebase -i、Python REPL 等)时使用 - 提供基于 tmux 的方法,用于通过分离会话和发送密钥控制交互式会话 来源:ovachiever/droid-tings。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/ovachiever/droid-tings --skill using-tmux-for-interactive-commands
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 using-tmux-for-interactive-commands?

当您需要运行需要实时输入/输出的交互式 CLI 工具(vim、git rebase -i、Python REPL 等)时使用 - 提供基于 tmux 的方法,用于通过分离会话和发送密钥控制交互式会话 来源:ovachiever/droid-tings。

如何安装 using-tmux-for-interactive-commands?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/ovachiever/droid-tings --skill using-tmux-for-interactive-commands 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/ovachiever/droid-tings