/agentbox:abx-resource-capacityfrom agentbox
Sizes AgentBox warm pools, configures autoscaling groups, reads quota, and recovers when a pool will not grow. Use when sandboxes queue or fail to start, when scaling is too slow or runs away, or when you need N concurrent sandboxes and must work out whether capacity exists.
Ships in agentbox. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
SandboxEnv what a sandbox is made from (one template)
└─ SandboxPool a warm pool of one resource shape — this is what has a size
└─ group the autoscaling policy several pools share
A pool holds idle Pods. Claiming one is fast precisely because it already
exists; that is the whole design. replicas is how many Pods the pool keeps,
idleReplicas how many are claimable right now, runningReplicas how many are
in use.
abx envs
abx envs demo pools
abx envs demo scaling-groups
If the pool's group has autoscaling off, the size is yours:
abx scale envs demo pools demo-1c2gi --replicas 40
If the group is on, replicas belongs to the autoscaler and setting it is
refused — the lever is the group's bounds instead:
abx envs demo scaling-groups 1c2gi --editable > g.json
# edit it — `abx update envs demo scaling-groups 1c2gi --help` lists the fields
abx update envs demo scaling-groups 1c2gi -f g.json
Remember update is the whole object: a bound you delete from the file is a
bound you are removing. That is how you take a ceiling off, which is worth
knowing because it is the one thing an "update just this field" API could never
express.
Scale-up is demand-anchored, not step-anchored. It looks at what is actually being asked for — running sandboxes plus queued requests — and grows toward that, plus a buffer, capped by a per-mode ceiling relative to demand. The mode sets the aggressiveness of both directions:
| mode | scale-up buffer | scale-down step |
|---|---|---|
Conservative | smallest | 1 replica per window |
Default | proportional | a quarter of the pool |
Aggressive | largest | half the pool |
Two consequences worth carrying:
maxReplicas is not an instruction. Demand is the anchor; the
ceiling only stops growth. Setting 0–2560 does not ask for 2560.Check in this order — the first two are most of the cases:
abx envs demo pools demo-1c2gi # phase, and desired vs actual
abx envs demo pools demo-1c2gi --json | jq '.status'
abx quotas # is the team's ceiling in the way
abx envs demo events # what Kubernetes said about it
The recovery is counter-intuitive and worth stating plainly: reduce the replica count, then grow again. A pool asking for more than the cluster can place stays stuck asking; nothing retries it into existence. Dropping the target below what is available lets the reservation succeed, and you climb from there. Doubling down on the number that already failed does nothing.
If quota is the limit, no amount of pool configuration helps — that is a request to whoever owns the quota, not a setting.
Read the ceiling column the way abx quotas means it: a number is the cap,
0 is a hard zero (nothing allocated — do not submit, ask for an allocation),
and unlimited means the deployment skips the quota check for that pool, so
nothing caps you and the pool's own stock decides. unlimited is worth
retrying; 0 is not.
maxReplicas at the expected peak drains
and comes back, and the ceiling is what stops a runaway — not a substitute
for asking how much they need.You need N claimable Pods at peak, not N over the run:
abx instancetypes — what shapes exist and what each costs per unit.abx quotas — what is committed and what the ceiling is.maxReplicas at your peak, so the pool
drains between runs instead of holding capacity nobody is using.Once the Pods are there, the caller has to reach them: abx envs <env> docs
prints the E2B endpoints of that env's cluster, which is what the SDK is
pointed at before the first create.
abx-observe — the metrics and logs behind "it is slow" or "it failed"abx-reinforcement-learning — the rollout-shaped version of thisabx-common — endpoint, key, cluster, approvalWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
agentbox, warm-pools, autoscaling, capacity-planning, sandbox-env
npx claudepluginhub scitix/agent-sandbox --plugin agentbox9 skills in this plugin
/abx-commonHow to reach an AgentBox platform with `abx` — endpoint and key, choosing a cluster, machine-readable output, and what happens to a write that needs someone's approval. Use when any abx command fails on authentication, addresses the wrong cluster, or comes back asking for approval. Every other abx skill defers here for those four things./abx-harbor-frameworkRun Harbor benchmarks (Terminal-Bench, SWE-bench, custom datasets) on AgentBox pre-warmed pools via the agent-sandbox-harbor environment plugin. Use when asked to evaluate an agent, run a benchmark suite, reproduce a leaderboard number, or work out why benchmark tasks are being rejected or timing out. Pool sizing lives in abx-resource-capacity; endpoint and key in abx-common./abx-Other plugins' skills for the same job