& prefix no longer triggers remote session after GitHub app install

Status Open
Reported on v2.1.47
Maintainer reply None cached
Activity 4 comments · opened Feb 19, 2026

Description

The & prefix in interactive Claude Code sessions no longer sends tasks to remote (Claude.ai web). Instead, the & prefixed message is passed through as a regular chat message to the assistant.

Steps to Reproduce

  1. Start Claude Code interactive session (v2.1.47)
  2. Type & <prompt> — it correctly prompted to install the Claude GitHub app
  3. Install the Claude GitHub app on the repository
  4. Type & <prompt> again — it no longer sends to remote, instead runs locally as a regular message

Expected Behavior

& <prompt> should send the task to Claude.ai as a remote web session.

Actual Behavior

& <prompt> is treated as a regular chat message and processed locally.

Workaround

claude --remote "<prompt>" still works correctly from the command line.

Environment

  • Claude Code version: 2.1.47
  • OS: Linux (Ubuntu)
  • Git remote: SSH (git@github.com:...)
  • Auth: logged out and back in, restarted Claude Code — issue persists

View original on GitHub ↗

4 Comments

github-actions[bot] · 6 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/21377
  2. https://github.com/anthropics/claude-code/issues/16998
  3. https://github.com/anthropics/claude-code/issues/18409

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

amrynsky · 6 months ago

have the same issue

Version: 2.1.50
OS: macOS, iTerm2
Account: Claude Max
Repo: github.com hosted, remote-env configured
Behavior: claude --remote "prompt" works correctly and creates web session.
& prompt inside interactive REPL runs locally instead of creating web session.
No error message displayed.

darylthornhill · 6 months ago

I have the same issue

Sigil7 · 4 months ago

I have the same issue on Windows, running claude code 2.1.92 via terminal.