Skip to content

[FEATURE] #32568

Closed as duplicate
Closed as duplicate

Description

@atharvanihalani

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

Claude code can burn through my usage much quicker than I expect. Checking /usage isn't always convenient, if I've got a long, autonomous coding session. It's also a bit of friction, so I don't always remember to check it.

This is especially an issue when I'm working on a secondary task, and CC accidentally blows through 90% of my limit.

Proposed Solution

Let the agent see my session usage OR be able to programmatically access usage through an API.

I'd want to add a hook to trigger a notification whenever my usage exceeds a certain limit.

Alternative Solutions

Currently checking /usage when I remember to do so!

Priority

Medium - Would be very helpful

Feature Category

CLI commands and flags

Use Case Example

No response

Additional Context

No response

Activity

  1. github-actions commented on Mar 9, 2026

    @github-actions

    Found 3 possible duplicate issues:

    1. Feature Request: Expose /usage data as structured JSON for MCP servers and hooks #26295
    2. Feature Request: Expose subscription usage data via local file or API #21943
    3. [FEATURE] Feature request: configurable usage notifications (context, session, weekly) #24857

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code

  2. github-actions commented on Mar 17, 2026

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  3. locked as resolved and limited conversation to collaborators on Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions