Skip to content

Instantly share code, notes, and snippets.

@khasky
Created May 8, 2026 05:15
Show Gist options
  • Select an option

  • Save khasky/552d50c6e0af05df3031d5691664d1f4 to your computer and use it in GitHub Desktop.

Select an option

Save khasky/552d50c6e0af05df3031d5691664d1f4 to your computer and use it in GitHub Desktop.
%USERPROFILE%\.claude\settings.json
{
"env": {
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
"DISABLE_TELEMETRY": "1",
"DISABLE_ERROR_REPORTING": "1",
"DISABLE_FEEDBACK_COMMAND": "1",
"CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY": "1",
"CLAUDE_CODE_SKIP_PROMPT_HISTORY": "1",
"CLAUDE_CODE_DISABLE_AUTO_MEMORY": "1",
"CLAUDE_CODE_DISABLE_BACKGROUND_TASKS": "1",
"CLAUDE_CODE_DISABLE_CRON": "1",
"CLAUDE_CODE_SUBPROCESS_ENV_SCRUB": "1",
"CLAUDE_CODE_MCP_ALLOWLIST_ENV": "1",
"CLAUDE_CODE_HIDE_CWD": "1",
"CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL": "1",
"CLAUDE_CODE_AUTO_CONNECT_IDE": "false"
},
"autoMemoryEnabled": false,
"feedbackSurveyRate": 0,
"respectGitignore": true,
"disableAllHooks": true,
"disableSkillShellExecution": true,
"permissions": {
"defaultMode": "plan",
"disableBypassPermissionsMode": "disable",
"disableAutoMode": "disable",
"deny": [
"Read(./.env)",
"Read(./.env.*)",
"Read(./secrets/**)",
"Read(./config/credentials.json)",
"Read(./**/*.pem)",
"Read(./**/*.key)",
"Read(./**/*.p12)",
"Read(./**/*.pfx)",
"Bash(git push *)",
"Bash(gh pr merge *)",
"Bash(npm publish *)",
"Bash(pnpm publish *)",
"Bash(yarn npm publish *)",
"Bash(curl *)",
"Bash(wget *)",
"WebFetch"
],
"ask": [
"Bash",
"Edit",
"Write"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment