[Feature Request] Add opt-out for auto-sending shell output with `!` prefix in REPL

Open 💬 0 comments Opened Jul 15, 2026 by baptistejouin

Feature request: opt-out of auto-sending shell output with the ! prefix

Previously, ! in the REPL let you run a shell command without its output being sent back into the Claude conversation/context. That behavior seems to have changed — now !<command> output is automatically piped into context every time.

Suggested fix (either would work):

  1. A setting/flag (e.g. disableReplAutosend or similar in settings.json) to restore the old "run only, don't send" behavior as default or opt-in.
  2. A !! double-bang variant — keep ! as "run and send to Claude" (current behavior), and add !! as "run only, don't send output back."

Use case: running quick local commands (like open ., ls, editor launches) during a session without polluting/spending context on their output.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.210
  • Feedback ID: a45f0a1b-4f81-45dc-a759-92ccc1213531

Errors

[]

View original on GitHub ↗