<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Jeinn]]></title><description><![CDATA[Jeinn]]></description><link>https://jeinn.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6ac594b3bfd30f9658c51943/f602a404-9eb3-4ca6-a7a1-a4b07cc414ea.png</url><title>Jeinn</title><link>https://jeinn.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 16:52:05 GMT</lastBuildDate><atom:link href="https://jeinn.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Using Claude Code and Codex at the same time? Three open-source tools for quotas, CLI updates and model cost]]></title><description><![CDATA[If you subscribe to several AI coding tools at once, three questions keep coming up:

How much quota is left, and when does it reset? Every provider shows usage in a different place.

Is each CLI up t]]></description><link>https://jeinn.hashnode.dev/using-claude-code-and-codex-at-the-same-time-three-open-source-tools-for-quotas-cli-updates-and-model-cost</link><guid isPermaLink="true">https://jeinn.hashnode.dev/using-claude-code-and-codex-at-the-same-time-three-open-source-tools-for-quotas-cli-updates-and-model-cost</guid><category><![CDATA[AI]]></category><category><![CDATA[claude-code]]></category><category><![CDATA[Open Source]]></category><dc:creator><![CDATA[Zevi Liao]]></dc:creator><pubDate>Wed, 07 Oct 2026 00:59:13 GMT</pubDate><content:encoded><![CDATA[<p>If you subscribe to several AI coding tools at once, three questions keep coming up:</p>
<ol>
<li><p><strong>How much quota is left, and when does it reset?</strong> Every provider shows usage in a different place.</p>
</li>
<li><p><strong>Is each CLI up to date?</strong> They update often, and it is hard to keep track.</p>
</li>
<li><p><strong>Which model gives the best value?</strong> The highest-scoring model is not always the one that fits your budget.</p>
</li>
</ol>
<p>I built three tools, one for each question. All are open source under the MIT license:</p>
<table>
<thead>
<tr>
<th>Tool</th>
<th>What it does</th>
<th>Form</th>
</tr>
</thead>
<tbody><tr>
<td><strong>ai-usage</strong></td>
<td>Quota and reset times for five providers</td>
<td>Agent skill</td>
</tr>
<tr>
<td><strong>ai-cli-version</strong></td>
<td>Version and update status for five CLIs</td>
<td>Agent skill</td>
</tr>
<tr>
<td><strong>AI Model Compare</strong></td>
<td>Model score vs. cost per task</td>
<td>Web page</td>
</tr>
</tbody></table>
<p>Both skills cover <strong>Claude Code, Codex (ChatGPT), Grok Build, Muse Code and Antigravity (Gemini)</strong>. You don't need all five; a CLI that isn't installed shows <code>not installed</code>.</p>
<hr />
<h2>1. ai-usage: one report for five providers' quotas</h2>
<p>After installing, type this in Claude Code, Codex or Grok Build:</p>
<pre><code class="language-plaintext">/ai-usage
</code></pre>
<img src="https://raw.githubusercontent.com/Jeinn-co/agent-skills/main/skills/ai-usage/images/demo.png" alt="ai-usage report" style="display:block;margin:0 auto" />

