Claude Code v2.1.247 introduces the new SendFeedback tool, allowing Claude to draft feedback reports for user review when issues arise. It also adds a /claude-api cost-optimize command to profile API spend and manage cost levers like caching and model choice.
- Added SendFeedback tool with configurable drafts via feedbackDrafts setting.
- Introduced /claude-api cost-optimize for profiling spend on caching, token hygiene, batch, effort, and model choice.
- Updated /claude-api skill to cover Admin API features including organization members, invites, workspaces, and rate limit reports.
- Changed Sonnet 5's default auto-compact window to its full 1M context, triggering compaction at approximately 967K tokens.
- Fixed sub-agents dying on model 404 errors by using the session's fallback model chain.
- Improved plugin marketplace hardening by rejecting names with control or invisible characters.
These updates help users manage feedback workflows and optimize API costs while improving stability for background tasks and cloud sessions.