claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] claude.ai skills (anthropic-skills:*) missing from new-chat slash-command autocomplete until first message (regression ~Aug 2026)

Open CharlieOktopous opened this issue 3 months ago • 4 comments

Environment

  • Claude desktop app (macOS): 1.40609.0, code mode
  • Claude Code CLI: 2.1.169
  • macOS: Darwin 24.6.0

Summary

Skills enabled on claude.ai (Settings > Capabilities > Skills) are injected into desktop-app code-mode sessions as plugin-namespaced skills (anthropic-skills:<name>). Until roughly early-to-mid August 2026 these appeared in the composer's slash-command autocomplete of a brand-new chat. Since then, the autocomplete of a new, not-yet-started chat no longer lists them at all: typing /<name> matches nothing until after the first message has been sent and the session has started.

The skill itself is still fully available to the model in that same fresh session (ListSkills shows it enabled, and invoking Skill(anthropic-skills:<name>) loads it fine). Only the pre-first-message autocomplete is affected.

Steps to reproduce

  1. Enable/upload a skill on claude.ai (Settings > Capabilities > Skills), e.g. a custom skill named emil-design-eng.
  2. Ensure there is no copy of it in ~/.claude/skills (so the claude.ai injection is the only source).
  3. In the desktop app, open a brand-new code-mode chat (do not send a message).
  4. Type /emil (or any prefix of the skill name) in the composer.

Expected: the autocomplete lists anthropic-skills:emil-design-eng (this was the behavior until ~3 weeks ago).

Actual: no match. After sending the first message, typing /emil in the same chat matches the skill normally.

What I could verify locally

  • The skills are cached on disk across sessions at ~/Library/Application Support/Claude/local-agent-mode-sessions/skills-plugin/<uuid>/<uuid>/skills/, with a sibling manifest.json whose lastUpdated is refreshed at session start. The cache is present and current even while the new-chat menu shows nothing, so the data exists locally; the menu just does not read it pre-session.
  • Local skills in ~/.claude/skills still appear in the new-chat autocomplete immediately, so the menu itself works; only the claude.ai/plugin pipeline is deferred.
  • The 2.1.169 changelog mentions a slash-command/skill scan regression introduced in 2.1.161 (fixed there for claude -p on Windows). The timing of that regression roughly matches when this started, but I cannot confirm the connection.

Impact / workaround

Users who rely on a claude.ai-managed skill lose slash-command discoverability exactly where they most use it (starting a new chat). The only workaround is duplicating the skill into ~/.claude/skills, which then produces two autocomplete entries for the same skill (bare and anthropic-skills:-prefixed), since namespaced skills do not dedupe against local ones.

Related

  • #82732 describes cloud-shared skills inheriting plugin load semantics (no mid-session reload). This issue is different: it is about the plugin pipeline not populating the new-chat autocomplete at all before session start.

CharlieOktopous avatar Aug 30 '26 23:08 CharlieOktopous

Still reproducible on Windows 11 with Claude Desktop 2.9939.2.0 / bundled Claude Code 2.1.281.

Additional detail: it isn't limited to brand-new chats. Existing Code sessions that were idle-disconnected ("[WarmLifecycle:session] Idle timeout reached, disconnecting ...", 30-min timeout) also lose all anthropic-skills:* entries from the slash menu. In those sessions the menu still lists ~/.claude/skills and marketplace plugin commands (e.g. 16-minds). After I send one message, the process respawns and the skills reappear, which matches the log line:

[CCD] Passing 3 plugin(s) to SDK (skills: 1, remote: 2, local: 0)

The skills-plugin cache (%APPDATA%\Claude\local-agent-mode-sessions\skills-plugin...\skills) is present and current the whole time, so the menu could read it without a live session.

tuplanoringen avatar Sep 26 '26 11:09 tuplanoringen

Still reproducible on Windows 11 (10.0.26200) with Claude Desktop 2.19675.0.0.

Setup: several custom skills uploaded through Customize, some recently and one that has been on the account for a while. No copies in ~/.claude/skills.

