policies / claude.yml
Claude Code Policy
Allows access to the minimum binaries and locations needed by Claude Code. Intentionally does NOT include any additional, potentially invasive tools like sh, bash, git, etc.
Include
stonewall policy include https://stonewall.sh/policies/claude.ymlSource
# $schema: https://stonewall.sh/schema.json
####################################################################################
# This is an official stonewall.sh policy and should not be changed locally. #
# Please always review remote policies before applying them. Stonewall and its #
# policies come without warranty of any kind. See LICENSE for details. #
####################################################################################
policy:
name: Claude Code
url: https://stonewall.sh/policies/claude.yml
tier: 3
tags:
- coding-agent
- anthropic
description: >
Allows access to the minimum binaries and locations needed by Claude Code.
Intentionally does NOT include any additional, potentially invasive tools like
sh, bash, git, etc.
bin:
allowed:
- claude
- node
- security
expose:
write:
- ~/.claude
- ~/.claude.json