Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.261 ·

Two new SDK control-protocol request types: get_usage and reload_output_styles

SDK gains get_usage and reload_output_styles requests for pulling usage data and refreshing styles mid-session.

TierUse it nowhow much it should matter to you
Useful4my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaSDKwhat it touches
KindNew Featuresin v2.1.261,
Use it now Notable No documentation found

SDK gains get_usage and reload_output_styles requests for pulling usage data and refreshing styles mid-session.

The SDK/agent control protocol gains two new request subtypes. get_usage returns the structured /usage data — session cost/usage totals plus claude.ai plan rate-limit utilization — and accepts an optional skip_behaviors flag to skip the 7-day transcript scan that produces the behaviors section; it requires an onGetUsage callback to be registered, or it errors. reload_output_styles re-reads output-style directories from disk mid-session (a style file written mid-session was previously invisible until the next session), returns the refreshed style names, and also drops the shared markdown-file scan cache used by agents, skills, and routines; it's exposed via a corresponding sdk_reload_output_styles wrapper.

Read from
Names in the bundleget_usagereload_output_stylesskip_behaviorsonGetUsage
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed /usage and the VS Code usage panel dropping a model-specific weekly limit row when the usage endpoint is rate limited or when opened…

See this entry in the whole of v2.1.261 →

Feedback