Lewati ke konten
TakoAPI
Kembali ke skill

sandboxer-tmux

oleh chriopter

Web & Frontend Development
563Unduhan dilaporkan oleh clawskills.sh
0Tayangan
0 sukaMasuk untuk menyukai skill ini
—Belum ada penilaian
Penilaian Anda

Ringkasan

Dispatch coding tasks to tmux sessions via Sandboxer.

Deskripsi

Apa yang Dilakukan Skill Ini

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.

Kapan Menggunakannya

  • 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

Contoh Alur Kerja

INPUT

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

OUTPUT

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

Instalasi

clawhub install chriopter/sandboxer-tmux

Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.

Tautan