Skip to content

Opinionated Claude Code Setup

This setup is a starting point, not a universal rule. It optimizes for long-running work, fewer distractions, more preserved context, and privacy-focused defaults.

Add this to ~/.claude/settings.json and adjust anything that does not match your workflow.

{
"agentPushNotifEnabled": true,
"inputNeededNotifEnabled": true,
"cleanupPeriodDays": 365,
"spinnerTipsEnabled": false,
"attribution": {
"commit": "",
"pr": ""
},
"env": {
"CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY": "1",
"DISABLE_TELEMETRY": "1",
"DISABLE_ERROR_REPORTING": "1",
"DISABLE_NON_ESSENTIAL_MODEL_CALLS": "1",
"CLAUDE_AUTOCOMPACT_PCT_OVERRIDE": "75"
}
}
  • Push notifications make long-running work easier to leave alone.
  • Longer cleanup retention makes /resume more valuable.
  • Earlier auto-compaction leaves buffer before the context window is under pressure.
  • Spinner tips can be distracting once you know the basics.
  • Empty attribution fields keep commits and PRs closer to your normal templates.
  • Privacy-focused environment variables reduce optional telemetry and non-essential calls.