Agent skill

Agentbox Info

by madarco in madarco/agentbox

Spin up isolated sandboxes ("boxes") for coding agents, run them in parallel, queue background runs with -i, and push commits safely through the host relay.

MITAuto-check: warningsDevOps & Cloud

Install Agentbox Info

The automated check flagged lines worth reading first. See the safety section below.

skills CLI
$ npx skills add madarco/agentbox --skill agentbox-info -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install madarco/agentbox agentbox-info --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/madarco/agentbox.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/agentbox/skills/agentbox-info .claude/skills/agentbox-info && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
agentbox-info
GitHub stars
523
Used in
1 other repo
Token cost
~6.6k tokens
SKILL.md length
2,949 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Spin up isolated sandboxes ("boxes") for coding agents, run them in parallel, queue background runs with -i, and push commits safely through the host relay.

  • Works in 7 steps: Never assume the host needs SSH keys… → Destroy boxes when they're done —… → Use workspaces, tasks and the timeline… → …
  • The user wants to run Claude Code / Codex / OpenCode in a sandbox
  • SKILL.md covers What AgentBox is, in one…, The two starting commands, -i / --initial-prompt:… and Forking the current session…, plus 9 more sections
  • Calls gh, git and vercel; reaches github.com

What it does

Agentbox Info is an agent skill from madarco/agentbox. Spin up isolated sandboxes ("boxes") for coding agents, run them in parallel, queue background runs with -i, and push commits safely through the host relay. Use when the user wants to run Claude Code / Codex / OpenCode in a sandbox, start more boxes, attach to a running box, or otherwise operate the agentbox CLI on their laptop.

Its SKILL.md is about 6.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud. It works with Docker, tmux and Vercel. The repository describes itself as: Run multiple agents in parallel sandboxed VMs, with a single command, on your PC or in the cloud. The licence is MIT.

When your agent uses it

  • The user wants to run Claude Code / Codex / OpenCode in a sandbox
  • Start more boxes
  • Attach to a running box
  • Otherwise operate the agentbox CLI on their laptop

Example prompts

  • “/agentbox-info”

Requirements

  • Docker

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Never assume the host needs SSH keys forwarded into a box — git is handled by the relay, by design.
  2. Destroy boxes when they're done — agentbox destroy when the work is done (or agentbox destroy --box a --box b -y for a whole fan-out, one…
  3. Use workspaces, tasks and the timeline when you manage — agentbox tasks add "…" to split or parallelize work across boxes, then agentbox…
  4. Use -i whenever the user asks for parallel agent work rather than spawning multiple foreground sessions. Then point them at agentbox…
  5. Pick the provider deliberately. docker is the fast default. --provider hetzner gives a real VPS (heavier, isolated, requires agentbox…
  6. Cross-check before recommending a command. If a flag isn't listed here, run agentbox --help (it's safe and read-only) before suggesting it…
  7. /agentbox-setup is a different skill. It runs inside a box to generate /workspace/agentbox.yaml. Don't conflate it with /agentbox…

What it can do on your machine

Read from SKILL.md and the folder at commit 605ee75. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh
    • git
    • vercel
    • bash
    • npm
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Agentbox Info loads about 6.6k tokens when it runs. Until then it costs about 87 tokens; SKILL.md has 2,949 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~87
When it runs · the whole SKILL.md, loaded when a task matches
~6.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: warnings

