Token导航 LogoToken导航TokenDH.com
开发执行命令github未标认证来源可访问许可证需确认审计通过

tmuxxtmuxx 命令行

Agent Skill

tmuxx 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

222

周安装

9

GitHub Stars

1

下载量

70
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tmuxx(tmuxx 命令行)
来源仓库:https://github.com/ladderchaos/tmuxx
仓库路径:skills/tmuxx
安装命令:
npx skills add https://github.com/ladderchaos/tmuxx --skill tmuxx
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ladderchaos/tmuxx --skill tmuxx

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合围绕仓库状态、代码变更或协作事项进行整理和使用。
  • 通过 npx skills add 命令安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态及是否触发联网或文件读写操作。
  • tmuxx 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

tmuxx

Use this skill to control tmux and worktree-based agent tasks through tmuxx agent.

Hard Rules

  • Prefer tmuxx agent for session/window/worktree management. If pane command passthrough fails on a target environment, fall back to raw tmux send-keys for shell builtins.
  • Always pass --json so outputs are machine-parseable.
  • Prefer deterministic workflow commands over low-level primitives:

- start-task - task-report - complete-task - abort-task

  • Only use low-level commands (split-pane, send-command, etc.) when workflow commands cannot solve the request.

Standard Workflow

1) Start task

tmuxx agent start-task <session_name> "<task prompt>" --json

Optional:

  • --branch <name>
  • --base-branch <branch>
  • --agent-command "claude -p" (or other compatible command)

If --agent-command is omitted, tmuxx uses TMUXX_AGENT_COMMAND when set, otherwise claude -p in a normal terminal. Inside an existing agent session, you must pass --agent-command explicitly or set TMUXX_AGENT_COMMAND. tmuxx also rejects same-family nested launches like codex... from Codex when it can detect the current runtime.

Setup Workspace (common first operation)

tmuxx agent create-session dev --json
tmuxx agent create-window dev --name editor --json
tmuxx agent create-window dev --name logs --json
tmuxx agent list-sessions --json

2) Monitor task — with pane-level insights

tmuxx agent task-report <branch> --json
tmuxx agent list-worktrees --json
tmuxx agent list-sessions --json

task-report now includes pane-level details for each task:

  • pane_details[].status: "idle", "running", "waiting_for_input", "error"
  • pane_details[].needs_prompt: True if pane is waiting for user input/approval (permission request, confirmation, etc.)
  • pane_details[].window_name: Which window the pane is in
  • pane_details[].command: What command is running

list-sessions also includes pane-level statuses for every session, so you can see at a glance:

  • Which panes are actively running
  • Which are idle
  • Which are waiting for user input (permission wall, approval prompt, etc.)

3) Complete task

tmuxx agent complete-task <branch> --test-command "<cmd>" --json

4) Abort task

tmuxx agent abort-task <branch> --json

Diagnostics / Inspection

tmuxx agent list-sessions --json
tmuxx agent capture-pane %0 --lines 200 --json
tmuxx agent capture-window @0 --json
tmuxx agent read-agent-log <branch> --json

run-and-capture returns output scoped to the command you sent (not full pane history).

Low-level Operations (Fallback)

tmuxx agent create-session <name> --json
tmuxx agent create-window <session> --name <name> --json
tmuxx agent split-pane %0 --horizontal --json
tmuxx agent send-command %0 --json -- <command text>
tmuxx agent send-text %0 --json -- <text>
tmuxx agent send-keys %0 C-c --json
tmuxx agent send-keys %0 --literal --json -- <text>
tmuxx agent run-and-capture %0 --wait-seconds 2 --lines 200 --json -- <command text>
tmuxx agent resize-pane %0 right --amount 10 --json
tmuxx agent kill-pane %0 --json
tmuxx agent kill-window @0 --json
tmuxx agent kill-session <name> --json

Deep Activity Insights (v0.3.7+)

