Official agent skill

Sandbox V2 Lifecycle

by vercel-labs in vercel-labs/vercel-openclaw-archived

Vercel Sandbox v2 lifecycle expertise for vercel-openclaw: named persistent OpenClaw sandbox create/resume/stop/delete, persistent auto-save truth, manual snapshot diagnostics, short-lived worker…

OfficialMITAuto-check passedBusiness, Finance & HR

Install Sandbox V2 Lifecycle

skills CLI
$ npx skills add vercel-labs/vercel-openclaw-archived --skill sandbox-v2-lifecycle -a claude-code

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

GitHub CLI
$ gh skill install vercel-labs/vercel-openclaw-archived sandbox-v2-lifecycle --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/vercel-labs/vercel-openclaw-archived.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/sandbox-v2-lifecycle .claude/skills/sandbox-v2-lifecycle && 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
sandbox-v2-lifecycle
GitHub stars
117
Token cost
~788 tokens
SKILL.md length
306 words
Files
5 (incl. references)
Skills in repo
16
Repo updated
First seen
Licence
MIT

At a glance

Vercel Sandbox v2 lifecycle expertise for vercel-openclaw: named persistent OpenClaw sandbox create/resume/stop/delete, persistent auto-save truth, manual snapshot diagnostics, short-lived worker…

  • Works in 5 steps: Read lat.md/sandbox-lifecycle.md,… → Inspect src/server/sandbox/lifecycle.ts,… → Classify whether the change affects… → …
  • Business, Finance & HR work in your project
  • SKILL.md covers Source Of Truth, Core Model, Repo Invariants and Workflow, plus 1 more section
  • Calls pnpm and node

What it does

Sandbox V2 Lifecycle is an agent skill from vercel-labs/vercel-openclaw-archived, published by the product's own GitHub organization. Vercel Sandbox v2 lifecycle expertise for vercel-openclaw: named persistent OpenClaw sandbox create/resume/stop/delete, persistent auto-save truth, manual snapshot diagnostics, short-lived worker sandboxes, hot spares, and SDK v2 semantics.

