smithery.ai

sandbox-setup

Configure Claude Code sandbox settings for this repository

First seen Apr 2, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,964 B
  • docs SUMMARY.md 79 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Sandbox Setup Skill

Configure Claude Code for optimal autonomous agent execution in this repository.

What This Skill Does

  1. Analyzes your codebase to detect:

- Programming languages (Go, Python, Node.js, Rust, etc.) - Package managers (go mod, npm, pip, cargo, etc.) - Build tools and test runners - Dev servers and their ports

  1. Generates tailored permissions for .claude/settings.json:

- Allow commands for detected tools - Network access for package registries - File system permissions for build outputs

  1. Preserves existing settings:

- Merges with hooks configuration - Keeps deny rules for secrets - Maintains ask rules for git push

How to Use

When invoked, I will:

  1. Scan the repository for configuration files (package.json, go.mod, Cargo.toml, requirements.txt, etc.)
  2. Ask clarifying questions about your workflow
  3. Present proposed settings for your approval
  4. Update .claude/settings.json

Detection Patterns

I look for these files to detect your stack:

  • go.mod → Go (go build, go test, go mod)
  • package.json → Node.js (npm, yarn, pnpm, node)
  • Cargo.toml → Rust (cargo build, cargo test)
  • requirements.txt / pyproject.toml → Python (pip, python, pytest)
  • Gemfile → Ruby (bundle, ruby, rake)
  • pom.xml / build.gradle → Java (mvn, gradle)
  • devbox.json → Devbox (devbox run)

Settings Structure

The generated settings follow this structure:

{
  "sandbox": {
    "enabled": true,
    "autoAllowBashIfSandboxed": true
  },
  "permissions": {
    "allow": ["Bash(detected-tools:*)"],
    "deny": ["Read(./.env)", "Read(./secrets/**)"],
    "ask": ["Bash(juggle:*)", "Bash(git push:*)"]
  },
  "hooks": { ... }
}

Reference

For detailed sandbox configuration options, see: https://www.nathanonn.com/claude-code-sandbox-explained/