// 84 tips tagged "configuration"
The autoUpdatesChannel setting pins Claude Code to a stable release track that skips versions with major regressions.
The SessionStart hook fires when any session begins or resumes, making it ideal for loading environment variables and running one-time setup scripts.
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 otelHeadersHelper setting runs a script to generate fresh authentication headers for your OTel backend, refreshing automatically every 29 minutes.
CLAUDE.md loads into every message. Move workflow-specific instructions into skills that load on demand to reduce token costs across your session.