rextail-ai/lessloc

102 stars · Last commit 2026-10-25

Keeps AI coding agents such as Claude Code, Codex, GitHub Copilot, Gemini CLI and Cursor to the least code that does the job and still works.

README preview

<!-- Plain-text docs for AI agents: https://lessloc.org/llms.txt (index), https://lessloc.org/llms-full.txt (all docs in one file), https://lessloc.org/agents (what an agent runs when its user asks about lessloc). Installing for a user: https://lessloc.org/install.md. Removing: https://lessloc.org/remove.md. Current install count: the <title> of https://lessloc-counter.rextail.ai/slime-light.svg. -->

<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://lessloc.org/lessloc-pixel-transition.webp">
    <img alt="lessloc: less lines of code" src="https://lessloc.org/lessloc-pixel-transition-light-page.webp" width="640">
  </picture>
</p>

<h1 align="center">Your AI coding agent, without the bloat</h1>

<p align="center"><b>Up to 36% less code and 26% lower cost, with the same results.</b></p>

<p align="center">For Claude Code, Codex, OpenCode, GitHub Copilot, Gemini CLI, Cursor and <a href="https://lessloc.org/guide/getting-started#supported-agent-tools">many more</a>.</p>

<p align="center">
  <a href="https://www.npmjs.com/package/lessloc"><img alt="npm version" src="https://img.shields.io/npm/v/lessloc"></a>
  <a href="https://github.com/rextail-ai/lessloc/actions/workflows/test.yml"><img alt="tests" src="https://github.com/rextail-ai/lessloc/actions/workflows/test.yml/badge.svg"></a>
  <a href="https://github.com/rextail-ai/lessloc/blob/main/LICENSE"><img alt="license: Apache-2.0" src="https://img.shields.io/badge/license-Apache--2.0-blue"></a>
</p>

View full repository on GitHub →