Skip to content
TakoAPI
Back to skills

sandboxer-tmux

by chriopter

Web & Frontend Development
563Downloads reported by clawskills.sh
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Dispatch coding tasks to tmux sessions via Sandboxer.

Description

What This Skill Does

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.

When to Use It

  • 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

Example Workflow

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

Installation

clawhub install chriopter/sandboxer-tmux

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links