[BUG] Desktop (Windows): request_directory silently refuses ~/.claude and the app's data folder with a misleading "could not be resolved" error, while the Files pane opens those same files via the home folder
What happens
In the Claude desktop app's Code tab (Windows, app 5.11492.5.0), the request_directory tool refuses ~/.claude, every folder inside it, and the app's own data folder (%LOCALAPPDATA%\Claude-Data\..., where installed claude.ai skills live). The only answer it gives is:
The requested directory could not be resolved.
That is false. The folders exist and resolve fine. This is a deliberate refusal: the app's code has a list of protected places that names .claude as Claude's own settings folder, and the app refuses anything inside its own data folder. But the error message hides that.
Refused, all tested on 2026-11-16 or in earlier sessions:
C:\Users\<user>\.claude,~/.claude,.claude\automations,.claude\skills\retro,.claude/skills- the 8.3 short-name form
C:\Users\<user>\CLAUDE~2\automations - the long-path form
\?\C:\Users\<user>\.claude\automations - a junction pointing into
.claude - the skills-plugin folder under
%LOCALAPPDATA%\Claude-Data\...
Accepted: C:\Users\<user>\.codex and C:\Users\<user> itself.
Why this is broken, not just strict
-
The error message lies. "Could not be resolved" tells the agent the path is wrong, so it tries again with another spelling of the path, a junction, the parent folder. Every session burns turns on this, then warns me that its file links may not open. That happened in 15 separate sessions between 2026-11-02 and 2026-11-16.
-
The protection protects nothing. Adding the parent folder
C:\Users\<user>is accepted. After that, links to files in.claudeand in the skills folder open in the Files pane without complaint. So the block doesn't keep anything out. It only makes me grant access to my whole home folder to read my own skills and scripts, which is the opposite of what a protection should cause. -
It blocks a normal use. My personal skills, helper scripts and installed skills are files I wrote and maintain. Being able to open a skill the agent is editing in the Files pane is the basic workflow, not an edge case.
What I'm asking for
- A truthful error that names the protected location and says it is protected on purpose, e.g. "
~/.claudeis Claude's settings folder and can't be added as a working directory", so agents stop retrying and users know what's going on. - A way to let the Files pane open, read-only is fine,
~/.claude/skills, other user folders under~/.claude, and the installed-skills folder, without adding the whole home folder. A setting, an allowlist, or a read-only grant would all work. - Consistency: if the home folder may be added and then exposes these files anyway, the narrower request should not be refused.
Related: #91613 (plan file links under ~/.claude/plans, closed), #94446 (file viewer can't open links under added directories).
This issue has been automatically marked as stale due to inactivity. This issue will be closed automatically if there's no activity within 14 days.
Still an issue as of 2026-12-01. Please keep this open.