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 22.11.2026

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

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