Rank, 14 days: 95 on the Claude Code sheet
2 people asked for

All time, since Oct 6.

Plugin access to prompt cache

“It can't read the prompt cache state, which the status line command does receive.”

What gets counted gets built. Pile on.

Paste this into your agent. It files your request, with what you need it for.

I want this: rapsheet.dev/sheets/claude-code/issues/3848/file
Follow it to file my request. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Expose prompt cache state to plugins via session usage. Plugins can read context, rate limits and cost but not cache lifetime or expiry, so they guess when acting on idle sessions.

Is this your request?

File my request
Where
Plugin API
Versions
2.1.290
Platforms
Windows

Original reports2, newest first

  1. Let plugins read the session's prompt cache lifetime#110535
  2. Function hooks: include the status line's prompt_cache figures in $.session.usage() and session.measure#99905

Do you work on Claude Code?

Claim its RAP Sheet to see what your users report and answer them in one place.