tmuxx now tracks activities at the pane level to provide visibility into concurrent agent workflows (inspired by Superterm's "agentic attention" concept):

Pane Status Types

  • idle: Pane is waiting at a shell prompt (bash, zsh, etc.)
  • running: Pane has an active process (agent, compiler, test runner)
  • waiting_for_input: Pane is expecting user input (permission request, confirmation, etc.)
  • error: Pane process exited with error

Detecting "Needs Prompt"

The needs_prompt flag detects when a pane is blocked waiting for user action. Patterns detected:

  • Permission requests: "permission needed", "Allow/Deny", etc.
  • Input prompts: "[y/n]", "yes/no", "press any key"
  • Approval walls: "waiting for approval", "confirm action"
  • Tool prompts: "Tool: execute_bash" (Superterm-style)

Example Output

{
  "pane_details": [
    {
      "pane_id": "%0",
      "window_name": "editor",
      "command": "claude",
      "status": "running",
      "needs_prompt": false
    },
    {
      "pane_id": "%1",
      "window_name": "logs",
      "command": "tail",
      "status": "idle",
      "needs_prompt": false
    }
  ]
}

Use Cases

  • Batch agent coordination: Launch 8 agents, check task-report to see which ones are blocked on permissions
  • Deep session monitoring: list-sessions now shows pane statuses across all sessions — no more tab-cycling
  • Prompt detection: Automatically identify when agents hit permission walls or need user approval

TUI Enhancements (v0.3.9+)

The interactive TUI (tmuxx) includes real-time pane activity visualization with ANSI color-rendered preview:

Header Legend

Single-line header with all status indicators:

[tmuxx]  ● active  ● selected  ● attached  ▶ running  ⏸ waiting  ⎇ worktree

Pane Status Badges

Each pane shows inline status in the tree:

  • = running (blue) — agent actively executing
  • = waiting (red) — agent blocked on permission/approval

Worktree Tree Nodes (4th level)

Worktree info appears as a child node under panes (green ⎇ branch-name):

demo
├── editor :0 ●
│   └── zsh %0
├── build :1
│   ├── sleep %1 ▶
│   └── claude %2 ⏸
│       └── ⎇ feature-auth
└── logs :2
    └── tail %3 ▶

Key Improvements

  • ANSI color preview — terminal output renders with full colors
  • Context-aware footer — bindings hide when not applicable (e.g., Kill hidden with no sessions)
  • Prompt detection — automatically flags agents waiting for user input
  • Persistent theme (v0.3.11+) — theme selection saved to ~/.config/tmuxx/config.json and restored on launch
  • Auto worktree detection (v0.3.12+) — any pane in a git worktree shows ⎇ branch automatically, regardless of how it was created
  • Tmux status bar integration (v0.3.13+) — clickable [tmuxx] button in tmux status bar (top-right) to detach back to tmuxx TUI

Error Recovery

When a command fails:

  1. Re-run with identical arguments once.
  2. Run tmuxx agent task-report <branch> --json (if branch-based).
  3. Run tmuxx agent list-sessions --json and tmuxx agent list-worktrees --json.
  4. If still blocked, return the exact command, error text, and suggested next command.

Known Limitations

  • For historical binaries (<=0.3.4), pane command passthrough may fail or require awkward quoting for shell builtins (cd, pwd, export).
  • If stuck on an older binary, use raw tmux send-keys -t <pane> "<text>" Enter as a temporary fallback.

Notes

  • screenshot-window may require optional dependencies (pip install "tmuxx[mcp]").
  • If using npm, npm install -g tmuxx installs only a wrapper. The Python tmuxx binary must still be available in PATH (pipx install tmuxx recommended).
  • Use direct tmux only if tmuxx is not installed or is broken, and explicitly state the reason.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.38%
按下载量换算28

Claude

29.1%
按下载量换算20

Cursor

18.35%
按下载量换算13

Gemini CLI

10.43%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/ladderchaos/tmuxx --skill tmuxx 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills