What changed
Released on 19 November 2026, Deadweight version 0.4.0 introduces the card subcommand to export setup metrics as an image, according to the release notes. The output shows the biggest overhead category, unused skill counts and projected savings from running fix, with bundled fonts so the graphic looks consistent across machines. The release notes say an automated test checks that no names leak onto the image, and the /deadweight plugin command now supports card as well. Version 0.4.0 ships via Cargo or as prebuilt binaries for macOS, Linux and Windows with SHA256SUMS checksums.1
How it works
According to the project's README, every installed plugin, skill, MCP server and hook adds text to each Claude Code request before a developer types a word. This hidden overhead drains usage limits faster and fills the context window sooner, causing sessions to compact earlier. The README also notes that Claude Code caps the skill listing at roughly 30,000 characters. Once a setup exceeds that cap, extra skills appear as bare names without descriptions, leaving Claude unable to tell when to use them and letting unused entries crowd out relied-on skills.2
Deadweight reads the local session transcripts Claude Code stores in ~/.claude/projects/, the README explains. It takes the exact total from the API usage billed on the first request of the latest session, combining input, cache write and cache read tokens. The tool then traces each skill line, deferred tool name, instruction block, agent and hook injection back to its source, estimating per-source token sizes from text length. Anything left unexplained is attributed to Claude Code's own system prompt and tools. It also flags user-scope MCP servers called in only one or two projects so builders can move them to project-level configs.2
By default Deadweight is read-only and never makes a network request, according to the README. When a builder runs deadweight fix, it backs up settings.json to a timestamped directory and asks before disabling unused plugins or hiding unused skills as user-invocable only. It refuses to run with fewer than five sessions of history and skips plugins that run hooks unless a flag is passed, because hooks may perform background tasks it cannot observe. Because Claude Code deletes transcripts older than 30 days by default, Deadweight cannot see older usage. The MIT-licensed Rust tool also ships as a Claude Code plugin that adds about 18 tokens to the skill listing.2