<p>A sample report. Quotas, versions and rankings in the screenshots are examples; actual values depend on when you run it.</p>
<p>The report shows:</p>
<ul>
<li><p><strong>Usage and reset times</strong>: Claude, ChatGPT and Muse have a 5-hour and a weekly window; Grok has only a weekly window; Gemini has two weekly pools.</p>
</li>
<li><p><strong>now</strong>: the model and effort (reasoning level) each CLI used in its most recent local session.</p>
</li>
<li><p><strong>Qualified</strong>: for each provider, the model and effort with a CursorBench score of at least 50% and the best CP (score ÷ cost per task); if nothing reaches 50%, the highest score is shown and marked <code>*</code>. If CursorBench doesn't list the model, Artificial Analysis (AA) data is used instead and marked (AA). These are the same two sources AI Model Compare uses (section 3), but the web page defaults to AA.</p>
</li>
<li><p><strong>⚠</strong>: shown only when a weekly window is over 80% used.</p>
</li>
<li><p><strong>→</strong>: which provider to use now, with a one-line reason.</p>
</li>
</ul>
<p><strong>CP = score ÷ cost per task</strong>, and is only compared within one benchmark. Cost is based on API prices, not your subscription fee, and does not show how much subscription quota is used.</p>
<h3>Design notes</h3>
<p>Quotas come straight from the CLIs you are already signed in to, without driving a browser or reading passwords or cookies; benchmark data is fetched separately from public pages. Running it in Codex still shows your Claude quota.</p>
<ul>
<li><p><strong>Missing data is never treated as zero.</strong> A failed call shows an error. Grok omits its usage percentage below 1%, so the report shows &lt;1%.</p>
</li>
<li><p><strong>Checking Muse uses a little quota.</strong> It has to send a very short request (<code>Reply with the single word: ok</code>) to get usage. This takes about 15 seconds and leaves one test session.</p>
</li>
<li><p><strong>Report language is configurable.</strong> Ask for a language explicitly, for example "answer in Traditional Chinese"; otherwise it uses your system's preferred language when available, or English. The script's raw output stays in English.</p>
</li>
</ul>
<hr />
<h2>2. ai-cli-version: are your five CLIs up to date?</h2>
<pre><code class="language-plaintext">/ai-cli-version
</code></pre>
<img src="https://raw.githubusercontent.com/Jeinn-co/agent-skills/main/skills/ai-cli-version/images/demo.png" alt="ai-cli-version report" style="display:block;margin:0 auto" />

<p>In this example only Claude Code has a newer version. Each row shows the installed version, install time (approximate), latest version, release time and status.</p>
<p><strong>The check only looks things up; it never installs or updates a CLI on its own.</strong> When updates are available, the agent asks: <code>y</code> updates every outdated CLI, <code>Esc</code> skips them all. Running the Python script directly only checks.</p>
<p>Version data comes from the npm registry and each vendor's update source. Grok uses <code>--check</code>, and Muse and Antigravity have their auto-update on launch turned off. The skill doesn't need npm or Node.js to run.</p>
<p>Install times come from file timestamps and may be off. Grok's release time comes from a third-party mirror and is marked <code>≤</code>; Muse and Antigravity publish no release dates, so they show <code>?</code>. If you installed a CLI with Homebrew or npm, update it with that package manager.</p>
<hr />
<h2>3. AI Model Compare: model score vs. cost per task</h2>
<p><a href="https://jeinn-co.github.io/ai-model-compare/"><strong>Open the web page</strong></a><strong>; nothing to install.</strong> Data refreshes automatically every 6 hours (the footer shows when), and the previous data is kept if a refresh fails.</p>
<p>A 70-second walkthrough:</p>
<p><a class="embed-card" href="https://www.youtube.com/watch?v=CB1NLN4oAXw">https://www.youtube.com/watch?v=CB1NLN4oAXw</a></p>

<p>Chinese version: <a href="https://www.youtube.com/watch?v=m57iHVkMCZY">watch on YouTube</a></p>
<p>Inspired by the <a href="https://cursor.com/cursorbench">CursorBench</a> leaderboard, it plots score against cost as a scatter chart. It uses Artificial Analysis (AA) by default, and you can switch to CursorBench:</p>
<ul>
<li><p><strong>X axis</strong>: API cost per task; cheaper is to the right.</p>
</li>
<li><p><strong>Y axis</strong>: score by default; higher is better.</p>
</li>
<li><p>Each point is one model at one effort level, and a model's effort levels are joined into a line.</p>
</li>
</ul>
<img src="https://raw.githubusercontent.com/Jeinn-co/ai-model-compare/main/docs/demo.png" alt="Artificial Analysis data" style="display:block;margin:0 auto" />

<p>The page opens on the <a href="https://artificialanalysis.ai/models/releases">Artificial Analysis (AA) Intelligence Index</a>. Use "Source" to switch, or <a href="https://jeinn-co.github.io/ai-model-compare/?source=cursorbench">open CursorBench mode directly</a>.</p>
<img src="https://raw.githubusercontent.com/Jeinn-co/ai-model-compare/main/docs/demo-cursorbench.png" alt="CursorBench data" style="display:block;margin:0 auto" />

