NachschlagenQuellenregister

Dokumentationerreichbar

Claude Code, Settings reference

code.claude.com (externe Seite)

Die Referenz aller Einstellungen von Claude Code. Der Eintrag includeGitInstructions beschreibt den Git-Kontext, den das Werkzeug von sich aus mitgibt: eingebaute Anweisungen für Commits und Pull Requests sowie einen Schnappschuss mit Branch, Hauptzweig, Status und jüngsten Commits, gelesen beim Start eines Gesprächs. Der Schalter nimmt beides heraus, in Cloud-Sitzungen fehlt der Schnappschuss immer. Abgerufen am 09.10.2026.

geprüft 10.11.2026

Worauf sich diese Seite beruft, wörtlich, abgerufen am 09.10.2026:

  • Claude Code reads it when a conversation starts.bestätigt 10.11.2026
  • Cloud sessions never include the snapshotbestätigt 10.11.2026
  • Show a one-line session recap when you return to the terminal after a few minutes away.bestätigt 10.11.2026
  • CLAUDE_CODE_ENABLE_AWAY_SUMMARY takes precedence over this key for one session, in either directionbestätigt 10.11.2026
  • its built-in instructions for how to write commits and pull requestsbestätigt 10.11.2026
  • Commits get a git trailer such as Co-Authored-By by default; pull request descriptions get plain text.bestätigt 10.11.2026
  • The name is the model in use when the commit is madebestätigt 10.11.2026
  • your own instructions about attribution, such as a CLAUDE.md or memory rule, take precedence over these commit and PR linesbestätigt 10.11.2026
  • unless the line is set in managed settingsbestätigt 10.11.2026
  • When a subagent makes the commit, the trailer names the subagent’s model.bestätigt 10.11.2026
  • When it can’t match the model ID to any Claude modelbestätigt 10.11.2026
  • Claude Code adds the link as a Claude-Session trailer on commits and as a link in pull request descriptions.bestätigt 10.11.2026
  • earlier versions reject it and skip the whole user, project, or local settings file that holds itbestätigt 10.11.2026
  • Deprecated since v2.0.62, when attribution replaced it.bestätigt 10.11.2026
  • The snapshot holds the current branch, the main branch, git status output, and recent commits.bestätigt 10.11.2026
  • CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS takes precedence over this key for one sessionbestätigt 10.11.2026
  • Every key below links to its entry. Scope lists thebestätigt 10.11.2026
  • Claude Code passes the value verbatim to Claude as an instruction to always respond in that languagebestätigt 10.11.2026
  • Claude Code doesn’t check the value, so a misspelled name reaches Claude as written rather than producing an error.bestätigt 10.11.2026
  • for auto-generated session titlesbestätigt 10.11.2026
  • A session on a provider that isn’t listed is refused at startup, at login, and when it next contacts the APIbestätigt 10.11.2026
  • A list delivered through server-managed settings alone reaches only the sessions thatbestätigt 10.11.2026
  • Pin claude.ai logins to your organizationbestätigt 10.11.2026
  • a cloned repository must not be able to supply thembestätigt 10.11.2026
  • CLAUDE_CODE_DISABLE_AUTO_MEMORY takes precedence over this key for one session, in either directionbestätigt 10.11.2026
  • auto memory stays on unless something that outranks this key turns it off for the sessionbestätigt 10.11.2026
  • Planning can use a lot of contextbestätigt 10.11.2026
  • Choose whether Claude Code uses the auto mode classifier to review shell commands in plan mode.bestätigt 10.11.2026
  • A repository can’t turn it off for you.bestätigt 10.11.2026
  • Choose where Claude Code stores the plan files it writes in plan modebestätigt 10.11.2026
  • Claude Code resolves the path relative to the project root.bestätigt 10.11.2026
  • approves the plan, clears the conversation context, and starts implementing from the plan alonebestätigt 10.11.2026
  • Compacted while idle, before the prompt cache expiredbestätigt 10.11.2026
  • you’re in an interactive terminal session, in the VS Code extension’s chat panel, or in the desktop app’s Code tab when the session runs on your machine or over SSHbestätigt 10.11.2026
  • about an hour has passed since the last request, and your computer stays awake until thenbestätigt 10.11.2026
  • At the default, a conversation on a 200K context window auto-compacts before it reaches 200,000 tokens.bestätigt 10.11.2026
  • Idle compaction is on by default for conversations that meet all of these conditionsbestätigt 10.11.2026
  • where Claude Code can’t fetch feature flags from Anthropic, idle compaction doesn’t runbestätigt 10.11.2026
  • which you can change from its default of 200,000bestätigt 10.11.2026
  • Set how many days Claude Code keeps session transcripts and other application data before deleting thembestätigt 10.11.2026
  • so you can derive policy from device posture, identity, or a remote service instead of a static filebestätigt 10.11.2026
  • it ignores the key in server-managed settings, the HKCU registry, and host-supplied parent settingsbestätigt 10.11.2026
  • When server-managed settings deliver the policy at launch, they take precedence over the helper’s source and the helper doesn’t run.bestätigt 10.11.2026
  • The refusal covers interactive sessions, claude -p, Agent SDK sessions, background sessions, and most subcommands.bestätigt 10.11.2026
  • When a background refresh fails, Claude Code keeps the last successful policy in effectbestätigt 10.11.2026
  • and never merges parent settingsbestätigt 10.11.2026
  • If you turn auto-compact off, idle compaction turns off too.bestätigt 10.11.2026
  • The key doesn’t limit shell commands, MCP tools, or the programs hooks run.bestätigt 10.11.2026
  • A true in any file the session loads applies, so a repository can turn the block on for itself but can’t lift yours.bestätigt 10.11.2026
  • so writes outside the working directories follow your permission modebestätigt 10.11.2026
  • The block is also on while Claude Code can’t read the permissions object in your managed settings.bestätigt 10.11.2026
  • Claude Code refuses these writes inside the working directories too, because a settings file can lift the block.bestätigt 10.11.2026
  • Some of Claude Code’s own files stay writable, such as plan filesbestätigt 10.11.2026
  • No allow rule lets Claude’s file tools through either block.bestätigt 10.11.2026
  • To limit where shell commands write, turn on sandboxing.bestätigt 10.11.2026
  • Once the key is on, Claude Code also removes the EnterWorktree and ExitWorktree tools or refuses calls to them.bestätigt 10.11.2026
  • To lift the block, remove the key from every settings file that sets it, then restart Claude Code.bestätigt 10.11.2026
  • To let a write through in any of the other cases, add a working directory.bestätigt 10.11.2026
  • To test the block, ask Claude to use the Write tool to create a file outside your working directoriesbestätigt 10.11.2026
  • A directory that only repository settings addbestätigt 10.11.2026
  • In a cloud session, Claude Code might not apply the key, because the file tools run in a container that is itself the boundary.bestätigt 10.11.2026
  • the CLAUDE.md memory file under ~/.claude/. Requires Claude Code v2.1.257 or later.bestätigt 10.11.2026
  • one that additionalDirectories lists only in .claude/settings.json, or in .claude/settings.local.json unless git reports that file as untrackedbestätigt 10.11.2026
  • in every permission mode, including bypassPermissions, apart from some of Claude Code’s own filesbestätigt 10.11.2026
  • Code tab when the session runs on your machine or over SSHbestätigt 10.11.2026
  • Values below 100000 are raised to 100000, the lowest threshold.bestätigt 10.11.2026

Wenn die Zusammenfassung Anweisungen enthält, die niemand gegeben hat04 Versionierung05 Das Gedächtnis05 Kontext und Sitzungen14 Anweisungen und Gedächtnis15 Einstellungen und Ebenen16 Rechte und Sandbox17 Skills und Befehle23 Plan vor Code26 Git und Forges27 Übergabe zwischen Sitzungen

Alle Quellen

↑↓ auswählenEnter öffnenDie Suche läuft im Browser. Nichts wird übertragen.