Copilot Status Bar
A focused VS Code extension that keeps your GitHub Copilot premium-request
quota and reset countdown visible in the status bar.
Features
- See the percentage of premium requests used or remaining and the time until reset.
- Click the status bar item for plan, quota, reset, and last-updated details.
- Get a yellow warning at 75% used and a red warning at 90% used in either display mode.
- Keep the countdown current without making extra network requests.
- Reuse your existing VS Code GitHub sign-in, with an explicit sign-in command
available when needed.
Getting started
- Install Copilot Status Bar from the VS Code Marketplace.
- Make sure the GitHub account with your Copilot subscription is signed in to
VS Code.
- The quota appears in the left side of the status bar after startup.
If the status bar says Sign in, click it or run Copilot Status Bar: Sign
In to GitHub from the Command Palette.
How it works
The extension silently reuses your VS Code GitHub session with the user:email
scope. It uses that session’s access token to request quota directly from
https://api.github.com/copilot_internal/user. To open a sign-in prompt, run
Copilot Status Bar: Sign In to GitHub.
The quota endpoint is an undocumented GitHub API and can change or stop working
without notice.
Settings
| Setting |
Default |
Description |
copilotStatusBar.refreshIntervalSeconds |
300 |
How often to re-fetch Copilot quota from GitHub. |
copilotStatusBar.countdownUpdateIntervalSeconds |
60 |
How often to update the local reset countdown without making a network request. |
copilotStatusBar.displayMode |
Used |
Show the percentage of quota used (Used) or remaining (Remaining). |
Commands
| Command |
Description |
| Copilot Status Bar: Refresh |
Re-fetch and update the status bar. |
| Copilot Status Bar: Show Usage |
Show the usage summary quick-pick. |
| Copilot Status Bar: Sign In to GitHub |
Prompt a GitHub sign-in if needed. |
| Copilot Status Bar: Show Log |
Open diagnostic output for the latest refresh failures. |
| Copilot Status Bar: Set Refresh Interval |
Choose how often quota data is fetched. |
Privacy and security
- Authentication is handled by VS Code's built-in GitHub authentication
provider with the
user:email scope.
- Access tokens are held in memory only and are never written to disk.
- Requests are sent only to
https://api.github.com.
- The extension collects no analytics or telemetry.
- The log records a failed quota request as its status and a category, or a
fixed message such as "could not be read as JSON", never response text.
- Report a vulnerability privately; see SECURITY.md.
Troubleshooting
- Sign in is shown: run Copilot Status Bar: Sign In to GitHub and choose
the GitHub account that has Copilot access.
- Copilot — is shown: run Copilot Status Bar: Show Log for the failure
status or reason, then try Copilot Status Bar: Refresh.
- Values are marked stale: the last successful value is being kept visible
because a refresh failed. Check the log and your network connection.
For bugs and support requests, use the GitHub issue tracker.
Development
See CONTRIBUTING.md to set up, check, and propose a change,
and the architecture and code guidelines for module
boundaries, offline behavior, and test expectations.
Limitations
- Relies on an undocumented GitHub API; may break without notice.
- Requires a GitHub account signed in with Copilot access.
- Only shows the premium/chat request quota window (not completions quota).