The automated check found patterns that need a careful read before installing.

  • WarningMentions a credentials file (SSH keys, cloud or package-manager tokens)SKILL.md:305
    ll <box> --ssh-config          # writes ~/.ssh/config + prints details
  • WarningMentions a credentials file (SSH keys, cloud or package-manager tokens)SKILL.md:309
    writes a `Host <box-name>` alias into `~/.ssh/config` (pointing at the box's IP and its
  • WarningMentions a credentials file (SSH keys, cloud or package-manager tokens)SKILL.md:327
    `<ssh-alias>` (it's already in `~/.ssh/config`).

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from madarco/agentbox at commit 605ee75, republished under its MIT licence (© madarco). 2,949 words, ~6,561 tokens.

Download SKILL.mdSave it as .claude/skills/agentbox-info/SKILL.md (or your agent's skills folder).
name
agentbox-info
description
Spin up isolated sandboxes ("boxes") for coding agents, run them in parallel, queue background runs with -i, and push commits safely through the host relay. Use when the user wants to run Claude Code / Codex / OpenCode in a sandbox, start more boxes, attach to a running box, or otherwise operate the `agentbox` CLI on their laptop.
user-invocable
false
<!-- agentbox-managed:v1 -->

AgentBox (host-side)

You are operating on the user's host machine (laptop / dev workstation), not inside a box. Use the agentbox CLI to provision isolated sandboxes for coding agents and to attach to them.

If you find yourself inside a box (/workspace exists and AGENTBOX_RELAY_URL is set in the env), this is the wrong skill — use the in-box /agentbox-setup skill instead.

What AgentBox is, in one paragraph

AgentBox spins up one isolated sandbox per agent run — a local Docker container (default), a Hetzner VPS (--provider hetzner), a Vercel Sandbox (--provider vercel), an E2B microVM (--provider e2b), or a Daytona cloud sandbox (--provider daytona, partial support). Each box has its own /workspace, but the host's .git/ is shared, so commits made inside the box land on the host immediately. The agent inside the box has no host credentials — git push, opening URLs in the host browser, capturing checkpoints, and all other host-side operations flow through a small host process called the relay that runs alongside the CLI.

The two starting commands

agentbox create

Provision a box and stop. The box exists and is ready, but nothing is launched inside it.

sh
agentbox create                       # docker, auto-named after the workspace
agentbox create -n review             # docker, friendly name
agentbox create --provider hetzner    # cloud VPS (requires `agentbox prepare --provider hetzner` once)
agentbox create --attach              # drop into a shell inside the box after create

Useful flags: -n <name> (friendly box name), --provider docker|daytona|hetzner|vercel|e2b, --attach, -w <path> (workspace to mount; defaults to cwd), --snapshot <ref> (start from a checkpoint).

Non-docker providers require a one-time agentbox prepare --provider <name> to bake the base image / snapshot.

agentbox claude

Provision (same as create) and launch Claude Code inside the box, in a detachable tmux session. This is the main entry point most users want.

sh
agentbox claude                       # docker, attaches your terminal
agentbox claude -n review             # second box, named
agentbox claude --provider hetzner    # cloud
agentbox claude -- --model sonnet     # extra args after `--` go to claude itself

While attached: Ctrl+a d detaches without killing claude. The box keeps running. Reattach with agentbox claude attach <name|n>.

Variants with the same shape for other agents: agentbox codex, agentbox opencode.

-i / --initial-prompt: background queue

With -i "<prompt>", agentbox claude (and codex / opencode) does not attach. It writes a job manifest to ~/.agentbox/queue/<id>.json and exits immediately, printing the job id and log path. The host relay's queue loop drains these manifests respecting queue.maxConcurrent (global config; override per invocation with --max-running <n>).

Use this to fan out parallel agent runs:

sh
agentbox claude -i "fix the failing test in src/auth and open a PR"
agentbox claude -i "draft a CHANGELOG entry from the last 20 commits"
agentbox claude -i "audit our dependencies for known CVEs"

Each call returns instantly. The queue drains them concurrently up to queue.maxConcurrent. Inspect / attach later:

sh
agentbox dashboard                    # TUI with status + leader-key actions
agentbox claude attach <name|n>       # reattach to a specific box

-i works on every provider — pass --provider daytona|hetzner|vercel|e2b (or set box.provider) and the queued job creates a cloud box and pre-starts the seeded agent session detached, same as docker. The host must have valid agent credentials. Extra args after -- are forwarded to the in-box agent (e.g. agentbox claude -i "<prompt>" --provider vercel -- --permission-mode=plan).

-i honors the project's carry: block: the carry gate runs on the host when you submit (it prompts there, since you're at the terminal), and the approved files ride the queued job and land in the box at create time. Auto-approve non-interactively with --carry-yes (or AGENTBOX_CARRY_YES=1); skip with --carry skip (or AGENTBOX_CARRY=skip). The same three work on a plain agentbox create with no TTY. A file that IS present and approved but cannot be copied (permissions, an unwritable dest) fails the create and names the entry — only optional: true sources that are simply absent are skipped silently.

Forking the current session into a box

From host Claude, run the /agentbox slash command (optional arg: docker | daytona | hetzner | vercel | e2b) to snapshot the current Claude Code session into a brand-new box that resumes it. With tmux or iTerm it opens in a new terminal tab; otherwise it starts in the background. The host session is unaffected — you get two parallel timelines. The underlying CLI is agentbox fork (agentbox fork --help); /agentbox requires agentbox install to have been run once. This is distinct from -i, which seeds a new prompt rather than resuming the live conversation. Fork sends the project's carry: block by default (the host is trusted; the box is the untrusted side, so host→box copy is safe) — opt out with agentbox fork --carry skip.

Workspaces: tasks, and the timeline when you manage

A workspace has a task list (T-n). When the user asks to split or parallelize work across boxes, make tasks first (agentbox tasks add "…"), then start boxes with them (agentbox claude -i --tasks T-1,T-2) or hand one to a running box (agentbox tasks assign T-3 --box <box>).

A claude or codex session running agentbox in a workspace is one of its managers: its tasks, boxes and pushes land on the timeline, stamped with its turn. The timeline can't see your reasoning, so when you re-plan (reorder, hold, split, move work between boxes), say why in the same call:

bash
agentbox tasks reorder T-14 T-11 T-12 --note "T-14 unblocks the payment tasks"
agentbox tasks assign T-17 --box b169ec5 --note "same files as T-16, same branch"
agentbox manager note "holding T-12 until #405 merges" --replan

An approval arrives as a new prompt (Approved: merge PR #409 (checkout-copy, T-14, T-15).): merge that PR, then mark its tasks done.

Driving one agent from another (drive, agent, queue wait-for)

When you are the host-side agent and want to orchestrate other agents running inside boxes — read what they're doing, send them a prompt, wait until they're done or need input — use these three command families. Everything is stateless / one-shot, and the human-text default switches to machine-friendly JSON with --json.

agentbox drive <box> — terminal driving

Targets the running tmux session inside a box (auto-picks the agent session: claude → codex → opencode → the only running session; override with --session <name>). Provider-uniform — works the same on docker / daytona / hetzner / vercel / e2b.

sh
agentbox drive snapshot 1                          # print rendered TUI as plain text
agentbox drive snapshot 1 --with-cursor            # JSON envelope: { session, cols, rows, cursor, screen }
agentbox drive snapshot 1 --ansi --rows -200:-1    # include color, walk into scrollback
agentbox drive keypress 1 "<C-c>"                  # DSL: <Enter>, <C-x>, <Tab>, <F5>, <Up>, etc.
agentbox drive send-text 1 "hello"                 # literal text, no DSL parsing, no trailing Enter
agentbox drive prompt 1 "summarize /workspace/README" # type + Enter (the convenience action)
agentbox drive wait 1 --text "✓" --timeout 60000   # block until <text> appears on screen
agentbox drive resize 1 200 60

keypress uses a small DSL: <Enter>, <Tab>, <Esc>, <Space>, <BS>, <Del>, <Up>/<Down>/<Left>/<Right>, <Home>/<End>/<PageUp>/<PageDown>, <F1>–<F12>, <C-a>..<C-z>. Use << for a literal <. Multiple args concatenate with no spaces ("ls" "<Enter>" → ls\r).

agentbox agent <box> — agent state introspection (Claude / Codex / OpenCode)

Sub-second latency. State source by agent:

  • Claude Code: lifecycle hooks (UserPromptSubmit, PreToolUse, Stop, Notification, ExitPlanMode, AskUserQuestion, PreCompact/PostCompact, StopFailure, SubagentStart/SubagentStop).
  • Codex: tmux-pane scraper inside the box (codex 0.134.0's own hook firing is unreliable; staged hooks remain for the day that's fixed upstream).
  • OpenCode: a plugin (agentbox-state.js) seeded into the OpenCode config volume, subscribing to OpenCode's event bus.

All three feed the same status pipeline; agent state / agent wait-for work the same regardless of which agent runs inside the box. Reports come from ~/.agentbox/boxes/<id>/status.json and the relay event stream.

sh
agentbox agent state 1                # → working | idle | waiting | end-plan | question | prompt | compacting | error
agentbox agent state 1 --json         # full AgentStatusEntry (state, updatedAt, sessionTitle, plan?, question?)

agentbox agent get-plan-question 1            # print the plan body OR question + options (human)
agentbox agent get-plan-question 1 --json     # structured payload

Stdout carries only the value — spinners, notices and errors all go to stderr — so S=$(agentbox agent state 1) is safe to capture directly. --json is for structure (the full entry), not a workaround for dirty output.

For orchestration, agent wait-for input-needed is the tool to reach for. It is the single sync point that wakes whenever the agent needs you — whether the turn finished and it's ready for the next message, or it's blocked on a question, a plan to approve, a permission prompt, or an error. It matches every state except working / compacting, and prints the concrete state it matched so you can branch on why it woke:

sh
agentbox agent wait-for input-needed 1 --timeout 600000   # → prints: prompt | end-plan | question | waiting | error

# Race a whole fan-out with ONE waiter — `--box` is repeatable, first box to match wins.
agentbox agent wait-for input-needed --box design --box tests --box docs --timeout 1200000
# → prints "<box>\t<state>" (with --json: { "box": { "id", "name" }, "state", "agent" })

Use the multi-box form instead of one background waiter per box: it returns as soon as any of them needs you, and tells you which. A single-box wait still prints the bare state.

A wait survives a hub restart — the relay going away mid-wait is retried with backoff until your --timeout actually elapses.

Prefer it over waiting on one specific transition — a narrow wait-for end-plan hangs to its timeout if the agent instead asks a question, hits a permission prompt, finishes, or errors. The granular states are still waitable when you know exactly what to expect: prompt (ready for next message), idle (Stop hook fired), end-plan, question, waiting, compacting, error — e.g. agentbox agent wait-for prompt 1.

agentbox queue wait-for <event> — queue + box lifecycle
sh
agentbox queue wait-for new-box                          # any new box gets registered
agentbox queue wait-for empty-queue --timeout 1800000    # all queued/running jobs settled
agentbox queue wait-for box-running --box review
agentbox queue wait-for box-paused  --box 2
agentbox queue wait-for box-stopped --box 2
agentbox queue wait-for job-done --job b45f1603841bd2b5  # terminal status (done/failed/cancelled)

All wait-for commands accept --json for parseable output. agent wait-for exit codes:

ExitMeaning
0matched — the state is on stdout
1timed out: the hub was answering, the agent just never reached the state
2unknown state name, or the box is not on the hub that owns it
3the hub rejected the credential
7the hub never answered at all — the agent's state is unknown, not unmatched

Treat 7 as "my relay is down", not "my agent is stuck": the wait already retried for the whole window before reporting it. queue wait-for still exits 0 on match / 1 on timeout.

Recipe: drive a Claude Code from another Claude Code

Queue a prompt, then loop on wait-for input-needed and act on whatever it reports — that one waiter handles every "the agent needs me" case, so the loop never hangs on an unexpected state.

sh
# 1. Kick off a box with a planning prompt, in background.
agentbox claude -n design -i "Plan how to add an OAuth login flow to apps/web, then enter plan mode. Don't start coding."

# 2. Wait until the agent needs you, and branch on what it reports.
STATE=$(agentbox agent wait-for input-needed design --timeout 1200000)
case "$STATE" in
  end-plan|question) agentbox agent get-plan-question design   # read the plan / question
                     agentbox drive keypress design "<Enter>" ;;  # approve / answer (option 1 pre-highlighted)
  waiting)           agentbox drive keypress design "<Enter>" ;;  # approve the tool/permission
  prompt|idle)       agentbox claude -i "Write the OAuth provider unit tests in apps/web/test/auth/" ;; # turn done — fan out more
  error)             echo "agent errored — inspect with: agentbox drive snapshot design" ;;
