claude-code - 💡(How to fix) Fix Expose /remote-control-style session bridging as a local-only transport

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Fix Action

Fix / Workaround

This leaves local automation (scripts, editors, other tools on the same box that want to send a prompt or query an idle Claude session) with no first-class option. Workarounds are limited to tmux send-keys or writing to the pty, both unsupported and brittle.

RAW_BUFFERClick to expand / collapse

Problem

Currently there's no supported way to interact with an already-running interactive claude session from another local process on the same machine. The closest mechanism, /remote-control, relays through Anthropic's cloud — which (a) introduces a network hop for purely local automation, and (b) is gated off entirely for enterprise/managed deployments, where it can't connect.

This leaves local automation (scripts, editors, other tools on the same box that want to send a prompt or query an idle Claude session) with no first-class option. Workarounds are limited to tmux send-keys or writing to the pty, both unsupported and brittle.

Request

Expose the same session-bridge mechanism /remote-control already implements as a local transport — e.g. a Unix domain socket, named pipe, or localhost-bound endpoint that other processes on the same machine can connect to. Ideally:

  • Opt-in via slash command or CLI flag (/local-control, --listen <path>)
  • Auth via filesystem permissions on the socket (no network exposure)
  • Works on enterprise deployments since traffic never leaves the machine

Why

Enables editor integrations, scripted nudges to a babysitting Claude, multi-pane workflows, and team/enterprise users who currently can't use /remote-control at all.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING