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.
Recommended settings
Section titled “Recommended settings”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" }}Why these defaults
Section titled “Why these defaults”- Push notifications make long-running work easier to leave alone.
- Longer cleanup retention makes
/resumemore 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.