{"slug": "another-approach-to-save-tokens-from-coding-agents", "title": "Another approach to save tokens from coding agents", "summary": "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.", "body_md": "**Up to 36% less code and 26% lower cost, with the same results.**\n\nFor Claude Code, Codex, OpenCode, GitHub Copilot, Gemini CLI, Cursor and [many more](https://lessloc.org/guide/getting-started#supported-agent-tools).\n\nTell your coding agent:\n\n```\nInstall lessloc for this project by following https://lessloc.org/install.md\n```\n\nClaude Code? Or type these in its prompt box:\n\n```\n/plugin marketplace add rextail-ai/lessloc\n/plugin install lessloc@lessloc\n```\n\nTo remove it: `Remove lessloc by following https://lessloc.org/remove.md`\n\n**On npm?** Install it with the sentence above; your agent sets up the hooks.\n\n- **Less code to review.** It reuses what your project already has.\n- **A smaller bill.** Fewer tokens per task.\n- **No junk.** Placeholders, commented-out code and stray backup files are refused.\n- **It finishes the job.** If its own tests still fail at \"done\", it goes back to fix them.\n\nOpen source (Apache-2.0). No account, no API key, no network calls, no dependencies.\n\n[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)\n\n[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)", "url": "https://wpnews.pro/news/another-approach-to-save-tokens-from-coding-agents", "canonical_source": "https://github.com/rextail-ai/lessloc", "published_at": "2026-10-22 15:58:05+00:00", "updated_at": "2026-10-22 16:12:09.719405+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "ai-products"], "entities": ["Rextail AI", "lessloc", "Claude Code", "Codex", "OpenCode", "GitHub Copilot", "Gemini CLI", "Cursor"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/another-approach-to-save-tokens-from-coding-agents", "markdown": "https://wpnews.pro/news/another-approach-to-save-tokens-from-coding-agents.md", "text": "https://wpnews.pro/news/another-approach-to-save-tokens-from-coding-agents.txt", "jsonld": "https://wpnews.pro/news/another-approach-to-save-tokens-from-coding-agents.jsonld"}}