esac

# 3. Block until the whole batch settles before reporting back.
agentbox queue wait-for empty-queue --timeout 3600000

Driving several boxes at once is the same loop with one waiter over all of them — no background waiter per box:

sh
while :; do
  HIT=$(agentbox agent wait-for input-needed --box design --box tests --timeout 1800000) || break
  BOX=$(printf '%s' "$HIT" | cut -f1); STATE=$(printf '%s' "$HIT" | cut -f2)  # the line is <box>TAB<state>
  case "$STATE" in
    end-plan|question|waiting) agentbox drive keypress "$BOX" "<Enter>" ;;
    prompt|idle)               echo "$BOX finished" ;;
    error)                     echo "$BOX errored — agentbox drive snapshot $BOX" ;;
  esac
done
# `|| break` catches exit 1 (timeout) and exit 7 (the hub never answered).

agentbox destroy --box design --box tests -y   # tear the fan-out down in one call

Wrap step 2 in a loop to babysit a box across many turns. Use the narrow wait-for <state> forms only when a step must gate on one specific transition.

Quick mental model
  • agent wait-for input-needed = the orchestration sync point — "wake me when the agent needs me" (done OR blocked). Reach for this first.
  • agent (state / get-plan-question / narrow wait-for) = "what is the agent currently doing" — hook-driven, race-free, machine-readable.
  • drive = "send keystrokes / read screen" — provider-uniform tmux capture-pane / send-keys; how you act once wait-for returns.
  • queue wait-for = "block on queue or box lifecycle transitions" (empty-queue, box-running, job-done, …) — settle a whole batch.
  • All commands are stateless — safe to invoke from any script, any agent, in parallel.
  • --json everywhere. Default human text is for the operator; an agent should pass --json.