Its SKILL.md is about 790 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/vercel-openclaw-lifecycle-map.md`, `references/vercel-sandbox-v2-persistent.md` and `references/vercel-sandbox-v2-sdk.md`).

It sits in Business, Finance & HR. It works with Vercel. The repository describes itself as: Deploy OpenClaw on Vercel. The licence is MIT.

When your agent uses it

  • Business, Finance & HR work in your project

Example prompts

  • “/sandbox-v2-lifecycle”

Workflow steps

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

  1. Read lat.md/sandbox-lifecycle.md, docs/lifecycle-and-restore.md, and relevant references from this skill.
  2. Inspect src/server/sandbox/lifecycle.ts, controller.ts, restore-attestation.ts, hot-spare.ts, and worker sandbox code.
  3. Classify whether the change affects persistent resume, manual snapshots, reset/delete, workers, or debug diagnostics.
  4. Patch the smallest surface that fixes the v2 truth model.
  5. Add or adjust targeted tests before broad verification.

What it can do on your machine

Read from SKILL.md and the folder at commit d592f7b. 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:

    • pnpm
    • node

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

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    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

Sandbox V2 Lifecycle loads about 788 tokens when it runs, and up to ~2.2k if it reads all its reference files. Until then it costs about 65 tokens; SKILL.md has 306 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~65
When it runs · the whole SKILL.md, loaded when a task matches
~788
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.2k

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 passed

The automated check found no risky patterns in SKILL.md.

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 vercel-labs/vercel-openclaw-archived at commit d592f7b, republished under its MIT licence (© vercel-labs). 306 words, ~788 tokens.

Download SKILL.mdSave it as .claude/skills/sandbox-v2-lifecycle/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
sandbox-v2-lifecycle
description
Vercel Sandbox v2 lifecycle expertise for vercel-openclaw: named persistent OpenClaw sandbox create/resume/stop/delete, persistent auto-save truth, manual snapshot diagnostics, short-lived worker sandboxes, hot spares, and SDK v2 semantics.

Sandbox v2 Lifecycle

Use this skill for vercel-openclaw sandbox lifecycle, restore, stop, reset, hot-spare, worker sandbox, and debug timing work.

Source Of Truth

Official Vercel Sandbox v2 docs are authoritative. Repo docs or agent guidance that assumes v1/manual snapshot restore is stale unless already updated.

Load references only as needed:

  • references/vercel-sandbox-v2-persistent.md — persistent sandbox auto-save/resume/name/session model.
  • references/vercel-sandbox-v2-sdk.md — SDK calls, resume flags, delete, command behavior, and network policy notes.
  • references/vercel-sandbox-v2-snapshots.md — manual Snapshot API semantics.
  • references/vercel-openclaw-lifecycle-map.md — repo-specific invariants and owner files.

Core Model

  • Main OpenClaw runtime is one named persistent sandbox.
  • Persistent stop() auto-saves filesystem state; no manual snapshot() is needed for normal stop.
  • Normal wake resumes by name with Sandbox.get({ name, resume: true }) through the repo controller.
  • resume defaults false; use resume:false for observation/status reconciliation.
  • Commands may auto-resume stopped persistent sandboxes; stop() and update() do not.
  • Manual snapshot() is explicit/debug/checkpoint only. It shuts the sandbox down; do not call stop() afterward.
  • delete() permanently removes the persistent sandbox and its sessions/snapshots.
  • Worker/debug sandboxes are short-lived; pass persistent:false.

Repo Invariants

  • Preserve one persistent OpenClaw sandbox, Redis metadata, channel wake/restore, and short-lived workers.
  • Keep SDK access behind src/server/sandbox/controller.ts except documented raw SDK debug routes.
  • Distinguish host metadata status, SDK status/session, gateway readiness, persistent auto-saved state, and manual Snapshot APIs.
  • Do not use manual snapshotId as the normal restore gate.
  • Preserve resume:false during snapshotting/stopped observation.
  • Keep lifecycle locks and fail-closed firewall behavior.

Workflow

  1. Read lat.md/sandbox-lifecycle.md, docs/lifecycle-and-restore.md, and relevant references from this skill.
  2. Inspect src/server/sandbox/lifecycle.ts, controller.ts, restore-attestation.ts, hot-spare.ts, and worker sandbox code.
  3. Classify whether the change affects persistent resume, manual snapshots, reset/delete, workers, or debug diagnostics.
  4. Patch the smallest surface that fixes the v2 truth model.
  5. Add or adjust targeted tests before broad verification.

Verification

Run the narrowest covering test first, then broader gates for lifecycle changes:

bash
node --import tsx --test src/server/sandbox/restore-attestation.test.ts
pnpm run test:lifecycle
pnpm run typecheck
pnpm run lint
lat check

When touching launch verification or preflight, also run pnpm run verify:observability-pass.

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

Files

SKILL.md and 4 other files (references) in .agents/skills/sandbox-v2-lifecycle of vercel-labs/vercel-openclaw-archived.

  • SKILL.md
  • references/vercel-openclaw-lifecycle-map.md
  • references/vercel-sandbox-v2-persistent.md
  • references/vercel-sandbox-v2-sdk.md
  • references/vercel-sandbox-v2-snapshots.md

Open the folder on GitHubat commit d592f7b

Compare with similar skills

Sandbox V2 Lifecycle 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.

Sandbox V2 Lifecycle compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sandbox V2 Lifecycle this skillvercel-labs/vercel-openclaw-archived117—~788Automated safety check: PassMIT
Vercel Cost Tuningjeremylongshore/tons-of-skills-marketplace2.8k—~1.9kAutomated safety check: PassMIT
Pump Websitenirholas/pump-fun-sdk133—~871Automated safety check: PassCustom licence
Nextjs React ExpertDokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI508—~1.7kAutomated safety check: PassCustom licence
Import File Parsehugodemenez/deltalytix159—~671Automated safety check: PassCustom licence
Vercel Automationdavepoon/buildwithclaude3.6k7 repos~2.3kAutomated safety check: PassMIT

Similar skills

  • Vercel Cost Tuning

    jeremylongshore/tons-of-skills-marketplace

    Optimize Vercel costs through plan selection, function efficiency, and usage monitoring.

    2.8k GitHub stars~1.9k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Pump Website

    nirholas/pump-fun-sdk

    PumpOS — static HTML/CSS/JS web desktop for the Pump SDK with 169 Pump-Store apps, live token dashboards, interactive DeFi tools, PWA support, and Vercel deployment.

    133 GitHub stars~871 tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Nextjs React Expert

    Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

    React and Next.js performance optimization from Vercel Engineering.

    508 GitHub stars~1.7k tokensUpdated 4 mo ago
    Business, Finance & HRAuto-check passed
  • Import File Parse

    hugodemenez/deltalytix

    Parse any trading CSV (closed trades or order fills) through Deltalytix Intelligent Import.

    159 GitHub stars~671 tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Vercel Automation

    davepoon/buildwithclaude

    Automate Vercel tasks via Rube MCP (Composio): manage deployments, domains, DNS, env vars, projects, and teams.

    3.6k GitHub starsUsed in 7 repos~2.3k tokens
    Productivity & AutomationAuto-check passed
  • Vercel Debug Bundle

    jeremylongshore/tons-of-skills-marketplace

    Collect Vercel debug evidence for support tickets and troubleshooting.

    2.8k GitHub stars~1.7k tokensUpdated yesterday
    Sales & SupportAuto-check passed

More from vercel-labs/vercel-openclaw-archived

All 16 skills in this repo
  • Channel Debug Core

    vercel-labs/vercel-openclaw-archived

    Official

    Channel webhook triage for vercel-openclaw Slack/Telegram/Discord/WhatsApp issues: prove deployment state, collect admin readiness endpoints, build evidence-first handoff before fixes.

    117 GitHub stars~2k tokensUpdated 4 mo ago
    Auto-check: notes
  • Lat Md

    vercel-labs/vercel-openclaw-archived

    Official

    Writing and maintaining lat.md documentation files — structured markdown that describes a project's architecture, design decisions, and test specs.

    117 GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check passed
  • Cron Watchdog Debug

    vercel-labs/vercel-openclaw-archived

    Official

    Cron and watchdog debugging for vercel-openclaw: Vercel Cron auth, persisted OpenClaw jobs, cron wake keys, token refresh, restore oracle, hot spare, and watchdog reports.

    117 GitHub stars~1.6k tokensUpdated 4 mo ago
    Auto-check passed
  • Auth Store Debug

    vercel-labs/vercel-openclaw-archived

    Official

    Auth and store debugging for vercel-openclaw: admin-secret mode, Sign in with Vercel, session cookies, CSRF, LOCALREADONLY, Redis vs memory store, keyspace namespacing, and metadata shape migrations.

    117 GitHub stars~465 tokensUpdated 4 mo ago
    Auto-check passed
  • Firewall AI Gateway Debug

    vercel-labs/vercel-openclaw-archived

    Official

    Firewall and Vercel AI Gateway debugging for vercel-openclaw: network policy allowlists, OIDC token refresh, AI Gateway transform rules, firewall learning/enforcement, and sandbox.update…

    117 GitHub stars~550 tokensUpdated 4 mo ago
    Auto-check passed
  • Gateway Proxy Debug

    vercel-labs/vercel-openclaw-archived

    Official

    Gateway and proxy debugging for vercel-openclaw: /gateway routing, HTML injection, WebSocket rewrite, gateway-token handoff, waiting page, status heartbeat, sandbox port URL cache, and proxy auth.

    117 GitHub stars~573 tokensUpdated 4 mo ago
    Auto-check passed

Works with

Questions about Sandbox V2 Lifecycle

What does Sandbox V2 Lifecycle do?

Vercel Sandbox v2 lifecycle expertise for vercel-openclaw: named persistent OpenClaw sandbox create/resume/stop/delete, persistent auto-save truth, manual snapshot diagnostics, short-lived worker…. Sandbox V2 Lifecycle is an agent skill from vercel-labs/vercel-openclaw-archived, published by the product's own GitHub organization. Vercel Sandbox v2 lifecycle expertise for vercel-openclaw: named persistent OpenClaw sandbox create/resume/stop/delete, persistent auto-save truth, manual snapshot diagnostics, short-lived worker sandboxes, hot spares, and SDK v2 semantics.

When should I use Sandbox V2 Lifecycle?

Sandbox V2 Lifecycle fits situations like: business, Finance & HR work in your project.

How do I install Sandbox V2 Lifecycle in Claude Code?

Run `npx skills add vercel-labs/vercel-openclaw-archived --skill sandbox-v2-lifecycle -a claude-code`. Or copy the skill folder (.agents/skills/sandbox-v2-lifecycle in vercel-labs/vercel-openclaw-archived) into .claude/skills/sandbox-v2-lifecycle in your project. Claude Code loads it when a task matches its description.

How do I install Sandbox V2 Lifecycle in Codex?

Run `npx skills add vercel-labs/vercel-openclaw-archived --skill sandbox-v2-lifecycle -a codex`. Or copy the skill folder (.agents/skills/sandbox-v2-lifecycle in vercel-labs/vercel-openclaw-archived) into .agents/skills/sandbox-v2-lifecycle in your project. Codex loads it when a task matches its description.

Can I use Sandbox V2 Lifecycle 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 vercel-labs/vercel-openclaw-archived --skill sandbox-v2-lifecycle -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sandbox-v2-lifecycle, .gemini/skills/sandbox-v2-lifecycle, .github/skills/sandbox-v2-lifecycle and .opencode/skills/sandbox-v2-lifecycle in your project.

What does Sandbox V2 Lifecycle need to run?

Going by SKILL.md and its folder, Sandbox V2 Lifecycle needs the command-line tools its instructions call (pnpm and node).

Does Sandbox V2 Lifecycle access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Sandbox V2 Lifecycle safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Sandbox V2 Lifecycle use?

Sandbox V2 Lifecycle 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 Sandbox V2 Lifecycle use?

About 788 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.4k tokens, read only when the agent opens those files.

What are the alternatives to Sandbox V2 Lifecycle?

Skills that share tags, products or a category with Sandbox V2 Lifecycle: Vercel Cost Tuning (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Pump Website (nirholas/pump-fun-sdk, 133 stars), Nextjs React Expert (Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI, 508 stars) and Import File Parse (hugodemenez/deltalytix, 159 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sandbox V2 Lifecycle?

vercel-labs (a GitHub organization, an official publisher) maintains it in vercel-labs/vercel-openclaw-archived, which has 117 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on May 15, 2026.

Source: vercel-labs/vercel-openclaw-archived on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.