[BUG] .claude directory being created in user profile in windows

Resolved 💬 3 comments Opened Jan 10, 2026 by markring Closed Jan 14, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

In windows claude CLI is read/writing to Users/[user]/.claude directory in addition to project directory. Directory found in windows profile screen shot below.

What Should Happen?

.claude directory should be created in project directory, read/write I thought should be confined to that space.

Error Messages/Logs

Steps to Reproduce

Request a plan from claude, plan will be written to Users/[user]/.claude/plan directory.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.3

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

<img width="170" height="415" alt="Image" src="https://github.com/user-attachments/assets/2562dbde-1fe2-4348-bdaf-c5337705b603" />

View original on GitHub ↗

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