Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

sandboxer-tmux

bởi chriopter

Web & Frontend Development
563Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Dispatch coding tasks to tmux sessions via Sandboxer.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: Have Claude fix the failing tests in the payments repo

AGENT
  1. 1

    Call GET /api/workspaces to find the payments repo path

  2. 2

    Call GET /api/create?type=claude&dir=/root/workspaces/AGENT/data/repos/payments to spawn a Claude Code session

  3. 3

    Call GET /api/send with the session name and task text to dispatch the instruction

  4. 4

    Poll GET /api/session-monitor every 30 seconds to track status and recent output

  5. 5

    Call GET /api/kill once status shows done

ĐẦU RA

Claude Code completes the task inside the tmux session; full output retrievable via /api/capture

Cài đặt

clawhub install chriopter/sandboxer-tmux

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết