// 80 tips in Configuration
Setting up and customising your Claude Code environment.
The autoUpdatesChannel setting pins Claude Code to a stable release track that skips versions with major regressions.
The language setting makes Claude respond in your preferred language by default, across every session and project.
The attribution setting lets you customize or completely remove Claude's Co-Authored-By trailer from git commits and pull requests.
The companyAnnouncements setting surfaces team messages to every developer at startup, directly in their Claude Code session.
The cleanupPeriodDays setting controls how long session transcripts are kept, or set it to 0 to disable persistence entirely.
The --name flag sets a human-readable session name at launch, making it easy to resume specific threads later.
Writing AGENTS.md as plain text in CLAUDE.md has no effect — use @AGENTS.md to actually load the file into context.
Set CLAUDE_CODE_NEW_INIT in settings.json to make /init interview you for targeted improvements instead of overwriting your existing CLAUDE.md.
Claude Code checks credentials in a specific order. A stale ANTHROPIC_API_KEY in your shell can shadow your subscription login without any obvious error.
The trigger_phrase parameter lets you change the default @claude mention to any custom keyword, useful for running multiple Claude workflows on the same repo.
The otelHeadersHelper setting runs a script to generate fresh authentication headers for your OTel backend, refreshing automatically every 29 minutes.
Three environment variables control which attributes are included in Claude Code OTel metrics, letting you manage cardinality and storage costs.