<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: LINYUN</title>
    <description>The latest articles on DEV Community by LINYUN (@inarc).</description>
    <link>https://dev.to/inarc</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4239789%2F4cb5a575-c078-463f-ab7b-d8c6d565ecf9.jpg</url>
      <title>DEV Community: LINYUN</title>
      <link>https://dev.to/inarc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/inarc"/>
    <language>en</language>
    <item>
      <title>I kept alt-tabbing to check how close I was to my 5-hour and weekly limits, so I built a small always-on-top widget for it</title>
      <dc:creator>LINYUN</dc:creator>
      <pubDate>Wed, 11 Nov 2026 20:02:59 +0000</pubDate>
      <link>https://dev.to/inarc/usage-limit-23pe</link>
      <guid>https://dev.to/inarc/usage-limit-23pe</guid>
      <description>&lt;p&gt;&lt;strong&gt;What it solves&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Don't know how much is left → two ink drops stay on screen; they turn orange at 60% and red at 85%, so you see the cap coming&lt;/li&gt;
&lt;li&gt;Don't know which session costs the most → Sessions view: one row per session, with the cache time left on it&lt;/li&gt;
&lt;li&gt;Don't know which model burns the most → Models view converts usage into quota share, with thinking levels listed separately (the conversion needs Python, optional)&lt;/li&gt;
&lt;li&gt;More tokens must mean more quota? → Compare view puts token share and quota share side by side; cache reads are cheap, so quota is the better number&lt;/li&gt;
&lt;li&gt;Is the subscription worth it? → usage converted to its API-equivalent price, with a payback multiple&lt;/li&gt;
&lt;li&gt;Afraid of running out early? → forecasts from the last 12 hours of usage whether the weekly quota will run out before it resets&lt;/li&gt;
&lt;li&gt;Can't remember the renewal date? → detects your account automatically and sends a system notification before renewal&lt;/li&gt;
&lt;li&gt;Want to look at one particular period? → 11 time ranges, plus a custom one&lt;/li&gt;
&lt;li&gt;Worried it blocks your code? → 16 skins (paper / ink), adjustable transparency&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Where the numbers come from&lt;/strong&gt;&lt;br&gt;
By default it uses Claude Code's official &lt;code&gt;statusLine&lt;/code&gt; feature: a tiny helper receives &lt;code&gt;rate_limits&lt;/code&gt; on stdin and writes them to a local file, and the widget reads that file. No login token is read, no network is used. There is also an optional "online query" mode that uses the undocumented &lt;code&gt;/usage&lt;/code&gt; endpoint with your local login token – it stays off until you click Yes in a dialog that explains the risk (Anthropic's terms restrict using subscription credentials outside Claude Code, so that's your call).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Limits, honestly&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Windows 10/11 only (WinForms, nothing to install besides the app)&lt;/li&gt;
&lt;li&gt;The installer isn't code-signed, so SmartScreen will complain. SHA-256 values are on the release page, or build it yourself with the &lt;code&gt;csc.exe&lt;/code&gt; that ships with Windows&lt;/li&gt;
&lt;li&gt;The quota-per-dollar conversion is an estimate (~5% off)&lt;/li&gt;
&lt;li&gt;The status line only updates while Claude Code is running, and I've seen reports that the VS Code extension doesn't trigger it&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A second batch of features (a status light per session, click a session to jump to its window, a weekly HTML report, a 5-hour-cap forecast…) already runs on my machine but is &lt;strong&gt;not released yet&lt;/strong&gt; – the full list is in a comment below.&lt;/p&gt;

&lt;p&gt;Since "what's next?" is the obvious question: a second batch of features already runs on my machine but is &lt;strong&gt;not released yet&lt;/strong&gt;. I'll ship it as my spare time allows (no date promised); once it's out, installed copies show a small update dot, so there's nothing to search for.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Coming next (not in 0.1.1)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Cache expires and reloading is expensive → one light per session: green = running, blue = waiting for you; the closer the cache is to expiring, the more yellow, then red&lt;/li&gt;
&lt;li&gt;Too many sessions to find the one waiting on you → click a session name to jump to the window it lives in&lt;/li&gt;
&lt;li&gt;Forget to keep the cache warm while busy → a system notification before it expires; optionally an email to yourself (bring your own SMTP)&lt;/li&gt;
&lt;li&gt;Don't know who is burning quota → each session shows its speed and share over the last 15 minutes&lt;/li&gt;
&lt;li&gt;Unsure you will last until the reset → the total row says it outright: at the current pace the 5-hour quota hits the cap in about N hours, and whether the weekly quota runs out early&lt;/li&gt;
&lt;li&gt;Can't remember where the week went → an automatic weekly HTML report: daily cost, hourly heatmap, model × level, the most expensive sessions, change vs. last week&lt;/li&gt;
&lt;li&gt;Can't find the costliest session → click a column header to sort; the cost column shows the API-equivalent amount&lt;/li&gt;
&lt;li&gt;Which model did a session use? → Models view, click a session: usage per model × level and a timeline of mid-session switches, copyable&lt;/li&gt;
&lt;li&gt;Using non-Claude models and nobody tracks the cost → an API view lists usage and estimated cost&lt;/li&gt;
&lt;li&gt;How accurate is the conversion, and how are the numbers computed? → an estimate self-check&lt;/li&gt;
&lt;li&gt;Gaming and worried about resources → three-level scheduling (the lightest keeps only cache reminders), plus one-click pause of background reading
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frqyb9svejsh60btz01a9.gif" alt=" " width="420" height="534"&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc9f6ixboiy05b2raacd8.png" alt=" " width="800" height="293"&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftirekmnbgortael70jh8.gif" alt=" " width="264" height="388"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxfmeebokho1rnk36utvx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxfmeebokho1rnk36utvx.png" alt=" " width="800" height="1222"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fliag1eargkjy0jo5dmj6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fliag1eargkjy0jo5dmj6.png" alt=" " width="800" height="1222"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;MIT licensed, free, no paid features. It's an independent project, not affiliated with Anthropic.&lt;br&gt;
Repo: &lt;a href="https://github.com/jly782676356-byte/Stilla" rel="noopener noreferrer"&gt;https://github.com/jly782676356-byte/Stilla&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claude</category>
      <category>widget</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
