claude-code - 💡(How to fix) Fix [BUG] Slash command autocomplete shows only ~5 built-in commands, hides all 78 custom skills (regression from #22020) [3 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#49087Fetched 2026-04-17 08:51:15
View on GitHub
Comments
3
Participants
3
Timeline
13
Reactions
0
Author
Timeline (top)
labeled ×5commented ×3cross-referenced ×3closed ×1

Error Message

Error Messages/Logs

Root Cause

Related issues:

  • #22020 — Original bug where 50+ custom skills caused built-in commands to disappear from autocomplete (fixed Feb 2026). This appears to be a regression of the same root cause.
    • #40413 — Slash command autocomplete in Desktop app Workaround: Typing /skill-name in the message body works — skills are correctly loaded into the system prompt and the Skill tool invokes them. Only the autocomplete UI is broken.

Fix Action

Fix / Workaround

Related issues:

  • #22020 — Original bug where 50+ custom skills caused built-in commands to disappear from autocomplete (fixed Feb 2026). This appears to be a regression of the same root cause.
    • #40413 — Slash command autocomplete in Desktop app Workaround: Typing /skill-name in the message body works — skills are correctly loaded into the system prompt and the Skill tool invokes them. Only the autocomplete UI is broken.

Code Example



---

~/.claude/skills/
├── audit-anchor-sf/SKILL.md
├── audit-canonical/SKILL.md
├── audit-cross-sf/SKILL.md
├── ... (78 skills total, each with valid SKILL.md)
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

The / slash command autocomplete dropdown in Claude Code Desktop app (v2.1.109, Windows 11) only shows ~5 built-in commands (schedule, btw, rewind, clear, export). None of my 78 custom skills from ~/.claude/skills/ appear in the picker.

This worked correctly ~9 hours ago (same machine, same skills directory). The list also loads incrementally — first shows 3 items, then 2 more appear after a moment — suggesting an async loading issue with a premature cutoff.

Skills themselves work fine when invoked by typing /skill-name manually in a message — the model picks them up via the Skill tool. The issue is only with the autocomplete UI.

This appears to be a regression of #22020 (fixed in Feb 2026), where having ~50+ custom skills caused built-in commands to disappear from autocomplete. The original fix may have been lost or broken by recent changes.

Setup:

  • ~/.claude/skills/ contains 79 directories, 78 with valid SKILL.md files
    • Each SKILL.md has proper frontmatter (name, description, version, category, tags, etc.)
      • Skills are loaded into the system prompt correctly (visible in conversation context)

What Should Happen?

The / autocomplete dropdown should list ALL discovered skills — both built-in commands and custom skills from ~/.claude/skills/. This worked correctly before the recent update. With 78 custom skills, all should appear in a scrollable/filterable list, same as they did 9 hours ago.

Error Messages/Logs

Steps to Reproduce

  1. Create 50+ custom skills in ~/.claude/skills/ (each as skill-name/SKILL.md with valid frontmatter)
    1. Open Claude Code Desktop app (v2.1.109)
    1. In the chat input, type /
    1. Observe the autocomplete dropdown Expected: All custom skills + built-in commands appear in a scrollable list Actual: Only ~5 built-in commands appear (schedule, btw, rewind, clear, export). Custom skills are completely missing from the dropdown. The list loads asynchronously — first 3 items, then 2 more after a brief delay.

Note: Typing /skill-name directly in a message and sending it works — the model correctly invokes the skill via the Skill tool. The issue is isolated to the autocomplete UI.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.108 or earlier (worked ~9 hours before reporting)

Claude Code Version

2.1.109 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

Terminal/Shell: Claude Code Desktop app (Windows) — not a terminal-based session.

Related issues:

  • #22020 — Original bug where 50+ custom skills caused built-in commands to disappear from autocomplete (fixed Feb 2026). This appears to be a regression of the same root cause.
    • #40413 — Slash command autocomplete in Desktop app Workaround: Typing /skill-name in the message body works — skills are correctly loaded into the system prompt and the Skill tool invokes them. Only the autocomplete UI is broken.

Skill directory structure:

~/.claude/skills/
├── audit-anchor-sf/SKILL.md
├── audit-canonical/SKILL.md
├── audit-cross-sf/SKILL.md
├── ... (78 skills total, each with valid SKILL.md)

extent analysis

TL;DR

The issue can be resolved by reverting to the previous version of Claude Code (v2.1.108) where the autocomplete feature was working correctly with custom skills.

Guidance

  • The problem seems to be a regression of a previously fixed bug (#22020), where having 50+ custom skills caused issues with the autocomplete dropdown.
  • To verify the issue, create 50+ custom skills in the ~/.claude/skills/ directory and check if the autocomplete dropdown lists all skills.
  • The fact that skills work when invoked manually by typing /skill-name suggests that the issue is isolated to the autocomplete UI.
  • Checking the differences between versions 2.1.108 and 2.1.109 may help identify the cause of the regression.

Example

No code snippet is provided as the issue seems to be related to a specific version of the Claude Code application.

Notes

The issue may be specific to the Windows 11 platform and the Opus Claude model. Further investigation is needed to determine if this is a platform-specific issue.

Recommendation

Apply workaround: Revert to version 2.1.108 until the issue is fixed in a future version, as it is known to work correctly with custom skills in the autocomplete dropdown.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING