sandboxed-exec

sandboxed-exec is a skill for Claude Code, Codex from strikersam/autonomous-ai-agency. It costs 0 tokens per session (608 once invoked), scanned A, original, MIT.

A tool for running shell commands or code in a temporary isolated environment instead of the real project workspace. It can copy in selected files and report the output, errors, and exit status.

In plain words
What is it for?
Use it to try one-off scripts, check that generated code runs, test dependencies, or perform repeatable checks in a clean temporary directory.
Why use it?
It lets you test untrusted, experimental, or potentially risky code without accidentally changing the project files or environment.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to try one-off scripts, check that generated code runs, test dependencies, or perform repeatable checks in a clean temporary directory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/strikersam/autonomous-ai-agency/sandboxed-exec
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 strikersam/autonomous-ai-agency --skill sandboxed-exec
Clone the repo
git clone --depth 1 https://github.com/strikersam/autonomous-ai-agency

Made for: Claude Code, Codex.

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 sandboxed-exec

README.md
[![agentmods](https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/sandboxed-exec/github.svg)](https://agentmods.dev/skills/strikersam/autonomous-ai-agency/sandboxed-exec)
Your own site
<a href="https://agentmods.dev/skills/strikersam/autonomous-ai-agency/sandboxed-exec"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/sandboxed-exec/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 sandboxed-exec

Your own site · 80×15
<a href="https://agentmods.dev/skills/strikersam/autonomous-ai-agency/sandboxed-exec"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/sandboxed-exec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 608 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00000 $0.00608
Opus 5 $0.00000 $0.00304
Sonnet 5 $0.00000 $0.00122
Haiku 4.5 $0.00000 $0.00061

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

Security

Grade A, and why

sandboxed-exec 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 11d 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.

.agents/skills/sandboxed-exec/SKILL.md · 76 lines

How it starts

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

Skill: sandboxed-exec

Purpose

Run shell commands or code snippets in an isolated subprocess environment, preventing side effects from leaking into the host workspace. Mirrors the "Modal Sandbox" pattern described in the OpenAI Agents SDK blog post — give an agent a safe "home computer" to work on.

When to Use

  • You need to run untrusted or exploratory code (e.g. test a one-off script, validate a dependency, try a risky refactor) without touching the real working tree.
  • You want to verify that generated code actually executes before committing it.
  • You need a clean-room environment (fresh temp dir, isolated env vars) for reproducible testing.

How It Works

  1. Creates a temporary directory as the sandbox root.
  2. Copies (or writes) the target files into the sandbox.
  3. Executes the requested command inside that directory with a sanitised environment.
  4. Captures stdout, stderr, and exit code.
  5. Reports results back — nothing is written to the real workspace unless explicitly requested.

Usage

@sandboxed-exec
command: <shell command to run>
files:   <optional list of workspace-relative files to copy into sandbox>
write_back: <true|false — default false>

Example — validate a generated script before saving

@sandboxed-exec
command: python validate.py
files: [scripts/validate.py, data/sample.json]
write_back: false

Example — run tests in isolation

@sandboxed-exec
command: npm test
files: [src/, package.json, tsconfig.json]
write_back: false

Steps (for Claude to follow)

  1. Identify the command and files from the invocation.
  2. Create sandbox:
    SANDBOX=$(mktemp -d)
    
  3. Copy files into $SANDBOX preserving relative paths.
  4. Execute with a clean environment:
    cd "$SANDBOX" && env -i HOME="$SANDBOX" PATH="/usr/local/bin:/usr/bin:/bin" <command>
    
  5. Capture exit code, stdout, stderr.
  6. Report full output. If write_back: true and exit code is 0, copy results back to workspace.
  7. Cleanup sandbox dir.

Read the full file on GitHub · 76 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. 11d ago First seen · 76 lines · 0 tokens per session scan A 24669122f3a0

Subscribe to this mod's changes

sandboxed-exec is a skill published in the GitHub repository strikersam/autonomous-ai-agency (8 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 608 tokens. 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

assimilate-popular-workflows

This skill should be used when the user asks to "find skills in the wild", "assimilate popular workflows", "discover SKILL.md files in repos", "research external skills", "find workflow patterns", "survey the skill landscape", "what skills exist out there", or wants to investigate public repositories for extractable…

a5c-ai/babysitter · 110 tokens

process-builder

Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to implementation.

a5c-ai/babysitter · 32 tokens

mcp-app-verification

Comprehensive verification checklists for MCP Apps. Tests with basic-host reference, validates handler-before-connect, text fallback, resource URI linking, single-file bundling, host styling, CSP, and legacy pattern detection.

a5c-ai/babysitter · 48 tokens

mcp-app-scaffolding

Scaffolds MCP App project structure with correct directory layout, dependencies, entry points, and framework-specific templates. Handles React (useApp hook), Vanilla JS, Vue, Svelte, Preact, and Solid.

a5c-ai/babysitter · 50 tokens

mcp-csp-investigation

Comprehensive Content Security Policy audit for MCP Apps in sandboxed iframes. Discovers all network origins, traces them to source, and generates CSP configuration for registerAppResource.

a5c-ai/babysitter · 43 tokens

frontmatter-parsing

YAML frontmatter parsing and manipulation for .planning/ documents. Provides read, write, update, query, and validation operations on frontmatter blocks in GSD markdown artifacts.

a5c-ai/babysitter · 40 tokens