Featured answer
Give me an overview of tokeneconomizer
tokeneconomizer is a plugin for coding agents such as Claude Code and Codex that reduces their running cost in repositories you work in often, without changing the agent itself. It reuses the sessions an agent has already run in a repository to cut waste in later sessions. The entry points are tokeneconomizer/init.py and tokeneconomizer/plugin/cli.py, where the tokeneconomizer package switches on the token-saving stages and decides when an agent is stuck repeating a failing fix. The plugin folder holds the host integrations, including plugin/opencode/tokeneconomizer.ts for opencode, and the scripts directory packages the plugin for Claude Code and Factory Droid. The repository has 237 files in layers: Application with 135, Docs & Tooling with 22, Config with 5, Middleware with 2, and Data with 1, so start with the two entry points and the experiments directory, which runs the benchmark sweeps that measure the savings.
| Layer | Files |
|---|---|
| Application | 135 |
| Data | 1 |
| Config | 5 |
| Middleware | 2 |
| Docs & Tooling | 22 |
Basis: Inferred · knowledge graph· as of 12468f4