<p>The same chart on CursorBench. CursorBench doesn't list GPT-6.1 Sol yet, so the chart shows GPT-5.6 Sol for Codex. With score on the Y axis, the upper right means higher score at lower cost.</p>
<p><strong>The two sources use different test sets, so their scores and CP can't be compared with each other; the AA index is not a percentage either.</strong></p>
<h3>How to use it</h3>
<img src="https://raw.githubusercontent.com/Jeinn-co/ai-model-compare/main/docs/demo-hover.png" alt="Hovering over Opus 5.5 High" style="display:block;margin:0 auto" />

<p>Hover over a point and the other lines fade, with crosshairs marking its values. Here Opus 5.5 High is selected; the readout below shows AA's Intelligence, Cost, Speed, Verbosity and Latency. On CursorBench it shows Score, Cost, Tokens and Steps.</p>
<img src="https://raw.githubusercontent.com/Jeinn-co/ai-model-compare/main/docs/demo-menu.png" alt="Codex model menu" style="display:block;margin:0 auto" />

<p>Click the ▾ next to a legend chip to tick models and versions one by one, or click a line's name to tick the whole line. On first load each provider shows the newest version of one model; older versions are drawn paler.</p>
<img src="https://raw.githubusercontent.com/Jeinn-co/ai-model-compare/main/docs/demo-filter.png" alt="Only Codex shown" style="display:block;margin:0 auto" />

<p>Click a legend chip to show or hide a whole CLI; here only Codex is visible. Turning a CLI back on keeps the models you ticked. The number on a chip is its point count, shown as "shown/total" when some models are unticked. These settings are saved in your browser, so a reload or your next visit keeps them; each data source keeps its own ticks.</p>
<p>The Y axis can also show AA's Speed, Verbosity and Latency, or CursorBench's Tokens and Steps. Higher speed is better but lower latency is better, so the upper right isn't always best after switching.</p>
<hr />
<h2>Installation</h2>
<p>You need <strong>Python 3.9 or newer</strong>; no <code>pip install</code>. Before checking quotas, install and sign in to at least one supported CLI, and the agent must be able to launch local programs and reach the network. Checking versions doesn't need a sign-in.</p>
<p>The skills CLI currently requires <strong>Node.js 22.20 or newer</strong>. To install both skills into Claude Code, Codex and Grok Build at once:</p>
<pre><code class="language-bash">npx skills add Jeinn-co/agent-skills -g -a claude-code codex grok -y
</code></pre>
<p>To install just one:</p>
<pre><code class="language-bash">npx skills add Jeinn-co/agent-skills --skill ai-usage -g -y
npx skills add Jeinn-co/agent-skills --skill ai-cli-version -g -y
</code></pre>
<p><code>-g</code> installs globally; <code>-a</code> limits the install to the agents you use. On Windows you can add <code>--copy</code>. After installing, open a new session and type <code>/ai-usage</code> or <code>/ai-cli-version</code>.</p>
<p>To update:</p>
<pre><code class="language-bash">npx skills update ai-usage -g -y
npx skills update ai-cli-version -g -y
</code></pre>
<p>Open a new session after updating. If you'd rather not install Node.js, copy the skill folder into <code>~/.claude/skills/</code>, <code>~/.codex/skills/</code> or <code>~/.grok/skills/</code>, and copy it again to update.</p>
<h2>Platforms</h2>
<p>Tested on macOS and Traditional Chinese Windows 11, though not every CLI and platform combination; Linux hasn't been tested yet. If you run into a problem, please open an issue with your OS, CLI version and output.</p>
<h2>Links</h2>
<ul>
<li><p><a href="https://github.com/Jeinn-co/agent-skills">Skills source code</a></p>
</li>
<li><p><a href="https://github.com/Jeinn-co/ai-model-compare">AI Model Compare source code</a></p>
</li>
<li><p><a href="https://jeinn-co.github.io/ai-model-compare/">AI Model Compare web page</a></p>
</li>
</ul>
<p>If these tools help you, a star on GitHub is appreciated; for problems or support for another CLI, please open an issue.</p>
]]></content:encoded></item></channel></rss>