Skip to content

[Bug]: attached context can select a Claude skill without an explicit request #37127

Open

Description

@StiensWout

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

Steps to reproduce

  1. Install a Claude skill named implement.
  2. Select terminal output containing the literal $implement and attach it to a message asking Claude to explain the output.
  3. Send the message. Deterministic protocol reproduction is the ClaudeAdapterV2 SDK-input fixture, using projectComposerContextForProvider and real filesystem skill discovery.

Expected behavior

Attached context and its labels remain verbatim data. Only skill mentions in the user's own request dispatch a native skill.

Actual behavior

The Claude adapter rewrites the terminal selection to /implement and places a native slash command in its final SDK text block. An attached context label can also supply the command. This report proves SDK input, not actual provider execution.

Impact

Minor bug or occasional failure

Version or commit

main @ 32c069e

Environment

Claude provider; deterministic server SDK-input test on Linux.

Logs or stack traces

Expected terminal line: 1 | $implement. Actual: 1 | /implement; final SDK text block begins /implement followed by the envelope tail.

Workaround

Avoid attaching output containing installed skill tokens.

Activity

  1. added
    vouch:trusted
    on Nov 15, 2026
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

    vouch:trusted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions