sandbox-run

sandbox-run is a skill for Claude Code from The-Biomechanist/Windows-Dev-Agent. It costs 35 tokens per session (784 once invoked), scanned A, original, MIT.

A command-runner that chooses WSL, a Dev Container, or Windows Sandbox based on the isolation the task needs. WSL is Linux running inside Windows, while a Dev Container is a project-defined development environment and Windows Sandbox is a temporary isolated Windows system.

In plain words
What is it for?
Running Linux-compatible commands, reproducing a project's declared Dev Container, or testing an untrusted Windows artifact in a disposable environment.
Why use it?
It helps avoid running commands in the wrong environment or exposing the host computer to untrusted Windows files. It also requires the workload to be placed inside the sandbox when that is necessary.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the windows-dev-agent plugin — 6 skills, 3 commands, 4 hooks, 1 MCP server shipped together

Good fit Running Linux-compatible commands, reproducing a project's declared Dev Container, or testing an untrusted Windows artifact in a disposable environment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/the-biomechanist/windows-dev-agent/sandbox-run
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add The-Biomechanist/Windows-Dev-Agent --skill sandbox-run
Clone the repo
git clone --depth 1 https://github.com/The-Biomechanist/Windows-Dev-Agent

Made for: Claude Code.

Or install windows-dev-agent, the plugin that ships this one along with the rest of its 6 skills, 3 commands, 4 hooks, 1 MCP server.

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 sandbox-run

README.md
[![agentmods](https://agentmods.dev/badge/skills/the-biomechanist/windows-dev-agent/sandbox-run/github.svg)](https://agentmods.dev/skills/the-biomechanist/windows-dev-agent/sandbox-run)
Your own site
<a href="https://agentmods.dev/skills/the-biomechanist/windows-dev-agent/sandbox-run"><img src="https://agentmods.dev/badge/skills/the-biomechanist/windows-dev-agent/sandbox-run/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sandbox-run

Your own site · 80×15
<a href="https://agentmods.dev/skills/the-biomechanist/windows-dev-agent/sandbox-run"><img src="https://agentmods.dev/badge/skills/the-biomechanist/windows-dev-agent/sandbox-run.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 784 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00035 $0.00784
Opus 5 $0.00017 $0.00392
Sonnet 5 $0.00007 $0.00157
Haiku 4.5 $0.00003 $0.00078

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

Security

Grade A, and why

sandbox-run 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 10d 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.

skills/sandbox-run/SKILL.md · 38 lines

How it starts

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

Sandbox Run

Choose the boundary from the task's required property, not from whichever backend happens to be installed first.

Routing

Requirement isolation_requirement Auto route Boundary
Linux-native compatibility or a low-risk Linux execution surface linux_compatibility WSL Interoperable Linux environment; not hostile-code containment from the Windows host.
Reproduce the project's declared devcontainer environment project_reproducibility Dev Container Requires the devcontainer CLI and project devcontainer configuration.
Run an untrusted Windows artifact away from the host untrusted_windows Windows Sandbox Disposable Windows VM with networking and clipboard disabled; the selected workload must be staged explicitly.

environment: auto is legal only when isolation_requirement is supplied. For untrusted_windows, also supply one or more workspace-relative payload_paths; the runtime refuses an auto-routed hostile-workload plan that would launch a sandbox without the workload inside it.

Procedure

  1. Establish the property the boundary must provide. Do not silently substitute Linux compatibility for hostile-Windows containment.
  2. Inspect relevant backend availability with env_inspect when it is not already established. Treat null/unknown availability as unresolved rather than missing.
  3. For WSL or Dev Container work, use the active project as workspace_folder. WSL execution enters that Windows project directory through WSL's --cd boundary and uses sh -lc; a task requiring Bash-specific semantics should request Bash explicitly.
  4. For Windows Sandbox, identify exactly which project files/directories the isolated command needs and pass them as workspace-relative payload_paths. Every selected path component and every traversed child must remain an ordinary workspace path: symbolic links and NTFS reparse points such as junctions are rejected before traversal crosses them, and failure to establish that metadata blocks staging rather than being treated as safe. Overlapping selections are rejected, and staged input is limited to 10,000 filesystem entries and 1 GiB total file bytes. Write the inner command relative to the staged payload root (C:\WDAShare\payload).
  5. Call sandbox_run with execute: false and inspect the selected route, payload list, and launch plan. Planning must not create the temporary bundle or launch the workload. In Codex, a trusted PermissionRequest hook may auto-allow this plan-only request; without trusted hooks, the host may prompt for the plan.
  6. To launch, call the same reviewed tool with execute: true. The active host decides whether that exact call proceeds; do not invent a second approval token.
  7. For WSL and Dev Container runs, use captured return code/stdout/stderr only for what they establish. For Windows Sandbox, report only that the interactive sandbox launched; the inner command remains unknown until an observation from inside the sandbox establishes its outcome.
  8. An executed Windows Sandbox launch returns cleanup_path. Remove the temporary bundle only after the sandbox no longer needs it. If staging or process launch fails before the Sandbox starts, the runtime removes the partial bundle itself.

Read the full file on GitHub · 38 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. 10d ago First seen · 38 lines · 35 tokens per session scan A de8b258f145b

Subscribe to this mod's changes

sandbox-run is a skill published in the GitHub repository The-Biomechanist/Windows-Dev-Agent (0 stars, last pushed 10d ago), licensed MIT. It adds 35 tokens to every session and 784 once invoked, about $0.0002 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-08-31.

Related

Other skills, from other repositories

cost-efficiency-analyzer

Analyzes cost structure, cost efficiency, and expense management from P&L data. Use when the user asks about costs, expenses, COGS, operating expenses, cost ratios, cost control, spending efficiency, margin compression from cost side, or wants to understand where money is going. Also use for "are we spending too…

awslabs/agentcore-samples · 98 tokens

multi-quarter-trend-analysis

Analyzes financial trends across multiple quarters by comparing P&L metrics over time. Use when the user wants to see trends, patterns, trajectories, or directional movement across 3 or more quarters. Also use for "how are we trending", "show me the trend", "track performance over time", "quarter over quarter…

awslabs/agentcore-samples · 82 tokens

executive-financial-briefing

Generates a concise executive-level financial briefing or summary suitable for a CEO, CFO, or board presentation. Use when the user asks for a summary, briefing, executive summary, board update, financial overview, financial health check, or "how is the business doing". Covers the full P&L picture in one page. Also…

awslabs/agentcore-samples · 95 tokens

babysit

Same-session monitoring loop for PRs, CI runs, tickets, and deployments using the monitorstart / monitorupdate / autonudgestop MCP tools. The loop re-injects your check instructions into THIS session on an idle interval — same context, same tools — and works from dashboard chat, Slack threads, and Discord DMs. Use…

kirodotdev/KiroCrew · 137 tokens

sector-rotation

Identify which market sectors to overweight or underweight based on current macro conditions and sector performance data.

awslabs/agentcore-samples · 22 tokens

trend-analysis

Analyze price and volume trends for one or more stocks to determine momentum direction and key technical levels.

awslabs/agentcore-samples · 21 tokens