<?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: Cranius Maximus</title>
    <description>The latest articles on DEV Community by Cranius Maximus (@craniusmaximus).</description>
    <link>https://dev.to/craniusmaximus</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%2F4064081%2Fa8fc173a-3050-4a6b-8d52-be16b0fcd3a0.png</url>
      <title>DEV Community: Cranius Maximus</title>
      <link>https://dev.to/craniusmaximus</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/craniusmaximus"/>
    <language>en</language>
    <item>
      <title>Claude Code already shows what I spent. I optimized the spending.</title>
      <dc:creator>Cranius Maximus</dc:creator>
      <pubDate>Wed, 05 Aug 2026 14:09:29 +0000</pubDate>
      <link>https://dev.to/craniusmaximus/claude-code-already-shows-what-i-spent-i-wanted-what-never-fired-4cnn</link>
      <guid>https://dev.to/craniusmaximus/claude-code-already-shows-what-i-spent-i-wanted-what-never-fired-4cnn</guid>
      <description>&lt;p&gt;Claude Code already has &lt;code&gt;/usage&lt;/code&gt; (same as &lt;code&gt;/cost&lt;/code&gt;). On a Pro or Max plan it will show session cost estimates, plan bars, and a recent breakdown of usage by skill, subagent, plugin, and MCP server. &lt;/p&gt;

&lt;p&gt;But, I wanted to optimize Claude, or have it optimize itself, rather than tell me. Skills I installed months ago were sitting idle, and contributing tokens each turn. &lt;code&gt;/usage&lt;/code&gt; is good at showing what &lt;em&gt;ran&lt;/em&gt; and what counted against the plan. It does not answer: what is installed, still loads, and has not fired once across the last stretch of my own transcripts?&lt;/p&gt;

&lt;p&gt;That is what session-tax is for.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it actually measures
&lt;/h2&gt;

&lt;p&gt;It reads your Claude Code session transcripts off disk on your machine. No network calls in the free script. Imports are &lt;code&gt;fs&lt;/code&gt;, &lt;code&gt;path&lt;/code&gt;, and &lt;code&gt;os&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Across a window you choose (default 90 days) it reports:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;how many tokens a session typically opens with before you type (median and the worst tenth)&lt;/li&gt;
&lt;li&gt;installed skills versus skills that actually got invoked&lt;/li&gt;
&lt;li&gt;how many of those skills look dead (installed, not wired to an event, older than a fortnight, zero invocations in the window), and how many tokens their listings cost on every open&lt;/li&gt;
&lt;li&gt;counts for custom agents, connected servers, and hooks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The dollar line is a rough guide. It prices opening context using the cache-read / cache-write mix it sees in your transcripts, and it says so. On a subscription you mostly pay this in overhead.&lt;/p&gt;

&lt;h2&gt;
  
  
  Free vs paid
&lt;/h2&gt;

&lt;p&gt;Free edition: the totals above. It will tell you &lt;em&gt;how many&lt;/em&gt; skills look dead and what that listing tax adds up to. It does not print the names.&lt;/p&gt;

&lt;p&gt;Paid ($19, one seat): names the dead skills, points at cold servers (connected but almost never called), machine-readable &lt;code&gt;--json&lt;/code&gt;, and &lt;code&gt;--home&lt;/code&gt; so you can audit a different profile. Shop link lives in the GitHub README on purpose. Some forums quietly filter &lt;code&gt;*.pages.dev&lt;/code&gt; URLs.&lt;/p&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/CraniusMaximus/claude-code-autonomy-pack" rel="noopener noreferrer"&gt;github.com/CraniusMaximus/claude-code-autonomy-pack&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I want to know
&lt;/h2&gt;

&lt;p&gt;Does it help? Is it a waste of time? Any inaccuracies?&lt;/p&gt;

</description>
      <category>claude</category>
      <category>devtools</category>
      <category>productivity</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
