sandboxer
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.
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- sandboxer
- version
- 1.0.0
- description
- 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.
03 SKILL.md 正文
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
.gitignoreexcludesdata/— repo contents stay in their own git, not the workspace commit - The workspace git only tracks:
.mdfiles,.gitignore, andcronjobs/ - Always read CLAUDE.md / AGENTS.md in both workspace AND repo before dispatching work to a session
API Reference
| Endpoint | What |
|---|---|
GET /api/sessions |
List all sessions (status: running/idle/done/error) |
GET /api/create?type=T&dir=D |
Spawn session |
GET /api/session-monitor?session=S |
Last 20 lines + status + duration |
GET /api/capture?session=S |
Full terminal output |
GET /api/send?session=S&text=T |
Send keystrokes |
GET /api/forward?session=S&task=T |
Ctrl+C then send task |
GET /api/kill?session=S |
Kill session |
GET /api/workspaces |
List workspaces (with repos) |
GET /api/workspace-repos?workspace=W |
List repos in workspace |
GET /api/repo-tree?path=P |
Repo file tree with git status |
GET/POST /api/workspace/W/file/PATH |
Read/write workspace files |
POST /api/auto-commit?workspace=W |
Commit workspace changes |
POST /api/create accepts JSON body with notify_url — gets called when session finishes.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.