File & Directory Handling
autoMemoryDirectory
Section titled “autoMemoryDirectory”- Type: string
- Default:
"~/.claude/auto-memory" - Description: Custom directory for auto-memory storage. Accepts
~/-expanded paths. Not accepted in project settings (.claude/settings.json) to prevent shared repos from redirecting memory writes to sensitive locations. Accepted from policy, local, and user settings. - Example:
{"autoMemoryDirectory": "~/my-memory-dir"}
plansDirectory
Section titled “plansDirectory”- Type: string
- Default:
"~/.claude/plans" - Description: Customize where plan files are stored. Path is relative to project root when set in project settings; home-relative when set in user settings.
- Example:
{"plansDirectory": "./plans"}
fileSuggestion.type
Section titled “fileSuggestion.type”- Type: string
- Default: unspecified
- Description: Configure file suggestion mode:
"command"for custom script, or a built-in type. Used withfileSuggestion.command. - Example:
{"fileSuggestion": {"type": "command"}}
fileSuggestion.command
Section titled “fileSuggestion.command”- Type: string
- Default: unspecified
- Description: Custom command (shell path) for
@-mention autocomplete. Receives JSON withqueryfield via stdin; outputs newline-separated file paths to stdout (limited to 15). - Example:
{"fileSuggestion": {"type": "command","command": "~/.claude/file-suggestion.sh"}}