Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Claude Pastel StatusNew to Visual Studio Code? Get it now.
Claude Pastel Status

Claude Pastel Status

Oksianus Paulinus

|
2 installs
| (0) | Free
Shows your Claude Code usage limits (5-hour and weekly) and Anthropic service status in the VS Code status bar.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Claude Pastel Status for VS Code

A small VS Code extension that puts your Claude Code usage limits and Anthropic service health in the status bar, in soft Fluent-style pastels.

Details panel (dark)

Features

  • Usage limits: 5-hour and weekly usage percentages with time until reset. Any extra windows your plan reports (Weekly Opus, Weekly Sonnet and so on) appear in the tooltip and details panel.
  • Service status from status.claude.com: a mint check when everything is operational, peach for degraded service or maintenance, rose for an outage. You get a notification the first time each new incident appears.
  • Pastel theme colors: mint, sky, peach, rose and lavender. The colors are registered as theme colors, so you can override them, and light and high-contrast themes get deeper variants so text stays readable.
  • Compact mode: shows a single percent chip instead of the full breakdown.
  • Details panel: usage bars, plan, extra-usage credits, incidents and per-component status.
  • Offline mode: reads local Claude Code transcripts and shows token counts when the live endpoint can't be reached.

Status bar

State Looks like
Full mode ✦ 5h 43% · 2h 13m 7d 27% · 3d 20h
Compact mode ✦ 43%
Service OK / degraded / outage ✓ / ⚠ Degraded / ⊗ Outage

The usage text is mint below 80%, peach from 80%, and rose from 95%. You can change these thresholds in the settings.

Data sources and authentication

Live usage (api)

  • You need to be signed in to Claude Code first (claude, then /login) with a Pro or Max subscription.
  • The extension reads the OAuth access token from ~/.claude/.credentials.json. On macOS it falls back to the Claude Code-credentials keychain item.
  • It sends one read-only GET https://api.anthropic.com/api/oauth/usage request with the header anthropic-beta: oauth-2025-04-20.
  • It never writes credentials and never refreshes the token. When the token expires, using Claude Code refreshes it, and the extension picks up the new token on its next refresh.
  • This endpoint is undocumented and may change. The extension parses responses defensively and falls back to local transcripts if a response doesn't match.

Local transcripts (local)

  • Claude Code writes JSONL transcripts to ~/.claude/projects/<project>/<session>.jsonl.
  • The extension adds up input, output and cache-write tokens of assistant responses for the active 5-hour block and for the last 7 days. Cache reads are shown separately, since they usually outweigh everything else.
  • Local transcripts can't tell you your plan's percentages, so this mode shows token counts only.

Source selection (claudeStatus.source)

  • auto (default): uses the live endpoint when you're logged in. If a live refresh fails, it keeps the last good snapshot for up to 15 minutes and then switches to local transcripts. The tooltip explains why.
  • api: live endpoint only. If a refresh fails, it keeps showing the last live snapshot (marked stale) and never switches to local token counts.
  • local: fully offline.

Service status

The extension reads the public Statuspage summary at <serviceStatusUrl>/api/v2/summary.json. No authentication is needed.

Settings

Setting Default Description
claudeStatus.source auto Usage data source: auto, api or local.
claudeStatus.compactStatusBar false Show a single percent chip.
claudeStatus.statusBarAlignment left Put the items on the left or right of the status bar.
claudeStatus.claudeHome (empty) Claude config folder. If empty, uses $CLAUDE_CONFIG_DIR, then ~/.claude.
claudeStatus.refreshIntervalSeconds 300 How often to refresh, in seconds. Minimum 60.
claudeStatus.warningThreshold 80 Percent at which usage turns peach.
claudeStatus.errorThreshold 95 Percent at which usage turns rose.
claudeStatus.serviceStatus always always, issuesOnly or off.
claudeStatus.serviceStatusUrl https://status.claude.com Statuspage base URL.
claudeStatus.notifyOnIncident true Notify you when a new incident is posted.

Customizing colors

Add overrides to settings.json:

"workbench.colorCustomizations": {
  "claudeStatus.ok": "#B5EAD7",
  "claudeStatus.warning": "#FFDAC1",
  "claudeStatus.error": "#FF9AA2",
  "claudeStatus.accent": "#C7CEEA",
  "claudeStatus.okFill": "#B5EAD7"
}

Available color IDs: accent, ok, info, warning, error, muted (text and status bar), and okFill, warningFill, errorFill, accentFill (bars and dots).

Commands

  • Claude Pastel Status: Refresh
  • Claude Pastel Status: Show Usage: opens the details panel. This also runs when you click the status bar item.
  • Claude Pastel Status: Show More Information: shows the source, capture time, windows, plan and the folder in use.
  • Claude Pastel Status: Open Anthropic Status Page
  • Claude Pastel Status: Open Claude Folder

Build and install

You need Node.js 18 or later and VS Code 1.85 or later.

npm install
npm run compile
  • Try it out: open the folder in VS Code and press F5 to launch an Extension Development Host.
  • Install it permanently: run npm run package to build claude-pastel-status-<version>.vsix. Then open the Command Palette, choose Extensions: Install from VSIX..., and pick that file.

Limitations

  • The usage endpoint is unofficial. If Anthropic changes it, the extension falls back to local token counts.
  • The usage endpoint is shared with Claude Code itself, so it can rate-limit you (HTTP 429). The extension then backs off (honouring Retry-After, otherwise doubling up to 30 minutes), keeps the last live numbers on screen for up to an hour, and shares one fetch across all VS Code windows.
  • Local mode estimates the 5-hour block from your transcript timestamps, so it may not exactly match Anthropic's own window.

Disclaimer

This is an unofficial community extension. It is not affiliated with, endorsed by, or supported by Anthropic. "Claude" and "Anthropic" are trademarks of Anthropic, PBC.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft