Skip to content

[Bug]: With several Claude skill chips, only the last is invoked; the rest become plain text, so a disable-model-invocation skill cannot run #20367

Closed

Description

@Sunnshiine

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server (Claude provider skill dispatch), reported from the desktop app.

Summary

When a Claude message has more than one skill chip, only the last chip is invoked. Every other chip is sent as plain /name text after the command. The composer shows all the chips the same way, so nothing tells the user that the others were not invoked.

This matters most for skills marked disable-model-invocation: true. A user can only start one of those by invoking it themselves. If it is not the last chip, it arrives as text. The model cannot load it either, because the Skill tool rejects model invocation of a flagged skill. Nothing in the UI reports the failure.

Related: #13256 (same planner, single chip in mid-sentence). This issue is about several chips in one message.

Steps to reproduce

  1. Have three Claude skills, one of them with disable-model-invocation: true in its frontmatter (here: poteto-mode; the others, emil-design-eng and apple-design, are unflagged).
  2. In a Claude thread, insert the chips in this order: Poteto Mode, Emil Design Eng, Apple Design. Then type a request on the next line.
  3. Send it, and look at what the model receives.

Expected behavior

Either every chip is invoked, or the composer makes clear that only one will be and which one. A chip that will become plain text should not look the same as one that will run.

Actual behavior

The composer showed the three chips in the order inserted. The model received:

<command-name>/apple-design</command-name>
<command-args>Find opportunities to improve the UI ... Report back to me</command-args>
/poteto-mode
/emil-design-eng
  • Apple Design (the last chip) was invoked by the user.
  • Emil Design Eng arrived as text. The model could load it itself, because it is not flagged.
  • Poteto Mode arrived as text. The model's attempt to load it failed: Skill poteto-mode cannot be used with Skill tool due to disable-model-invocation. The user's first chip never ran.

Diagnosis

planClaudeSkillDispatch sends mentions.at(-1) as the /name command block, and rewrites every earlier mention as inline /${mention.name} text. Its header comment notes that Claude Code expands only one skill per message, so choosing one is necessary. The problem is that the choice is always the last chip, whatever the skill's flags, and the user is never told.

Possible fixes

  • Warn in the composer when a Claude message has more than one skill chip, and show which one will be invoked.
  • When exactly one chip is a disable-model-invocation skill, send that one as the command. The model can load the unflagged ones itself.
  • Or send the first chip rather than the last, which matches the order the user reads.

Impact

Major degradation or frequent failure: a skill the user explicitly selected is silently not run.

Version or commit

Desktop app, current as of 2026-10-16; code reference is main at a3e8cf6.

Activity

  1. juliusmarminge commented on Oct 16, 2026

    @juliusmarminge
    Member

    Note

    Grok responding on behalf of Julius.

    Thanks for the detailed write-up. This is the same failure that open PR #19485 fixes: earlier user-only skill mentions get a note pointing the model at their SKILL.md, so they run even though Claude Code only expands the last chip natively. I linked this issue to that PR so it closes when the PR lands. The composer warning idea is a separate UX question; if you still want it after #19485 merges, feel free to raise it in Ideas.

  2. t3-code-bot commented on Oct 21, 2026

    @t3-code-bot
    Contributor

    closing as addressed by #19485, merged into main: earlier user-only Claude skills now receive an explicit user-invocation note and their discovered SKILL.md path, so they are not left as bare names that the Skill tool refuses. This addresses the scope accepted in the triage above; only the final skill expands natively, and full native multi-skill expansion or a new composer warning is not claimed.

    thanks for reporting this. if you still face it on a build containing this fix, please ask us to reopen this issue or open a new issue linking back here, with your version, os and reproduction steps.

    closed at the request of @UtkarshUsername.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions