[FEATURE] ~/.claude.json should be stored in ~/.claude

Open 💬 7 comments Opened Feb 9, 2026 by mdippery

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

Claude spams my home directory with _six_ ~/.claude.json!

.claude.json
.claude.json.backup.1770406785596
.claude.json.backup.1770416750158
.claude.json.backup.1770416750168
.claude.json.backup.1770658516793
.claude.json.backup.1770658710224

This seems a bit silly since there is a ~/.claude directory, too. It clutters up the home directory.

Proposed Solution

Claude should store ~/.claude.json in the ~/.claude directory, or even better, it should adhere to the XDG specification and store it in a subdirectory of XDG_CONFIG_HOME (default: ~/.config/claude).

Alternative Solutions

_No response_

Priority

Critical - Blocking my work

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