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

using-tmux-for-interactive-commands

yousufjoyian/claude-skills

當您需要運行需要實時輸入/輸出的交互式 CLI 工具(vim、git rebase -i、Python REPL 等)時使用 - 提供基於 tmux 的方法,用於通過分離會話和發送密鑰控制交互式會話

3安裝·1熱度·@yousufjoyian

安裝

$npx skills add https://github.com/yousufjoyian/claude-skills --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 的方法,用於通過分離會話和發送密鑰控制交互式會話 來源:yousufjoyian/claude-skills。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/yousufjoyian/claude-skills --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 的方法,用於通過分離會話和發送密鑰控制交互式會話 來源:yousufjoyian/claude-skills。

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

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/yousufjoyian/claude-skills --skill using-tmux-for-interactive-commands 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/yousufjoyian/claude-skills

詳情

分類
</>開發工具
來源
skills.sh
收錄時間
2026-02-01