The /usage command's transcript message can now carry a structured usage_report alongside its text
What
When the /usage slash command runs, the synthetic assistant message that delivers the result can now carry a structured usage_report object, in addition to the existing markdown text. It includes session totals, plan usage rows, and extra-usage spend, and sits alongside the existing context_usage and local_command_run fields on the message.
Why
This lets remote clients render usage information as a proper card or widget instead of having to parse it back out of markdown text.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
* Fixed error hints in Claude Desktop sessions to suggest slash commands like `/usage-credits` instead of CLI flags that cannot be used therechangelog see the edit
Anthropic's documentation has since written up /usage, on Claude Code changelog.