一键导入
tmux-sessions
Manage tmux sessions on remote Linux servers for persistent terminal sessions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Manage tmux sessions on remote Linux servers for persistent terminal sessions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Essential file system operations.
Common Git version control operations.
Upload, download, and edit files on remote servers via NAVIG
Summarize web pages, articles, YouTube videos, and documents using AI
Query and manage databases on remote servers via NAVIG
Check GitHub repos, CI status, PRs, and issues using the gh CLI
| name | tmux-sessions |
| description | Manage tmux sessions on remote Linux servers for persistent terminal sessions |
| user-invocable | true |
| os | ["linux"] |
| navig-commands | ["navig run \"tmux list-sessions\"","navig run \"tmux new -d -s {name}\"","navig run \"tmux send-keys -t {session} '{command}' Enter\"","navig run \"tmux capture-pane -p -t {session}\"","navig run \"tmux kill-session -t {session}\""] |
| examples | ["List tmux sessions on the server","Start a long-running script in tmux","Check what's running in my tmux session","Kill the backup tmux session","Create a new tmux session for monitoring"] |
Manage persistent terminal sessions on remote Linux servers using tmux. Perfect for long-running tasks that should survive SSH disconnects.
User says: "What tmux sessions are running?"
navig run "tmux list-sessions 2>/dev/null || echo 'No tmux sessions running'"
Response format:
🧵 tmux Sessions on {host}:
• backup: 1 window (created 2h ago) - attached
• monitor: 2 windows (created 1d ago) - detached
• deploy: 1 window (created 30m ago) - detached
User says: "Start a background backup in tmux"
navig run "tmux new -d -s backup"
navig run "tmux send-keys -t backup 'mysqldump -u root mydb | gzip > /backup/db.sql.gz' Enter"
Response:
🧵 Created tmux session 'backup'
Running: mysqldump -u root mydb | gzip > /backup/db.sql.gz
Status: ▶️ In progress
Check output: Ask me "check backup session"
User says: "What's happening in the backup session?"
navig run "tmux capture-pane -p -t backup -S -50"
Shows the last 50 lines of output from that session.
User says: "Set up monitoring on the server"
navig run "tmux new -d -s monitor"
navig run "tmux send-keys -t monitor 'htop' Enter"
User says: "Stop the backup session"
navig run "tmux kill-session -t backup"
Response:
🧵 Session 'backup' terminated ✅
navig run "tmux send-keys -t {session} '{command}' Enter"
navig run "tmux send-keys -t {session} C-c"
navig run "tmux new -d -s backup-job 'tar czf /backup/full-$(date +%F).tar.gz /var/www && echo DONE'"
navig run "tmux new -d -s logs 'tail -f /var/log/nginx/access.log'"
navig run "tmux new -d -s migrate 'cd /var/www/app && php artisan migrate --force'"
navig run 'apt install -y tmux'"navig run 'sudo apt install -y tmux'"tmux attach -t {name} for interactive access (via navig shell)