claude-code - 💡(How to fix) Fix Add 'Yes, but...' option to tool approval prompt

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…

When Claude Code prompts for tool approval (edit, write, bash, etc.), the only options are Yes, Yes to all, and No. There's no way to say "Yes, but..." — i.e., approve the action while providing inline course-correction.

Root Cause

When Claude Code prompts for tool approval (edit, write, bash, etc.), the only options are Yes, Yes to all, and No. There's no way to say "Yes, but..." — i.e., approve the action while providing inline course-correction.

RAW_BUFFERClick to expand / collapse

Summary

When Claude Code prompts for tool approval (edit, write, bash, etc.), the only options are Yes, Yes to all, and No. There's no way to say "Yes, but..." — i.e., approve the action while providing inline course-correction.

Problem

Currently, if I see Claude is about to make an edit that's 80% right but needs a tweak, I have to:

  1. Approve the edit
  2. Wait for Claude to finish
  3. Explain what I wanted differently
  4. Wait for the corrective edit

This is wasteful. You wouldn't let a construction worker finish an entire brick wall before telling them the first row is off. You'd correct course while the work is happening.

Proposed Solution

Add a "Yes, but..." option (or similar) to the tool approval prompt that:

  • Approves the current action
  • Accepts a short text input with guidance (e.g., "yes, but use a different method name" or "yes, but also handle the null case")
  • Feeds that guidance back into Claude's context so subsequent actions incorporate the correction immediately

This enables real-time steering without the approve → wait → correct → wait cycle.

Impact

This is especially valuable during multi-step edits, large refactors, or any task where Claude makes a series of related changes. Being able to steer mid-flight would significantly reduce wasted iterations.

🤖 Generated with Claude Code

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