← 返回
开发者工具 中文

Skill

Dispatch coding tasks to tmux sessions via Sandboxer. Use when you need to spawn Claude Code, Gemini, OpenCode, bash, or lazygit sessions in workspace repos, monitor their progress, or send them commands.
通过 Sandboxer 将编码任务分配到 tmux 会话。用于在工作区仓库中启动 Claude Code、 Gemini、OpenCode、bash 或 lazygit 会话,监控进度,或发送命令。
chriopter
开发者工具 clawhub v1.0.1 1 版本 99854.9 Key: 无需
★ 0
Stars
📥 1,376
下载
💾 4
安装
1
版本
#latest

概述

Sandboxer — Dispatch Tasks to Tmux Sessions

> Power-user skill. Sandboxer gives agents full access to tmux sessions, workspace files, and terminal output on your server. Intended for dedicated AI machines where agents run with root access. Not for shared or untrusted environments.

Sandboxer runs on localhost:8081. No auth needed from localhost.

Quick: Dispatch a Task

# 1. Spawn a Claude session in a repo
curl "localhost:8081/api/create?type=claude&dir=/root/workspaces/AGENT/data/repos/PROJECT"

# 2. Send it a task
curl "localhost:8081/api/send?session=SESSION_NAME&text=Fix+the+failing+tests"

# 3. Check progress
curl "localhost:8081/api/session-monitor?session=SESSION_NAME"

# 4. Kill when done
curl "localhost:8081/api/kill?session=SESSION_NAME"

Session types: claude, bash, lazygit, gemini, opencode

Workspace Structure

Sandboxer manages /root/workspaces/ — a single git repo containing all agent workspaces.

/root/workspaces/                          ← git repo (Sandboxer commits this)
├── .gitignore                             ← tracks only .md, .gitignore, cronjobs/
├── <agent-name>/                          ← one folder per OpenClaw agent
│   ├── AGENTS.md                          ← agent behavior rules
│   ├── SOUL.md, USER.md, TOOLS.md         ← agent identity & config
│   ├── MEMORY.md                          ← curated long-term memory
│   ├── TODO.md                            ← workspace task list (P1/P2/P3)
│   ├── CLAUDE.md                          ← coding rules for this workspace
│   ├── memory/YYYY-MM-DD.md               ← daily memory logs
│   ├── cronjobs/                          ← cron configs (tracked by git)
│   └── data/
│       └── repos/                         ← software projects (git clones)
│           ├── <project-a>/               ← separate git repo
│           │   ├── CLAUDE.md              ← project-specific coding rules
│           │   └── ...source code...
│           └── <project-b>/

Key rules:

  • data/repos/ contains separate git repos — each project has its own .git, branches, remotes
  • The workspace .gitignore excludes data/ — repo contents stay in their own git, not the workspace commit
  • The workspace git only tracks: .md files, .gitignore, and cronjobs/
  • Always read CLAUDE.md / AGENTS.md in both workspace AND repo before dispatching work to a session

API Reference

EndpointWhat
----------------
GET /api/sessionsList all sessions (status: running/idle/done/error)
GET /api/create?type=T&dir=DSpawn session
GET /api/session-monitor?session=SLast 20 lines + status + duration
GET /api/capture?session=SFull terminal output
GET /api/send?session=S&text=TSend keystrokes
GET /api/forward?session=S&task=TCtrl+C then send task
GET /api/kill?session=SKill session
GET /api/workspacesList workspaces (with repos)
GET /api/workspace-repos?workspace=WList repos in workspace
GET /api/repo-tree?path=PRepo file tree with git status
GET/POST /api/workspace/W/file/PATHRead/write workspace files
POST /api/auto-commit?workspace=WCommit workspace changes

POST /api/create accepts JSON body with notify_url — gets called when session finishes.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-29 04:04 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,532
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,927
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 427 📥 118,385