skill-sandbox-configurator

Community

Safely sandbox any Agent Skill with Docker

Authorjiluojiluo
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents unsafe or inconsistent execution of Agent Skills by generating a controlled OpenSandbox/Docker environment from an existing skill directory and its declared permission risks.

Core Features & Use Cases

  • Scans Skill permissions and risk signals: analyzes the target skill’s SKILL.md and its Python/Shell/markdown files to identify potential high-risk behaviors (e.g., secret access, deletion, external sending).
  • Generates sandbox assets on demand: creates per-skill sandbox configuration, including sandbox.json, PERMISSIONS.md, a requirements.txt stub based on detected imports, and a sandbox/Dockerfile template.
  • Performs safety-oriented security checks: produces warnings or blocks guidance based on detected CRITICAL/HIGH/MEDIUM patterns, aligning the generated permission level to the observed needs.
  • Updates agent documentation for operational compliance: ensures the project’s AGENTS.md includes a standardized “Sandbox 执行要求” section when missing.
  • Builds a dedicated Docker image: constructs a {skill-name}-sandbox:latest image from the generated sandbox directory and prepares a test run command.

Example use case: You have a community or internal skill that needs to run inside OpenSandbox; use this Skill to generate a least-privilege sandbox setup that denies dangerous filesystem paths, restricts environment variables, and blocks unexpected network/exfiltration behaviors.

Quick Start

Ask the agent to run the sandbox configurator for your skill named contract-legal-review, ensuring it scans the skill, generates sandbox.json and related files, performs security checks, and builds the Docker image.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: skill-sandbox-configurator
Download link: https://github.com/jiluojiluo/agent-skill-sandbox-configurator/archive/main.zip#skill-sandbox-configurator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.