What I see:

  • New-session screen in the Code tab: the / menu lists none of the account skills, old or new. Typing /<skill-name> matches nothing.
  • Same skills in a running Code session: listed and usable as anthropic-skills:<name>.
  • Chat and Cowork tabs: listed normally.
  • The model can still invoke them in a fresh session when asked in plain language, so only the pre-first-message menu is affected.

One extra detail: right after uploading, an already-open Code session did not list the new skills either. They appeared there after fully quitting and reopening the app. The new-session screen still omits them after the restart.

Impact: a session can't be started from a skill via the menu, which is the main way I'd use a workflow skill that takes an argument. Workaround is typing the command in full or sending a first message.

brandonwsims avatar Oct 05 '26 17:10 brandonwsims

Same symptom on a Claude Code cloud session (claude.ai/code app, Anthropic-managed container), not only the desktop Code tab. Adding startup timing that shows the skills are on disk long before the picker could show them. The CLI emits no system/init (the event that carries slash_commands) until it is handling the first user message.

Environment

  • Claude Code 2.1.306 (Claude Code), entrypoint: remote, warm_spare_claimed: true
  • Container: Ubuntu 24.04.5 LTS, Linux 6.18.44 x86_64, 4 vCPU, 15 GiB
  • Skills: 31 claude.ai skills synced to ~/.claude/skills/synced/<org>_<user>/ (19 plugin-backed, 12 Anthropic). They register as anthropic-skills:<name>
  • Repo has one SessionStart hook (matcher: startup|resume, ~18 s on this cold start, 1.3 s when re-run warm)

What's wrong

In a new cloud session, the / picker lists none of the anthropic-skills:* commands. After the first message they all appear, and the model can invoke them in that first turn.

Timing (ms from spawn, startup_timing.phase_start_ms from the first init event)

Phase Start (ms) Duration (ms)
skills_load 3172 48
hooks_init (SessionStart hook) 4392 18057
input_ready / first_message_read 22495 / 22520 —
skills_sync_wait 22522 7
skills_sync_commands_refresh 22529 44
qe_plugin_skills_load 22745 3
init_emit 22749 3

From the session's event stream (transport timestamps, UTC):

12:17:05.46  system/turn_handoff_available   (no_query_first: true)
12:17:05.77  system/hook_started             SessionStart
12:17:23.78  system/hook_response            SessionStart, exit 0
12:17:23.80  queue enqueue                   first user message
12:17:24.27  system/init                     slash_commands: 103 (31 anthropic-skills:*), skills: 55, plugins: 4

On disk, the synced-skills manifest.json was written at 12:17:08, about 7 s after spawn. skills_sync_wait was 7 ms. The sync isn't late; there is simply no init before the first query. So the app has nothing to fill the picker with besides its built-in list.

The SessionStart hook makes the window longer: input isn't ready until it finishes. A fast hook still wouldn't help, though, because init waits for the first message regardless.

What should happen

Send the command list (an init, or a commands-changed event) once the session is ready, before the first query. That matches the expected behavior in #82676. Synced skills should show in the picker as soon as the session is up.

Steps to reproduce

  1. Enable claude.ai skills on the account (any skill that shows up as anthropic-skills:*).
  2. Start a new Claude Code cloud session on any repo (a slow SessionStart hook makes the window easier to see, but isn't required).
  3. Before sending anything, type / in the composer and look for an anthropic-skills: entry. None are listed.
  4. Send any message, then type / again. All of them are listed.

Workaround

Type the full name (/anthropic-skills:<name>), or send a throwaway first message.

Related

  • #100272: desktop. The temporary query before the first message never gets the skills plugin. Same class: the pre-first-message process has no synced skills.
  • #82676: desktop SSH. The CLI is spawned lazily on the first message, so its initialize handshake never runs. Same mechanism here: init waits for the first query.
  • #102442: Remote Control. The new-session screen has no slash autocomplete.

Generated by Claude Code

jsolly avatar Oct 21 '26 12:10 jsolly

On claude.ai this does appear to work on personal accounts but not on enterprise ones.

jonathanKingston avatar Nov 19 '26 21:11 jonathanKingston