[BUG] Built-in slash commands hidden from autocomplete when too many skills are installed

Resolved 💬 5 comments Opened Jan 30, 2026 by zhaozuowu1 Closed Feb 17, 2026

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?

Built-in slash commands (like /model, /help, /doctor, /cost) do not appear in the autocomplete dropdown when typing /. Only custom skills from the ~/.claude/skills/ directory are shown.

  The commands still work when typed manually (e.g., typing /model and pressing Enter executes correctly), but they are completely hidden from the autocomplete list.

What Should Happen?

Built-in commands should always appear in the autocomplete list, ideally with higher priority than custom skills.

Error Messages/Logs


<img width="3834" height="372" alt="Image" src="https://github.com/user-attachments/assets/22533f94-1190-4ff3-8cb7-38c9f70704e7" />

Steps to Reproduce

  1. Install multiple skills in ~/.claude/skills/ directory (I had ~50 skills)
  2. Start Claude Code in interactive mode
  3. Type / to trigger autocomplete
  4. Observe that only custom skills appear, built-in commands like /model, /help are missing

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.23

Claude Code Version

2.1.25

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Bug Report: Built-in slash commands hidden from autocomplete when too many skills are installed

  Environment

  • Claude Code version: 2.1.25
  • Install method: native
  • OS: macOS Darwin 23.4.0

  Description
  Built-in slash commands (like /model, /help, /doctor, /cost) do not appear in the autocomplete dropdown when typing /. Only custom skills from the ~/.claude/skills/ directory are shown.

  The commands still work when typed manually (e.g., typing /model and pressing Enter executes correctly), but they are completely hidden from the autocomplete list.

  Steps to Reproduce

  1. Install multiple skills in ~/.claude/skills/ directory (I had ~50 skills)
  2. Start Claude Code in interactive mode
  3. Type / to trigger autocomplete
  4. Observe that only custom skills appear, built-in commands like /model, /help are missing

  Expected Behavior
  Built-in commands should always appear in the autocomplete list, ideally with higher priority than custom skills.

  Actual Behavior
  Autocomplete list only shows custom skills. Built-in commands are completely hidden from the dropdown.

  Workaround
  Temporarily moving/removing the ~/.claude/skills/ directory restores built-in commands in autocomplete:
  mv ~/.claude/skills ~/.claude/skills.backup

  Diagnostic Output
  /doctor shows no errors related to this issue:

  • Search: OK (bundled)
  • All other diagnostics pass

  Suggested Fix

  • Increase the autocomplete dropdown limit
  • Or prioritize built-in commands to always appear first
  • Or add a separate section for built-in commands vs custom skills

  ---

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