[BUG] Cowork scheduled tasks reference ephemeral session upload path instead of persistent skill file path
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?
When a scheduled task fires, the <scheduled-task> system tag passes a file attribute pointing to a session-specific uploads path (e.g. /sessions/<session-id>/mnt/uploads/SKILL.md). Because each scheduled task run starts a fresh session, this path never exists — causing the task to fail on every execution.
What Should Happen?
The file attribute in the <scheduled-task> tag should point to the persistent skill file location: ~/Documents/Claude/Scheduled/<taskId>/SKILL.md — not the ephemeral session uploads folder.
Error Messages/Logs
File does not exist: /sessions/<session-id>/mnt/uploads/SKILL.md
The persistent skill file exists at: ~/Documents/Claude/Scheduled/email-triage-midday/SKILL.md
Steps to Reproduce
- Create a scheduled task via the Cowork scheduled tasks tool
- 2. Wait for it to fire automatically on its cron schedule (or trigger it manually)
- 3. Claude attempts to read the SKILL.md file at the path provided in the
fileattribute of the<scheduled-task>tag - 4. File is not found — task fails with: "File does not exist: /sessions/<session-id>/mnt/uploads/SKILL.md"
Note: The actual SKILL.md exists at ~/Documents/Claude/Scheduled/<taskId>/SKILL.md but the system tag points to the wrong path.
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
1.1.4498-1.3.16 (Claude Desktop)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Xterm
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