← 返回 Skills 市场
3049
总下载
6
收藏
10
当前安装
1
版本数
在 OpenClaw 中安装
/install tmux-agents
功能描述
Manage background coding agents in tmux sessions. Spawn Claude Code or other agents, check progress, get results.
安全使用建议
This skill is coherent with its stated purpose, but review and consider the following before installing or running it:
- Review scripts (spawn.sh) locally: it cd's to ~/clawd — adjust or remove that if you don't want the agent working directory to be your home/project path.
- Be cautious about the agent CLI flags: --dangerously-skip-permissions, --auto-edit and --full-auto can make agents accept permissions or apply edits automatically. Use them only if you trust the agent and understand the consequences.
- The skill relies on external CLIs (claude, codex, gemini, ollama). Ensure those CLIs are installed and configured with the correct API keys/credentials; the skill does not declare or manage those credentials.
- Treat agent names and custom commands as executable input: if you pass untrusted strings as the agent argument they will be invoked as commands inside tmux. Avoid using this skill with untrusted inputs.
- Test in a safe environment first (a throwaway repo or container) and avoid running as a privileged user. If you want to limit risk, remove or alter the auto-approve flags and the hardcoded cd before using.
If you want me to, I can suggest a safer spawn.sh variant that omits auto-approve flags, validates inputs, and uses a configurable working directory instead of ~/clawd.
功能分析
Type: OpenClaw Skill
Name: tmux-agents
Version: 1.0.0
The skill bundle is classified as suspicious due to a potential command injection vulnerability in `scripts/spawn.sh`. The script's `case` statement includes a default `*)` block that directly executes the `$AGENT` variable with the `$TASK` as an argument (`$AGENT "$TASK"`). If an attacker can leverage prompt injection against the OpenClaw agent to pass an arbitrary string as the `AGENT` parameter (e.g., `'; rm -rf /; echo '`), it could lead to arbitrary command execution on the host system. Although `SKILL.md` defines a limited set of valid agents, the script itself does not enforce this validation, creating a significant risk if the calling agent can be coerced into providing malicious input.
能力评估
Purpose & Capability
Name/description, required binary (tmux), the brew install of tmux, and included scripts align with a tool that spawns and manages tmux-based agent sessions. Using external agent CLIs (claude, codex, gemini, ollama) is consistent with the stated purpose.
Instruction Scope
spawn.sh sends commands into tmux that launch external CLIs and runs them with flags like --dangerously-skip-permissions and --auto-edit/--full-auto which may cause agents to accept permissions or auto-apply edits without interactive confirmation. The script also unconditionally cds to ~/clawd (a hardcoded path) which is not documented as required and may cause unexpected behavior or operate on files in that directory.
Install Mechanism
Install uses a Homebrew formula for tmux, a well-known package source; nothing is downloaded from an arbitrary URL and no archive extraction is used. This is low risk.
Credentials
The skill declares no required env vars or credentials, but the runtime expects external agent CLIs that typically require API keys/config (cloud agents). Those credentials are not requested or documented as required environment variables — the scripts assume the user has preconfigured CLIs. Also the hardcoded ~/clawd path is an implicit config that wasn't declared.
Persistence & Privilege
always is false and the skill does not request elevated or persistent platform-wide privileges, nor does it modify other skills or global agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install tmux-agents - 安装完成后,直接呼叫该 Skill 的名称或使用
/tmux-agents触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: spawn Claude, Codex, Gemini agents + Ollama local variants in tmux sessions
元数据
常见问题
Tmux Agents 是什么?
Manage background coding agents in tmux sessions. Spawn Claude Code or other agents, check progress, get results. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3049 次。
如何安装 Tmux Agents?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install tmux-agents」即可一键安装,无需额外配置。
Tmux Agents 是免费的吗?
是的,Tmux Agents 完全免费(开源免费),可自由下载、安装和使用。
Tmux Agents 支持哪些平台?
Tmux Agents 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Tmux Agents?
由 cuba6112(@cuba6112)开发并维护,当前版本 v1.0.0。
推荐 Skills