<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/usage-pill-a-tiny-always-on-top-overlay-for-real-time-claude-code-codex-usage--brjzxdwjz" -->

---
title: Usage Pill ( A tiny always-on-top overlay for real-time...
description: A developer built and open-sourced a tiny always-on-top desktop overlay called Usage Pill that shows real-time usage of Claude Code and Codex without leaving...
canonical: https://daily.dev/posts/usage-pill-a-tiny-always-on-top-overlay-for-real-time-claude-code-codex-usage--brjzxdwjz
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Usage Pill ( A tiny always-on-top overlay for real-time Claude Code / Codex usage ) | daily.dev
og:description: A developer built and open-sourced a tiny always-on-top desktop overlay called Usage Pill that shows real-time usage of Claude Code and Codex without leaving...
og:url: https://daily.dev/posts/usage-pill-a-tiny-always-on-top-overlay-for-real-time-claude-code-codex-usage--brjzxdwjz
og:image: https://api.daily.dev/og/posts/brJzxdwJZ.png
og:image:alt: Usage Pill ( A tiny always-on-top overlay for real-time Claude Code / Codex usage )
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Usage Pill ( A tiny always-on-top overlay for real-time Claude Code / Codex usage )

**[Muhammad Rayyan](https://daily.dev/sources/flhczznkxebmpmujhskcb)** · [@muhammadrayyan26](https://daily.dev/muhammadrayyan26) · 2 min read · 0 upvotes · 1 comments

## Summary

A developer built and open-sourced a tiny always-on-top desktop overlay called Usage Pill that shows real-time usage of Claude Code and Codex without leaving the terminal. It animates while a session runs, splits into two rows when both tools are active, and expands on hover to show reset time, weekly usage, and plan details. It reads local session files with no account or telemetry, and installs via npm. Currently daily-driven on Windows, with macOS and Linux support included but untested on real hardware.

## Content

I kept hitting my Claude Code limit in the middle of a refactor.
Not because I didn't know the limit existed. Because checking it meant leaving the terminal, and I never leave the terminal while something's running.
So I built a pill.
It sits at the top of my screen, Dynamic Island style. When Claude Code or Codex is working, it animates and shows how much of my usage I've burned. When both are running at once, it splits into two rows. Hover it and it expands into reset time, weekly usage and plan. Close the last session and it disappears on its own.
A few things I didn't expect going in:
→ Claude Desktop ships its own claude.exe that looks identical to the CLI. The only reliable way to tell them apart was the install path.
→ On Windows, "always on top" still sits under the taskbar unless you ask for the screen-saver layer.
→ This week's bug: a leftover log file from 8 days earlier kept telling the pill Claude was idle. Claude was very much not idle.
It's open source. No account, no telemetry. It reads the local session files Claude Code and Codex already write, plus the login Claude Code already has.
npm i -g @mrayyan911/usage-pill
usage-pill setup
That's the whole install. From then on it shows up whenever a session opens.
I use it daily on Windows. macOS and Linux support is in, but I haven't run it on real hardware yet. If you're on either, I'd genuinely like to know if it works for you.
Repo link in the first comment.
[Github Repo ](https://github.com/mrayyan911/usage-pill)
[Npm package](https://www.npmjs.com/package/@mrayyan911/usage-pill)

## Community discussion

Top comments from developers on daily.dev.

**@muhammadrayyan26** · 0 upvotes

> In case you miss the links in post here they are :
> Repo: [**https://github.com/mrayyan911/usage-pill**](https://github.com/mrayyan911/usage-pill)
> npm: [**https://www.npmjs.com/package/@mrayyan911/usage-pill**](https://www.npmjs.com/package/@mrayyan911/usage-pill)

## Similar posts on daily.dev

- [Usagebar: Track Claude Code Usage from your Menu Bar](https://daily.dev/posts/usagebar-track-claude-code-usage-from-your-menu-bar-5l7h6b0dm) · Product Hunt · 1 upvotes · 0 comments
- [Your Claude Code limits are hidden until they're not, and this script surfaces them on every message](https://daily.dev/posts/your-claude-code-limits-are-hidden-until-they-re-not-and-this-script-surfaces-them-on-every-message-dsisjwjut) · XDA Developers · 1 upvotes · 0 comments
- [Clawdmeter turns your Claude Code usage stats into a tiny desktop dashboard](https://daily.dev/posts/clawdmeter-turns-your-claude-code-usage-stats-into-a-tiny-desktop-dashboard-rewcfoxxm) · TechCrunch · 5 upvotes · 1 comments
- [richhickson/claudecodeusage](https://daily.dev/posts/richhickson-claudecodeusage-tpmmh4l2v) · Hacker News · 0 upvotes · 0 comments

---

Tags: [#open-source](https://daily.dev/tags/open-source), [#devtools](https://daily.dev/tags/devtools), [#cli](https://daily.dev/tags/cli), [#claude-code](https://daily.dev/tags/claude-code), [#openai-codex](https://daily.dev/tags/openai-codex)

[View this post on daily.dev](https://daily.dev/posts/usage-pill-a-tiny-always-on-top-overlay-for-real-time-claude-code-codex-usage--brjzxdwjz)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/usage-pill-a-tiny-always-on-top-overlay-for-real-time-claude-code-codex-usage--brjzxdwjz","headline":"Usage Pill ( A tiny always-on-top overlay for real-time Claude Code / Codex usage )","text":"A developer built and open-sourced a tiny always-on-top desktop overlay called Usage Pill that shows real-time usage of Claude Code and Codex without leaving the terminal. It animates while a session runs, splits into two rows when both tools are active, and expands on hover to show reset time, weekly usage, and plan details. It reads local session files with no account or telemetry, and installs via npm. Currently daily-driven on Windows, with macOS and Linux support included but untested on real hardware.","url":"https://daily.dev/posts/usage-pill-a-tiny-always-on-top-overlay-for-real-time-claude-code-codex-usage--brjzxdwjz","datePublished":"2026-09-24T08:25:48.479Z","dateModified":"2026-09-24T08:26:05.700Z","author":{"@type":"Person","name":"Muhammad Rayyan","url":"https://daily.dev/muhammadrayyan26","image":"https://lh3.googleusercontent.com/a/ACg8ocKI8IyNUIYevrxxSpg_YIPy-rfIpmI1R08ro993mnCNv8RcbZ0=s96-c","description":"All repairs tend to destroy structure, to increase the entropy and disorder of a system.","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":160}},"image":"https://media.daily.dev/image/upload/s--2liNVER1--/f_auto/v1790238349/posts/brJzxdwJZ?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"comment":[{"@type":"Comment","text":"In case you miss the links in post here they are :\nRepo: https://github.com/mrayyan911/usage-pill\nnpm: https://www.npmjs.com/package/@mrayyan911/usage-pill","datePublished":"2026-09-24T08:26:41.912Z","url":"https://daily.dev/posts/brJzxdwJZ#c-T1VIg6DAK","author":{"@type":"Person","name":"Muhammad Rayyan","url":"https://daily.dev/muhammadrayyan26","image":"https://lh3.googleusercontent.com/a/ACg8ocKI8IyNUIYevrxxSpg_YIPy-rfIpmI1R08ro993mnCNv8RcbZ0=s96-c"}}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/flhczznkxebmpmujhskcb","name":"Muhammad Rayyan"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Muhammad Rayyan","item":"https://daily.dev/sources/flhczznkxebmpmujhskcb"},{"@type":"ListItem","position":3,"name":"Usage Pill ( A tiny always-on-top overlay for real-time Claude Code / Codex usage )"}]}
```

