anthropics / anthropics/claude-code
Desktop Code tab system prompt still lists /doctor as unavailable, but it is a bundled skill and runs there
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 147k
- Forks
- 24k
- PR merge metrics
- PR metrics pending
Description
The Claude desktop app (Code tab) injects this into the model's system prompt:
Terminal-dialog slash commands such as
/permissions,/config,/doctor, and/hooksopen an interactive terminal panel and are not available in this session — do not tell the user to run them here.
Including /doctor in that list is outdated. Since v2.1.205, /doctor is a bundled skill (https://code.claude.com/docs/en/skills#bundled-skills, changelog 2.1.205), and typing /doctor in the Code tab runs it.
A fresh claude -p session on the same machine also lists doctor in slash_commands and skills.
Result: the model tells users /doctor is not available in the app and sends them to the terminal.
Expected: remove /doctor from that list in the desktop system prompt.
Related: #64507 (pre-2.1.205 behavior, closed), #90848 (shows /doctor running in Desktop).
Environment
- Claude desktop app: 2.2553.1 (latest)
- Claude Code: 2.1.278 (latest)
- Model: Opus 5
- OS: macOS
🤖 Generated with Claude Code
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the repository for the quoted desktop system-prompt text and inspect the entry point that assembles it. Remove only /doctor from the unavailable-command list, then verify the generated prompt no longer directs Code-tab users to the terminal while /permissions, /config, and /hooks remain listed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100