provision

provision is a command for Claude Code from vinnie357/claude-skills. It costs 23 tokens per session (684 once invoked), scanned A, original, MIT.

A command that creates a per-session SandboxClaim, a Kubernetes resource requesting an isolated agent sandbox, and waits until it is ready. It then prints the sandbox endpoint.

In plain words
What is it for?
Use it to provision an isolated Claude Code session from an installed SandboxTemplate, with an optional session ID, template, and shutdown time.
Why use it?
It standardizes session creation and makes the command wait for a usable sandbox instead of leaving you to apply YAML and poll Kubernetes manually.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the agent-sandboxing plugin — 7 skills, 6 commands shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add vinnie357/claude-skills
Claude Code
/plugin install agent-sandboxing

Made for: Claude Code.

Or install agent-sandboxing, the plugin that ships this one along with the rest of its 7 skills, 6 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for provision

README.md
[![agentmods](https://agentmods.dev/badge/commands/vinnie357/claude-skills/provision.svg)](https://agentmods.dev/commands/vinnie357/claude-skills/provision)
Your own site
<a href="https://agentmods.dev/commands/vinnie357/claude-skills/provision"><img src="https://agentmods.dev/badge/commands/vinnie357/claude-skills/provision.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 684 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.00684
Opus 5 $0.00012 $0.00342
Sonnet 5 $0.00005 $0.00137
Haiku 4.5 $0.00002 $0.00068

Measured 3d ago against content hash 6ebb390982c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

provision scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/tools/agent-sandboxing/commands/provision.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create one ephemeral SandboxClaim from a pre-installed SandboxTemplate and return its endpoint.

Skills to load

  • /agent-sandboxing:k8s-agent-sandbox
  • /agent-sandboxing:claude-code-on-sandbox
  • /core:nushell
  • /core:anti-fabrication

Steps

1. Determine session id

If --session-id is not provided, generate one:

SESSION_ID=$(uuidgen | tr 'A-Z' 'a-z' | tr -d '-' | head -c 12)

2. Determine template name

If --template is not provided, list installed templates and ask the user which to use:

kubectl get sandboxtemplate -o name

Typical names: claude-code-kata, claude-code-gvisor, claude-code-kina.

3. Render the claim

nu <CLAUDE_PLUGIN_ROOT>/scripts/render-claim.nu \
  --session-id $SESSION_ID \
  --template $TEMPLATE_NAME \
  ${SHUTDOWN_TIME:+--shutdown-time $SHUTDOWN_TIME} \
  | kubectl apply -f -

The script reads templates/SandboxClaim.session.yaml, substitutes placeholders, and emits the final YAML to stdout. If the operator wants to inspect before applying, drop the pipe to kubectl apply.

4. Wait for Bound

nu <CLAUDE_PLUGIN_ROOT>/scripts/wait-bound.nu --session-id $SESSION_ID --timeout 120

The script polls kubectl get sandboxclaim every 2 seconds until status.phase == Bound or the timeout elapses. Reports the bound pod name on success; reports controller log excerpts on timeout.

If the claim sticks in Pending, common causes:

  • Missing RuntimeClass — kubectl describe sandboxclaim session-$SESSION_ID will say so.
  • Missing image — kubectl describe pod ... -n <claim-namespace> will show ImagePullBackOff.
  • Missing anthropic secret — pod will be Running but claude --version will fail at exec time.

5. Report the endpoint

kubectl get sandboxclaim session-$SESSION_ID -o jsonpath='{.status.endpoint}'
echo

Tell the user the session id, the bound pod name, and the endpoint. Suggest the next command is /agent-sandboxing:exec $SESSION_ID to run something, or /agent-sandboxing:reap $SESSION_ID when done.

Read the full file on GitHub · 74 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 74 lines · 23 tokens per session scan A 6ebb390982c9

Subscribe to this mod's changes

provision is a command published in the GitHub repository vinnie357/claude-skills (24 stars, last pushed today), licensed MIT. It adds 23 tokens to every session and 684 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other commands, from other repositories