|
Download examples/settings/README.md from SaylorTwift/claude-code: direct link, hf CLI and curl.
- Browser
- Download file 2.03 kB
-
https://huggingface.co/SaylorTwift/claude-code/resolve/main/examples/settings/README.md
- Command line
-
hf download hf://SaylorTwift/claude-code/examples/settings/README.md
-
curl -L -o README.md https://huggingface.co/SaylorTwift/claude-code/resolve/main/examples/settings/README.md
2.03 kB
| # Settings Examples | |
| Example Claude Code settings files, primarily intended for organization-wide deployments. Use these as starting points β adjust them to fit your needs. | |
| These may be applied at any level of the [settings hierarchy](https://code.claude.com/docs/en/settings#settings-files), though certain properties only take effect if specified in enterprise settings (e.g. `strictKnownMarketplaces`, `allowManagedHooksOnly`, `allowManagedPermissionRulesOnly`). | |
| ## Configuration Examples | |
| > [!WARNING] | |
| > These examples are community-maintained snippets which may be unsupported or incorrect. You are responsible for the correctness of your own settings configuration. | |
| | Setting | [`settings-lax.json`](./settings-lax.json) | [`settings-strict.json`](./settings-strict.json) | [`settings-bash-sandbox.json`](./settings-bash-sandbox.json) | | |
| |---------|:---:|:---:|:---:| | |
| | Disable `--dangerously-skip-permissions` | β | β | | | |
| | Block plugin marketplaces | β | β | | | |
| | Block user and project-defined permission `allow` / `ask` / `deny` | | β | β | | |
| | Block user and project-defined hooks | | β | | | |
| | Deny web fetch and search tools | | β | | | |
| | Bash tool requires approval | | β | | | |
| | Bash tool must run inside of sandbox | | | β | | |
| ## Tips | |
| - Consider merging snippets of the above examples to reach your desired configuration | |
| - Settings files must be valid JSON | |
| - Before deploying configuration files to your organization, test them locally by applying to `managed-settings.json`, `settings.json` or `settings.local.json` | |
| - The `sandbox` property only applies to the `Bash` tool; it does not apply to other tools (like Read, Write, WebSearch, WebFetch, MCPs), hooks, or internal commands | |
| ## Deploying via MDM | |
| To distribute these settings as enterprise-managed policy through Jamf, Iru (Kandji), Intune, or Group Policy, see the deployment templates in [`../mdm`](../mdm). | |
| ## Full Documentation | |
| See https://code.claude.com/docs/en/settings for complete documentation on all available managed settings. | |