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 17.11.2026

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

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

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.