manage-sandbox-allowlist

Adds or removes allowlist and denylist patterns in ~/.claude/settings.json.

23|3|Updated May 17, 2024
One-click install
npx skills add https://github.com/johnend/dots --skill manage-sandbox-allowlist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: manage-sandbox-allowlist
Source: https://github.com/johnend/dots/tree/main/common/.ai/skills/manage-sandbox-allowlist
Command: npx skills add https://github.com/johnend/dots --skill manage-sandbox-allowlist

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Add or remove CLI tool patterns from Claude Code's sandbox permissions allowlist and denylist to keep your development environment secure and productive.

Core Features & Use Cases

  • Manage Bash(<pattern>) allowances to enable safe tooling while blocking risky commands.
  • Restrict access to sensitive paths with Read(<path>) and Edit(<path>) patterns to protect data.
  • Use Case: respond to a blocked command by proposing and applying the exact allowlist pattern to regain workflow with minimal disruption.

Quick Start

Edit ~/.claude/settings.json to add or remove a permission pattern in the allowlist and save the changes.

Frequently Asked Questions about manage-sandbox-allowlist

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a blocked command to the Claude Code sandbox allowlist?

You can unblock a command by adding its specific Bash, Read, or Edit pattern to the allowlist in your ~/.claude/settings.json file, which applies the permission change directly to your local development environment.

How does the sandbox allowlist denylist mechanism work in Claude Code?

The allowlist and denylist mechanism works by defining permission patterns in ~/.claude/settings.json, where allowlist entries enable specific Bash commands and denylist entries restrict access to risky commands or sensitive paths.

What is the best way to manage sandbox permissions for local development environments?

The best way to manage sandbox permissions is to tune the allowlist and denylist patterns in ~/.claude/settings.json, validating changes against conflicts and reviewing a diff before applying edits to your local development environment.

Can I restrict access to sensitive file paths using Claude Code sandbox settings?

Yes, you can restrict access to sensitive file paths by adding Read(<path>) and Edit(<path>) patterns to the denylist in your ~/.claude/settings.json file, which protects sensitive data from unauthorized access or modification.

Why does Claude Code block my CLI tool and how do I remediate it?

Claude Code blocks CLI tools that do not match existing allowlist patterns in your settings.json. You can remediate the blocked command by proposing and applying the exact allowlist pattern to regain your workflow with minimal disruption.