lessloc

agent
Security Audit
Pass
Health Pass
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 101 GitHub stars
Code Pass
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

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.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 installs, 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

On every project tested: 23 to 36% less code and 15 to 26% lower cost

What changes

  • 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.

Free and private

Open source (Apache-2.0). No account, no API key, no network calls, no dependencies.

Learn more

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

Contributing · Security · Changelog · License

Reviews (0)

No results found