← スキル一覧に戻る

sandbox-setup
by ohare93
CLI Ralph Loops with Good UX
⭐ 7🍴 0📅 2026年1月22日
SKILL.md
name: sandbox-setup description: Configure Claude Code sandbox settings for this repository
Sandbox Setup Skill
Configure Claude Code for optimal autonomous agent execution in this repository.
What This Skill Does
-
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
-
Generates tailored permissions for
.claude/settings.json:- Allow commands for detected tools
- Network access for package registries
- File system permissions for build outputs
-
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:
- Scan the repository for configuration files (package.json, go.mod, Cargo.toml, requirements.txt, etc.)
- Ask clarifying questions about your workflow
- Present proposed settings for your approval
- 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 agent:*)", "Bash(git push:*)"]
},
"hooks": { ... }
}
Reference
For detailed sandbox configuration options, see: https://www.nathanonn.com/claude-code-sandbox-explained/
スコア
総合スコア
65/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
レビュー
💬
レビュー機能は近日公開予定です

