microsoft / microsoft/vscode

Unable to use /context or /usage commands in Claude Agent

Open
#327,444 0 comments 1 reaction 1 assignee Claimed by @TylerLeonhardt View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Does this issue occur when all extensions are disabled?: Yes/No

Version: 1.130.0 (user setup)
Commit: 1b6a188127eeaf9194f945eb6eb89a657e93c54c
Date: 2026-07-22T14:55:04Z
Electron: 42.6.0
ElectronBuildId: 14623276
Chromium: 148.0.7778.280
Node.js: 24.18.0
V8: 14.8.178.38-electron.0
OS: Windows_NT x64 10.0.26200

with settings:
```
"chat.agentHost.enabled": true,
"chat.agents.claude.preferAgentHost": true,
"chat.editor.claude.preferAgentHost": true,
```

and host settings:
```
"claudeUseCopilotProxy": false
```

Steps to Reproduce:

1. Configure settings as above (have not tested _which_ settings impact it)
2. Open Agents View
3. Type a claude slash command like `/context` or `/usage` - note the autocomplete
Image

Expected Result:
The command is run and the output is shown

Actual Result:
The message cannot be sent - nothing happens after pressing enter or manually clicking send - the input remains untouched (does not clear). No obvious error is emitted.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.