Feature Request: Token refund mechanism for self-inflicted Claude errors
Problem
When Claude makes an error that is clearly its own fault, the customer bears the full token cost of both the original mistake and the subsequent cleanup. This can be significant.
Real-world example
On Windows 11, Claude redirected output to a file named nul instead of /dev/null. On Windows, nul is a reserved device name, which created an undeletable file. Claude then spent 15+ tool calls (trying cmd.exe, PowerShell, Python, .NET System.IO.File.Delete, and various escaping strategies) before finally succeeding with a simple rm -f via Git Bash.
The original mistake is a well-known Windows pitfall, and the prolonged cleanup was entirely avoidable. The customer paid for all of it.
Proposal
Introduce a mechanism for customers to flag interactions where Claude's own errors caused excessive token consumption, enabling partial refunds of allotted processing. This could be:
- A
/report-errorcommand or button that flags the current conversation for review - Automatic detection of self-correction loops (e.g., repeated failed attempts at the same task)
- A post-session review option where users can flag costly mistakes
Why this matters
- Customers have limited token allotments
- Self-inflicted errors erode trust and waste budget
- A refund mechanism would demonstrate accountability and improve customer experience
- Common, reproducible mistakes (like Windows reserved filenames) are particularly frustrating since they are preventable
🤖 Generated with Claude Code
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