[BUG] Links to open Claude Cowork locally and pre-fill prompt don't recognize available skills
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?
Links to Claude Cowork that have a slash command are not recognized until the user edits the prompt.
In the example below, the user would have a skill called 'entdata-customer-risk-report-runner' installed. The link provided will open Claude Cowork with a pre-filled prompt that starts with /entdata-customer-risk-report-runner. If the user clicks Enter or runs the prompt, Cowork will tell them the skill is not recognized, even though they do have it.
If the user then edits the prompt the skill will be recognized.
[Example link to a local skill](claude://cowork/new?q=%2Fentdata-customer-risk-report-runner%20Customer%20X)
<img width="756" height="443" alt="Image" src="https://github.com/user-attachments/assets/1a36c1a0-8b0a-49c2-a7f2-516dbc288b19" />
<img width="794" height="359" alt="Image" src="https://github.com/user-attachments/assets/cee18725-34f8-4edb-84bd-e7d1c6921657" />
What Should Happen?
When the user clicks on the link, Claude Cowork should open, pre-fill the prompt, and recognize the skill is installed and run it when the user hit Enter.
Error Messages/Logs
Unknown skill: {INSTALLED SKILL NAME}.
Steps to Reproduce
- Add a skill to Claude Cowork
- Make a URL to open Claude Cowork with a pre-filled prompt starting with that skill
- Open the URL
- Without modifying the prompt, press enter or submit the prompt
- Notice the error that Claude does not recognize the skill
- Modify the prompt, notice Claude suggests the installed skill in the drop down
- Select the installed skill, the skill in the prompt will turn blue
- Submit again
- Notice it works
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.202
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_