sandboxer-tmux
由 chriopter 提供
Web & Frontend Development简介
Dispatch coding tasks to tmux sessions via Sandboxer.
描述
该技能的功能
Sandboxer is a local HTTP API (localhost:8081) that spawns and manages tmux sessions for AI coding agents and terminal tools. You can create sessions for Claude Code, Gemini, OpenCode, bash, or lazygit in any workspace repo, send them tasks, stream their output, and kill them when done. It also manages a structured workspace directory with per-agent config, memory, and git-cloned project repos.
Controlling AI coding sessions over a simple HTTP API lets other agents or scripts orchestrate multi-agent workflows without any manual terminal interaction.
何时使用
- Spawning a Claude Code session to fix failing tests in a specific repo
- Running parallel AI agent sessions across multiple projects without switching terminals
- Sending a follow-up prompt to an in-progress agent session
- Checking the last 20 lines of terminal output to see if a task is still running
- Auto-committing workspace changes after an agent finishes a batch of work
示例工作流
User asks: Have Claude fix the failing tests in the payments repo
- 1
Call GET /api/workspaces to find the payments repo path
- 2
Call GET /api/create?type=claude&dir=/root/workspaces/AGENT/data/repos/payments to spawn a Claude Code session
- 3
Call GET /api/send with the session name and task text to dispatch the instruction
- 4
Poll GET /api/session-monitor every 30 seconds to track status and recent output
- 5
Call GET /api/kill once status shows done
Claude Code completes the task inside the tmux session; full output retrievable via /api/capture
安装
clawhub install chriopter/sandboxer-tmux运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。