Support slash command autocomplete when '/' is typed mid-prompt
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?
Requesting reopen. Closing this as "not planned" assumes the trigger is a convenience. It is the only discovery surface for skills. With 50+ installed I cannot recall exact names or hyphenation, so gating the picker to position 0 means anything after the first token is unreachable in practice — even though mid-prompt commands still execute (#44488). The ask is small: match /[\w-]* at any cursor position preceded by start-of-input or whitespace, and open the existing dropdown. No behaviour change to execution, no new UI.
What Should Happen?
/ bring up global skills at any time during prompt. As they always did.
Error Messages/Logs
Steps to Reproduce
Open Claude app
Toggle to Code Mode
Anywhere inside composer box that is not the first cursor position does not allow you to call upon skill library by pressing "/" as it always did.
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
1.34493.1
Claude Code Version
Claude 1.37937.1 (edbd3c) 2026-08-25T22:55:59.000Z
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
13 Comments
This is so fucking frustrating. How can such a serious bug make it into a released version? Nobody tested this. Nobody tested this. I guarantee it. How is that even possible? Multiple commands are affected too. Those are skills as well. What kind of testing process does a leading global AI company have if it can’t even catch bugs like this? We even buy the AI to eliminate our own errors and it can’t even detect errors like this.
Same issue affecting my workflow. Slash commands only trigger at line start, blocking mid-message usage. Using v2.1.265 (Claude Code). Workaround: slash commands at line start only.
The problem is still there to this day. It is still there in today’s release. Just imagine that. They still haven’t fixed the bug. It is absolutely outrageous beyond words. I am furious I can tell you. And we professional users pay top dollar and depend on their solution in a professional environment. For weeks now we haven’t been able to use multiple commands the way we are used to working. If this does not represent the highest level of bugs then I have to wonder what other bugs there could possibly be.
<img width="306" height="372" alt="Image" src="https://github.com/user-attachments/assets/1707f0a3-d1d6-430c-8acb-c5ea224dccb8" />
Proposed Fix: Cursor-Aware Slash Command Trigger
Current Issue
Slash command completion only triggers at line start due to
input.startsWith('/')check.Root Cause
Proposed Solution
Replace with cursor-position-aware backward scan:
Test Cases
Key Changes
lastIndexOf()+cursorPosfor position-aware detectioncursorPosthroughout call stack for overlay positioning/and cursor)TUI Integration
Ensure stdin handler passes cursor position:
This issue is one of the main reasons I'm primarily using Codex right now. I only go back to Claude Code when I hit a rate limit with Codex because of this issue. I'm considering ditching Claude altogether and just paying more for Codex tbh.
Here's the other issues people have created for this bug:
It really is wild that this hasn't been fixed already.
This is absolutely ridiculous. To this day they still haven't fixed this bug. Just think about that. It's an essential part of how this app works and they just don't give a shit. They're not going to fix it. 3 Weeks now !!!!!
That’s how we make our money and how we serve our clients, yet we depend on a provider that won’t even let us downgrade the software. That means we’re forced to install updates and then they add bugs that they don’t fix for weeks.
@Zorast Seriously! What will really blow your mind is that this was apparently first reported as early as April 6th. That's the oldest instance of this issue I've found so far, and it was closed as a duplicate.
I went ahead and posted this to Reddit as well (link), just in case it helps.
Edit: I was wrong lol. The rabbit hole went deeper. All the way to January:
It's been reported so many times 😭
The defect keeps coming back. It keeps coming up in different scenarios because they keep changing things and apparently no one tests it. I have no idea who among them checks anything here. I don’t think any of them actually use their own software. Or maybe they all work in the terminal. Because if they actually used their own software they definitely wouldn’t leave a bug like this in the system for three weeks. They don’t give a shit about us. That’s probably one of the reasons why I’ll leave Anthropic as soon as I can. The outrageous prices and the way they handle these command related issues.
I already posted on the original Anthropic subreddit too, but even the people there do not seem to care. Apparently too few people use the macOS version or too few know enough to complain.
I already sent them a support ticket too and they just closed it. No one ever replied to me. I have never gotten a response to a single support ticket from Anthropic. Not once. So if you ever have a problem with them you’re completely screwed. And that’s what we’re building our business on. How stupid are we?
Bump!
FIX IT !!!!
Huge impact bug with such a simple fix.
This leads me to believe this is actually the desired behavior from the devs.
I can't see the reason for them to want it to add this sort of limitation as a feature, but IDK, I'm guessing they just don't care about this. If they (the internal team) did, it'd be fixed in 20min way back in April, as pointed in https://github.com/anthropics/claude-code/issues/89720#issuecomment-5651719710
Please fix, I really need this feature @bcherny
This is simply appalling. There’s no other way to describe it. Apparently everyone works in the terminal. I guess that isn’t big enough and there aren’t enough of us. They’ve made so many changes to the app that only affect the UI and just display things like token counts. Now they even keep asking annoying questions about whether you’re satisfied with the chat. They add all kinds of stuff but completely ignore bugs that severely limit basic use of the product.