Git through the host relay

The box has no SSH keys, GPG keys, or git remote credentials. Don't ask the user to add any. When an in-box agent (or a script you run inside the box) does git push or git pull, the AgentBox-provided agentbox-ctl git wrapper POSTs a JSON-RPC call to the host relay (POST /rpc, bearer-auth, loopback-only). The relay runs the real git push origin … on the host, using the user's SSH_AUTH_SOCK, ~/.gitconfig, and identity — and streams stdout/stderr back into the box's terminal. The box's exit code matches the host's.

Implications for you, the host-side agent:

  • Inside the box you can git commit … && git push exactly as normal. No setup needed.
  • Pushes follow the same blocklist model as gh below: publishing commits to any branch is ordinary, revertable work and runs silently. Only a push that cannot be undone asks the user first — a deletion (--delete, :branch), a force-push to a branch other than the box's own agentbox/* one, --mirror/--prune, a tag overwrite, --repo/--receive-pack, or any flag the gate does not recognise. --force-with-lease is the safe force spelling and stays silent. If a push appears to hang, it's waiting on that approval (the user sees it in the dashboard footer, ~25 s TTL) — see "Answering approvals" below.
  • The relay process is started lazily by the first agentbox create / agentbox claude and persists across runs (PID at ~/.agentbox/relay.pid, log at ~/.agentbox/relay.log). You normally don't need to manage it.
  • For HTTPS origins (https://github.com/...), pushing usually needs a credential — recommend the user run gh auth login and gh auth setup-git once on the host. After that, host git push uses gh's OAuth token automatically. SSH origins (git@github.com:...) keep using the host's SSH agent as before.
Show full SKILL.md (1,159 more words)Show less

Answering approvals (orchestrator path)

When you are orchestrating boxes unattended (no human watching the dashboard footer), a box blocks on two kinds of approval and agent approvals / agent approve cover both:

  • Relay host-action approvals — a destructive git push / cp / gh pr write / checkpoint. You answer them yourself; you're a host process that already holds the user's git/file credentials, so approving grants nothing you don't already have.
  • In-TUI agent prompts — Claude plan-mode approval, AskUserQuestion, a tool-permission dialog. Previously you had to craft drive keypress sends by hand; now approve enacts the right keystrokes for you.
bash
agentbox agent approvals 1 --json          # list everything box 1 is blocked on: each row has an id + kind
agentbox agent approve <id>                # answer that exact prompt (default = approve / first option)
agentbox agent approve <id> --option 2     # in-TUI question/plan: pick option 2 (or --option "Risk first")
agentbox agent approve <id> --deny         # reject (relay: deny; in-TUI: Escape)
agentbox agent approvals 1 --wait 600000   # block until something is pending, then act

kind is host-action (relay), or plan / question / permission (in-TUI). Relay rows carry command/argv; question rows carry the option labels; plan rows the plan body.

The id is a safety token — inspect, then approve that exact id. approve <id> answers the specific prompt you listed; if a different prompt has since taken its place, the recomputed id won't match and the approve is refused (it never answers the wrong thing). So always approvals → read the command/argv/options → approve <id>, one at a time. Do not blanket-approve whatever a box asks (that defeats the gate against a prompt-injected box laundering a malicious push), and never hand-curl /admin/prompts/answer — these commands are the supported surface. In-TUI keystroke mapping is best-effort and TUI-version-sensitive; if an approve doesn't take, fall back to drive snapshot + drive keypress.

GitHub through the host relay

In-box agents can drive the whole GitHub CLI from inside a box. Same model as git push: the box has no GitHub token; the relay shells out to gh on the host with the user's authenticated identity. Requires gh installed on the host and gh auth login run once.

Just type gh — the in-box shim forwards it. gh issue list, gh pr create, gh search issues, gh release create, gh api … all work.

ClassBehavior
Ordinary work (issue, pr incl. merge, search, release create, api reads/writes)Runs. Silent by default; prompts per-call when the box was created with box.autoApproveSafeHostActions=false.
Destructive (`repo deletearchive
Credential / host-auth (`auth tokenlogin

Two things to know:

  • gh pr reports on the box's branch, not the host's. The shim injects it, since the host's gh runs in the host checkout.
  • gh pr checkout is off by default (AGENTBOX_GH_PR_CHECKOUT=allow) — it moves the HOST's working tree, which the box sees.

agentbox-ctl git pr <op> remains as a named front door for the same thing.

If a gh call appears to hang, tell the user to check the dashboard footer for a host confirmation prompt. If gh is missing or unauthenticated, the in-box command exits 127 / 4 with a clear stderr.

Other commands worth knowing

CommandWhat it does
agentbox dashboardTUI status + switcher across all boxes. The leader is Ctrl+a (e.g. Ctrl+a u opens the box's web URL; Ctrl+a s opens the in-box browser; Ctrl+a q quits).
agentbox shell [n|name]Interactive bash -l inside the box (also wrapped in tmux by default — detach with Ctrl+a d).
agentbox url [n|name]Open the box's web app URL (<box-name>.localhost via Portless) in the host browser.
agentbox screen [n|name]Open the box's own browser via VNC — useful for OAuth flows the agent inside the box initiates.
agentbox code [n|name]Open VS Code / Cursor pointed at the box.
agentbox prepare --provider <name>One-time base image / snapshot build for daytona, hetzner, vercel, or e2b (e2b builds the base from a Dockerfile via Template.build()). With no --provider, prints status across all providers.
agentbox prune --provider <name>Clean up orphan boxes / images / snapshots for a provider (docker + daytona supported; hetzner pending).
agentbox cp <paths...>Copy file(s)/dir(s) host↔box (box:/path prefix picks direction). List several sources before the destination, which must then be a directory — e.g. agentbox cp src/ README.md ./logs/*.txt box:/workspace/ (wildcards expand in your shell). Heavy dirs (.git, node_modules, build output) are dropped by default; add --exclude=<glob|name> or --no-default-excludes. Uploads over box.cpMaxBytes (100 MB, post-exclude, per source) are blocked with a size breakdown — trim with --exclude, copy heavy folders one at a time, or pass --yes.

Per-project numeric index (1, 2, …) and friendly name (review, smoke) both work wherever <box> is accepted. Index 1 is the first box created in the current workspace.

Connecting an external app (Codex / Claude desktop) over SSH

When the user wants to attach the Codex app or Claude desktop to a box over SSH, run:

agentbox shell <box> --ssh-config          # writes ~/.ssh/config + prints details
agentbox shell <box> --ssh-config --json   # same, machine-readable

This writes a Host <box-name> alias into ~/.ssh/config (pointing at the box's IP and its per-box identity file) and prints the alias, host, user, identity path, and a ready ssh <box-name> command. --json emits { alias, host, user, identityFile, sshCommand, codexAddUrl }.

Hetzner cloud boxes only. Only a box with a persistent per-box SSH key qualifies — an external app connects later, so Daytona's 60-minute token would already be expired, and Docker / Vercel / E2B boxes have no SSH. The command exits with a clear message (and writes nothing) for unsupported providers.

After running it, surface both apps to the user. For Codex, render the deep link verbatim (<ssh-alias> is the box name):

[Add <ssh-alias> to Codex SSH](codex://settings/connections/ssh/add?name=<ssh-alias>)

For Claude desktop, there's no deep link — tell the user to add an SSH connection to host <ssh-alias> (it's already in ~/.ssh/config).

Operating principles

  1. Never assume the host needs SSH keys forwarded into a box — git is handled by the relay, by design.
  2. Destroy boxes when they're done — agentbox destroy <box> when the work is done (or agentbox destroy --box a --box b -y for a whole fan-out, one confirmation), but feel free to reuse boxes for slower providers like Hetzner, AWS, DigitalOcean.
  3. Use workspaces, tasks and the timeline when you manage — agentbox tasks add "…" to split or parallelize work across boxes, then agentbox claude -i --tasks T-1,T-2 to start boxes with them, or agentbox tasks assign T-3 --box <box> to hand one to a running box.
  4. Use -i whenever the user asks for parallel agent work rather than spawning multiple foreground sessions. Then point them at agentbox dashboard to watch progress.
  5. Pick the provider deliberately. docker is the fast default. --provider hetzner gives a real VPS (heavier, isolated, requires agentbox prepare --provider hetzner once). --provider vercel is the managed cloud option.
  6. Cross-check before recommending a command. If a flag isn't listed here, run agentbox <command> --help (it's safe and read-only) before suggesting it to the user.
  7. /agentbox-setup is a different skill. It runs inside a box to generate /workspace/agentbox.yaml. Don't conflate it with /agentbox (host-side fork) or this reference skill. When authoring agentbox.yaml, prefer the declarative run_once: true / run_once: { check } task field over hand-rolled marker/probe guards, and agentbox-ctl render / carry replaceEnvs over sed for pinning env URLs to {{AGENTBOX_BOX_HOST}}.

Reference

  • Full docs live in the repo at docs/ — start with docs/architecture.md and docs/create-and-checkpoints.md for the model, docs/host-relay.md for the relay, docs/cloud-providers.md for the cloud paths.
  • npm package: @madarco/agentbox — npm -g install @madarco/agentbox (or npx @madarco/agentbox <command>).

© madarco, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/agentbox/skills/agentbox-info of madarco/agentbox.

Open the folder on GitHubat commit 605ee75

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in madarco/agentbox, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Agentbox Info next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Agentbox Info compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agentbox Info this skillmadarco/agentbox5231 repos~6.6kAutomated safety check: WarnMIT
Checkopenwpm/OpenWPM1.4k—~1.5kAutomated safety check: PassCustom licence
Code Service Defragjacob-dietle/context-os111—~3.7kAutomated safety check: PassMIT
Pwa ReleaseAHS12/thoth-blueprint626—~505Automated safety check: PassGPL-3.0
Deploy AstermemAsterove/AsterMem161—~3.2kAutomated safety check: WarnAGPL-3.0
Devops SpecialistCaoMeiYouRen/caomei-auth220—~446Automated safety check: NotesMIT

Similar skills

  • Check

    openwpm/OpenWPM

    A skill your agent uses to check on background feature agents launched via /kickoff — running in tmux sessions or docker/podman containers.

    1.4k GitHub stars~1.5k tokensUpdated 3 days ago
    DevOps & CloudAuto-check passed
  • Code Service Defrag

    jacob-dietle/context-os

    This skill should be used to periodically defragment a multi-app/multi-service codebase — both CODE (duplicate deploy targets, colliding bindings, stale forks) and CONTEXT (parallel spec…

    111 GitHub stars~3.7k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Pwa Release

    AHS12/thoth-blueprint

    Safely change Vite, service-worker, offline fallback, cache, Docker, Vercel, or release-distribution behavior.

    626 GitHub stars~505 tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Deploy Astermem

    Asterove/AsterMem

    Guide the user through taking AsterMem live — on a cloud server, or on a machine they already own (home NAS, Raspberry Pi, this computer) exposed through Cloudflare Tunnel with no public IP.

    161 GitHub stars~3.2k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check: warnings
  • Devops Specialist

    CaoMeiYouRen/caomei-auth

    修改 Docker、CI/CD、部署配置、环境变量、运行时参数、构建脚本和发布流程时使用。优先覆盖 Docker、Vercel、Cloudflare 与 GitHub Actions 场景。用户提到 deploy、Dockerfile、workflow、CI、CD、environment variables、build pipeline、release config 时都应触发。

    220 GitHub stars~446 tokensUpdated 7 days ago
    DevOps & CloudAuto-check: notes
  • CI/CD Pipeline Principles

    irahardianto/awesome-agv

    Rules for designing CI/CD pipelines in layers: universal lint, test and scan stages, container builds with SBOM attestation, and GitOps for orchestrated deployments.

    157 GitHub stars~2.7k tokensUpdated 3 days ago
    DevOps & CloudAuto-check: notes

More from madarco/agentbox

  • Agentbox Setup

    madarco/agentbox

    Generate an agentbox.yaml for the current AgentBox workspace.

    523 GitHub stars~5.9k tokensUpdated yesterday
    Auto-check: notes
  • Agentbox Identity

    madarco/agentbox

    Write this bot's identity replacement rules into agentbox.yaml, so a copy of it spawned with agentbox clone gets its own name instead of yours.

    523 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Agentbox

    madarco/agentbox

    Fork the current agent session into a new VM or local Docker container with all the project files, agent settings and session teleported into.

    523 GitHub stars~811 tokensUpdated yesterday
    Auto-check: warnings

Categories

Questions about Agentbox Info

What does Agentbox Info do?

Spin up isolated sandboxes ("boxes") for coding agents, run them in parallel, queue background runs with -i, and push commits safely through the host relay. Agentbox Info is an agent skill from madarco/agentbox. Spin up isolated sandboxes ("boxes") for coding agents, run them in parallel, queue background runs with -i, and push commits safely through the host relay.

When should I use Agentbox Info?

Agentbox Info fits situations like: the user wants to run Claude Code / Codex / OpenCode in a sandbox; start more boxes; attach to a running box; otherwise operate the agentbox CLI on their laptop.

How do I install Agentbox Info in Claude Code?

Run `npx skills add madarco/agentbox --skill agentbox-info -a claude-code`. Or copy the skill folder (plugins/agentbox/skills/agentbox-info in madarco/agentbox) into .claude/skills/agentbox-info in your project. Claude Code loads it when a task matches its description.

How do I install Agentbox Info in Codex?

Run `npx skills add madarco/agentbox --skill agentbox-info -a codex`. Or copy the skill folder (plugins/agentbox/skills/agentbox-info in madarco/agentbox) into .agents/skills/agentbox-info in your project. Codex loads it when a task matches its description.

Can I use Agentbox Info in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add madarco/agentbox --skill agentbox-info -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agentbox-info, .gemini/skills/agentbox-info, .github/skills/agentbox-info and .opencode/skills/agentbox-info in your project.

What does Agentbox Info need to run?

Going by SKILL.md and its folder, Agentbox Info needs the command-line tools its instructions call (gh, git, vercel, bash, npm and npx). Our summary lists: Docker.

Does Agentbox Info access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Agentbox Info safe to install?

Our automated static check of SKILL.md flagged 3 warning(s): mentions a credentials file (ssh keys, cloud or package-manager tokens). Read the flagged lines before installing; the check is not a guarantee either way.

What licence does Agentbox Info use?

Agentbox Info is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Agentbox Info use?

About 6.6k tokens (SKILL.md is roughly 26k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Agentbox Info?

Skills that share tags, products or a category with Agentbox Info: Check (openwpm/OpenWPM, 1.4k stars), Code Service Defrag (jacob-dietle/context-os, 111 stars), Pwa Release (AHS12/thoth-blueprint, 626 stars) and Deploy Astermem (Asterove/AsterMem, 161 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agentbox Info?

madarco (a GitHub user) maintains it in madarco/agentbox, which has 523 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 7, 2026.

Source: madarco/agentbox on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.