by hazemdawahi
Get your Claude usage back: Claude Code uses 86% fewer tokens, with the same answers.
# Add to your Claude Code skills
git clone https://github.com/hazemdawahi/fewerfewer is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by hazemdawahi. Get your Claude usage back: Claude Code uses 86% fewer tokens, with the same answers. It has 50 GitHub stars.
fewer's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/hazemdawahi/fewer" and add it to your Claude Code skills directory (see the Installation section above).
fewer is primarily written in Rust. It is open-source under hazemdawahi on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh fewer against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Fewer makes Claude Code use 86% fewer tokens, with the same answers. Your Claude usage lasts longer. It's free.
Fewer itself is built with Fewer on.
9 tasks, run 12 times each with and without Fewer, on GitHub's clean Linux and Windows machines (Claude Code 2.1.332, Opus 5.5). Every answer was right both ways. Each round: 87–93% fewer tokens, and 84% less in dollars.
Check it: round 1 · round 2 · raw results · rerun it yourself
On Sonnet, Haiku and Fable: 79–95% less in dollars.
Check it: Sonnet 5.5 · Haiku 5.5 · Fable 5.2 · rerun it yourself
Check it: round 1 · round 2 · rerun it yourself
fewer analyze shows where your Claude Code tokens go, and what to switch on to save more. Mine,
from building Fewer, last 30 days:
Works on macOS, Linux and Windows. All you need is Claude Code.
curl -fsSL https://github.com/hazemdawahi/fewer/releases/latest/download/install.sh | sh
On Windows, in PowerShell:
irm https://github.com/hazemdawahi/fewer/releases/latest/download/install.ps1 | iex
It shows every change it will make, then asks you. One more yes adds Fewer's plugin: a line above the prompt with what Fewer saved. Then open a new Claude Code chat.
Or with Homebrew (macOS, Linux): brew install hazemdawahi/fewer/fewer, then fewer install.
Or paste this into Claude Code:
Install Fewer for me: curl -fsSL https://github.com/hazemdawahi/fewer/releases/latest/download/install.sh | sh -s -- --yes
Or start with the plugin, in a chat: /plugin marketplace add hazemdawahi/fewer, then
/plugin install fewer@fewer; its /fewer-install installs Fewer after asking you
(plugin/README.md).
Update: fewer update · Remove: fewer uninstall
Use Claude Code as usual, in any project: it uses Fewer by itself. These are for you:
| Command | What it does |
|---|---|
fewer tokens |
Your own savings, per message you send |
fewer analyze |
The Fewer map: where your tokens go, what Fewer saved, what could save more |
fewer memory |
What Fewer saved, its size, and delete what you want |
fewer off / fewer on |
Turn Fewer off or on |
fewer subagents claude-md on / off |
Subagents, workflows and helpers start with your CLAUDE.md files, or not (the default) |
fewer tools / fewer tools all |
Which Claude Code tools Fewer leaves out of a chat's start, or every tool back |
fewer autoclear off / on |
Long chats: your next message goes to a fresh chat by itself, where you were carried over (Fewer's plugin; on by default) |
In a Claude Code chat: /fewer-tokens, /fewer-analyze, /fewer-memory, /fewer-off, /fewer-on, /fewer-subagents-claude-md (and its -on, -off).
A smaller start, on by default: every step re-reads each tool's description, so Fewer leaves out
the Claude Code tools your chats of the last 30 days never used (ScheduleWakeup for /loop,
ReportFindings for /code-review, ListAgents, and Workflow once you have 10 chats). It says which
when it turns on. To keep them all: fewer tools all.
When you switch tasks, type /clear: Fewer carries over where you were, and the new chat costs
far less than a long one. With Fewer's plugin, a long chat does it by itself: once it re-reads
80K tokens a reply, your next message goes to a fresh chat (fewer autoclear off to stop).
Apache 2.0. See LICENSE.