Quick Reference
| Task | Setting / Variable |
|---|---|
| Set default model | model in settings or ANTHROPIC_MODEL env var |
| Lock model choices | availableModels array |
| Silence telemetry | DISABLE_TELEMETRY=1 or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 |
| Auto-approve bash | permissions.defaultMode: "acceptEdits" |
| Block sensitive files | permissions.deny: ["Read(.env)"] |
| Reduce context compaction | CLAUDE_AUTOCOMPACT_PCT_OVERRIDE=70 |
| Set response language | language: "japanese" |
| Custom spinner text | spinnerVerbs + spinnerTipsOverride |
| Remove attribution | attribution.commit: "", attribution.pr: "" |
| Pin to stable releases | autoUpdatesChannel: "stable" |
| Dynamic auth token | apiKeyHelper: "/path/to/script.sh" |
| Large monorepo | worktree.symlinkDirectories + worktree.sparsePaths |
| Enable sandboxing | sandbox.enabled: true |
| Trust all project MCP servers | enableAllProjectMcpServers: true |