lessloc README

The project's README from github.com/rextail-ai/lessloc. As one markdown file: README.md.

lessloc: less lines of code

Your AI coding agent, without the bloat

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.

npm version tests license: Apache-2.0

lessloc downloads, counted live

Install in one sentence

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 https://get.lessloc.org/claude/lessloc.git
/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.

Measured on real work

117 real changes in 3 open-source projects, judged by hidden tests: 27% less code, 23% lower cost, the same results

How it works

How lessloc works inside your agent's own loop, through the hooks your agent tool already has: at session start it adds a short working standard, at each prompt it points to code you already have, before a write it refuses placeholders and junk, after a write it flags secrets and swallowed errors, and at the end of the turn it sends unfinished work back once. Principles: the least code that stays correct, reuse before new code, act in the loop with no reports, the agent's test runs as proof, review only the change. Built on Node.js with no dependencies, no API key and no model calls, git for snapshots, one table for 20+ agent tools, and a code index for 16 languages.

What changes

Free and private

Open source (Apache-2.0). No account, no API key, no dependencies. It keeps itself up to date: its only network contact of its own is a daily check for a newly published release.

Learn more

Getting started · How it works · Settings · Commits and CI · FAQ

Contributing · Security · Changelog · License

lessloc (rextail-ai/lessloc)

dead-code
Searching Database…

0). No account, no API key, no dependencies. It keeps itself up to date: its only network contact of its own is a daily check for a newly published release.

Creator
rextail-ai
Size
3.5 MB
Stars
109
Age
13d
Commits · 90 Days