Another approach to save tokens from coding agents Rextail AI released lessloc, an open-source (Apache-2.0) plugin for coding agents that the project claims cuts generated code by up to 36% and token cost by 26% with the same results. The tool works with Claude Code, Codex, OpenCode, GitHub Copilot, Gemini CLI and Cursor, installing via a prompt pointing to lessloc.org/install.md or, for Claude Code, the /plugin marketplace add rextail-ai/lessloc command; it requires no account, API key, network calls or dependencies. lessloc reuses existing project code, refuses placeholders, commented-out code and stray backup files, and sends the agent back to fix its own failing tests before declaring a task done. Up to 36% less code and 26% lower cost, with the same results. For Claude Code, Codex, OpenCode, GitHub Copilot, Gemini CLI, Cursor and many more https://lessloc.org/guide/getting-started supported-agent-tools . Tell your coding agent: Install lessloc for this project by following https://lessloc.org/install.md Claude Code? Or type these in its prompt box: /plugin marketplace add rextail-ai/lessloc /plugin install lessloc@lessloc To remove it: Remove lessloc by following https://lessloc.org/remove.md On npm? Install it with the sentence above; your agent sets up the hooks. - Less code to review. It reuses what your project already has. - A smaller bill. Fewer tokens per task. - No junk. Placeholders, commented-out code and stray backup files are refused. - It finishes the job. If its own tests still fail at "done", it goes back to fix them. Open source Apache-2.0 . No account, no API key, no network calls, no dependencies. Getting started https://lessloc.org/guide/getting-started · How it works https://lessloc.org/guide/how-it-works · Settings https://lessloc.org/guide/configuration · Commits and CI https://lessloc.org/guide/ci · FAQ https://lessloc.org/guide/faq Contributing https://github.com/rextail-ai/lessloc/blob/main/CONTRIBUTING.md · Security https://github.com/rextail-ai/lessloc/blob/main/SECURITY.md · Changelog https://github.com/rextail-ai/lessloc/blob/main/CHANGELOG.md · License https://github.com/rextail-ai/lessloc/blob/main/LICENSE