Last active
February 24, 2026 05:41
-
-
Save guilhermerodz/1ceb91fd0aab27a3c394a58db8f9ba91 to your computer and use it in GitHub Desktop.
template-root/.claude/settings.local.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "$schema": "https://json.schemastore.org/claude-code-settings.json", | |
| // ====================== PERMISSIONS (Core for independence) ====================== | |
| "permissions": { | |
| "defaultMode": "bypassPermissions", // ← This eliminates almost ALL prompts (websearch, bash, edits, etc.) | |
| // Deny list = your safety net (these ALWAYS block, even in bypass mode) | |
| "deny": [ | |
| "Read(./.env*)", | |
| "Read(./.env.local*)", | |
| "Read(./.env.*)", | |
| "Read(./secrets/**)", | |
| "Read(~/.ssh/**)", | |
| "Read(*/id_rsa*)", | |
| "Read(*/.npmrc)", | |
| "Bash(rm -rf *)", | |
| "Bash(rm -r *)", | |
| "Bash(curl *)", | |
| "Bash(wget *)", | |
| "Bash(ssh *)", | |
| "Bash(git push --force*)", | |
| "Bash(sudo *)" | |
| ], | |
| // (Optional) Explicit allow list for documentation / future use | |
| // With bypassPermissions these are not strictly needed, but useful if you switch modes | |
| "allow": [ | |
| "WebSearch", // ← Explicit web search (the one you asked about) | |
| "WebFetch(*)", // ← All web fetching / research | |
| "Bash(**)", | |
| "Read(**)", | |
| "Edit(**)", | |
| "MultiEdit(**)", | |
| "Write(**)", | |
| "Grep(**)", | |
| "Glob(**)", | |
| "LS(**)", | |
| "Task(**)", | |
| "mcp__*" // All MCP tools (browser, github, etc.) | |
| ] | |
| }, | |
| // ====================== SAFETY & EXECUTION ====================== | |
| "sandbox": { | |
| "enabled": true, | |
| "autoAllowBashIfSandboxed": true | |
| }, | |
| // ====================== AUTONOMY FEATURES ====================== | |
| "enableAllProjectMcpServers": true, // Auto-approve all local MCP tools | |
| "alwaysThinkingEnabled": true, // Claude thinks harder by default (better research & code) | |
| // ====================== UX / OUTPUT ====================== | |
| "outputStyle": "compact", // Much less verbose — fewer unnecessary comments | |
| // ====================== ENVIRONMENT ====================== | |
| "env": { | |
| "CLAUDE_CODE_ENABLE_TELEMETRY": "0" // Disable tracking (privacy) | |
| // Add any project-specific env vars here, e.g.: | |
| // "NODE_ENV": "development" | |
| } | |
| // ====================== OPTIONAL EXTRAS (uncomment if you want them) ====================== | |
| // "teammateMode": "in-process", // Faster sub-agents (or "tmux" for parallel) | |
| // "language": "en", // Force language if needed | |
| // "fileSuggestion": { // Custom @file autocomplete script | |
| // "type": "command", | |
| // "command": "~/.claude/file-suggestion.sh" | |
| // } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://json.schemastore.org/claude-code-settings.json", | |
| "permissions": { | |
| "defaultMode": "bypassPermissions", | |
| "deny": [ | |
| "Read(./.env*)", | |
| "Read(./.env.local*)", | |
| "Read(./.env.*)", | |
| "Read(./secrets/**)", | |
| "Read(~/.ssh/**)", | |
| "Read(*/id_rsa*)", | |
| "Read(*/.npmrc)", | |
| "Bash(rm -rf *)", | |
| "Bash(rm -r *)", | |
| "Bash(curl *)", | |
| "Bash(wget *)", | |
| "Bash(ssh *)", | |
| "Bash(git push --force*)", | |
| "Bash(sudo *)" | |
| ], | |
| "allow": [ | |
| "WebSearch", | |
| "WebFetch(*)", | |
| "Bash(**)", | |
| "Read(**)", | |
| "Edit(**)", | |
| "MultiEdit(**)", | |
| "Write(**)", | |
| "Grep(**)", | |
| "Glob(**)", | |
| "LS(**)", | |
| "Task(**)", | |
| "mcp__*" | |
| ] | |
| }, | |
| "sandbox": { | |
| "enabled": true, | |
| "autoAllowBashIfSandboxed": true | |
| }, | |
| "enableAllProjectMcpServers": true, | |
| "alwaysThinkingEnabled": true, | |
| "outputStyle": "compact", | |
| "env": { | |
| "CLAUDE_CODE_ENABLE_TELEMETRY": "0" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment