lessloc SKILL.md skillA

lessloc from rextail-ai/lessloc is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add rextail-ai/lessloc/lessloc@git:20261025.a9afaa1

Pins git:20261025.a9afaa1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
rextail-ai/lessloc
Path
skills/lessloc/SKILL.md
Versions recorded
2
Latest version
git:20261025.a9afaa1, committed Oct 25, 2026
First version recorded
Oct 21, 2026
Size
3,239 bytes
Repository stars
72
License
Apache-2.0

Find, review or remove code a codebase does not need (duplicates, copies under other names, dead code, needless abstractions, files, folders, comments, dependencies) without changing behavior. Use for "audit", "find bloat", "consolidate", "slim this", "reduce LOC", "what can I delete", "review this change", "does this already exist", /lessloc.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

The CLI is `node "${CLAUDE_PLUGIN_ROOT}/lessloc.mjs"`. Its numbers are facts; do not recount by hand.

- **setup** ("set up lessloc for this project"): run `init`. It writes nothing into the repository, only git hooks for this clone. Show the user the test command it found: a passing run of it is what marks an agent's final state verified. Offer `init --rules` (rules in AGENTS.md for other AI tools) only if the user uses tools without lessloc's hooks, and say that the file is shared with everyone who works on the project. Finish with `doctor`, in plain words. `remove` undoes `init`; the snapshots of the working tree stay in `.git/objects`, never pushed, until `git gc` prunes them.
- **find**: `find <what it does>` lists existing definitions that may already do it, by name; then search for code named differently too.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add rextail-ai/lessloc/lessloc@sha256:cbcc1b660cbafa93

The line at the top of this page pins the label git:20261025.a9afaa1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_prwnzsgwg54eoiek.svg)](https://markdownregistry.com/a/art_prwnzsgwg54eoiek)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Oct 21, 2026 and Oct 25, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
git:20261025.a9afaa1 latest2026-10-25 a9afaa1 3,239 BA view · diff
git:20261021.57c46722026-10-21 57c4672 3,139 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3239 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

rextail-ai/lessloc · 72 stars · license Apache-2.0 · pushed 2026-10-26 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_prwnzsgwg54eoiek
GET https://markdownregistry.com/api/v1/resolve?ref=rextail-ai/lessloc/lessloc
GET https://markdownregistry.com/api/v1/blob/cbcc1b660cbafa93808efa1dfa16010f9527ca6a0042cc8b882ea6f3f1e392c1

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

Browse by kind, by grade A, or by owner.