sandbox-run
Skill0 starsChanged 3 months agoMITView on GitHub
Route command execution through WSL, a project Dev Container, or Windows Sandbox when that boundary materially fits the task. Launching execution is host approval-gated.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- gaganjainse/shesh-skillstheir own version, first seen Aug 15, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- gaganjainse/shesh-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- ecosystem-defragSkill
- env-inspectSkill
- package-installSkill
- win-setupSkill
- workflow-planSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
Do not map arbitrary host folders writable into Windows Sandbox.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- Establish the property the boundary must provide. Do not silently substitute Linux compatibility for hostile-Windows containment.
- Inspect relevant backend availability with
env_inspectwhen it is not already established. Treatnull/unknown availability as unresolved rather than missing. - For WSL or Dev Container work, use the active project as
workspace_folder. WSL execution enters that Windows project directory through WSL's--cdboundary and usessh -lc; a task requiring Bash-specific semantics should request Bash explicitly. - 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). - Call
sandbox_runwithexecute: falseand inspect the selected route, payload list, and launch plan. Planning must not create the temporary bundle or launch the workload. In Codex, a trustedPermissionRequesthook may auto-allow this plan-only request; without trusted hooks, the host may prompt for the plan. - 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. - 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
unknownuntil an observation from inside the sandbox establishes its outcome. - 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.
Safety and scope
- Sandbox execution is
approval-requiredeven when the inner command looks harmless. - WSL interoperability is not a substitute for Windows Sandbox containment.
- Hyper-V is not an implemented
sandbox_runbackend. - Do not map arbitrary host folders writable into Windows Sandbox. Only the generated staging bundle is mapped, read-only.
- Isolation establishes a boundary, not semantic correctness. Verify the task result separately.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

