[Bug] Claude Code creates persistent tmpClaude files in repository after task completion
Status Fixed / completed
Reported on v2.1.7
Maintainer reply None cached
Activity 3 comments · opened Jan 14, 2026 · closed Jan 15, 2026
Bug Description
Claude Code is creating temporary files with the naming pattern tmpclaude-{hash}-cwd in the repository root directory. These files persist after tasks complete and accumulate over time. They are not automatically cleaned up, requiring manual deletion.
Environment Info
- Platform: win32
- Terminal: cursor
- Version: 2.1.7
- Feedback ID: c584584a-8593-42fc-9a74-f2ff55eac8cd
3 Comments
Sounds like the same issue
https://github.com/anthropics/claude-code/issues/18008
Ye ^ close this and bump to
2.1.17This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.