skill-shortener SKILL.md skillA

skill-shortener from luongnv89/asm is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add luongnv89/asm/skill-shortener@v1.0.1

Pins v1.0.1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
luongnv89/asm
Path
skills/skill-shortener/SKILL.md
Versions recorded
2
Latest version
v1.0.1, committed Oct 5, 2026
First version recorded
Aug 29, 2026
Size
15,397 bytes
Repository stars
964
License
MIT

Refactor a too-long SKILL.md by progressive disclosure: measure token cost, classify every section KEEP/CUT/MOVE, shorten the body into references/ and scripts/, verify nothing was lost. Don't use for authoring new skills, eval retrofits, or prose.

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

# Skill Shortener

Shrink an over-long `SKILL.md` by **progressive disclosure**: what the agent needs on _every_ activation stays in the body, everything else moves behind a pointer that says when to load it — or is cut outright.

Three load layers decide where a piece of content belongs:

| Layer             | Holds                                | Costs            |
| ----------------- | ------------------------------------ | ---------------- |
| **always-loaded** | frontmatter `name` + `description`   | every turn       |
| **on-trigger**    | the `SKILL.md` body                  | every activation |
| **on-demand**     | `references/`, `scripts/`, `assets/` | only when read   |

The bar is **behavior-preserving**: the shortened skill drives the same process as the long one. Line count is the score, not the goal — a run that reaches 400 lines by deleting a loop's stop condition has failed, however good the number looks.

## Two modes

Pick one before Phase 0; they diverge at Phase 2.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add luongnv89/asm/skill-shortener@sha256:dd3fc58f13c87b43

The line at the top of this page pins the label v1.0.1, 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_snrrvkbpqcu7won2.svg)](https://markdownregistry.com/a/art_snrrvkbpqcu7won2)

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

Versions

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

versioncommittedcommitsizeaudit
v1.0.1 latest2026-10-05 82a2342 15,397 BA view · diff
v1.0.02026-08-29 25686df 15,397 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 (15397 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

luongnv89/asm · 964 stars · license MIT · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_snrrvkbpqcu7won2
GET https://markdownregistry.com/api/v1/resolve?ref=luongnv89/asm/skill-shortener
GET https://markdownregistry.com/api/v1/blob/dd3fc58f13c87b43de0851ec14bac96a6f097d13d839dc7d03c3346b7aeb4cf9

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.

More from luongnv89/asm

AGENTS.md AGENTS.md file
luongnv89/asm · AGENTS.md
git:20260912.f96fd99 · audit A · 964 stars
CLAUDE.md CLAUDE.md file
luongnv89/asm · CLAUDE.md
git:20260912.f96fd99 · audit A · 964 stars
find-me-skills SKILL.md skill
luongnv89/asm · skills/find-me-skills/SKILL.md · Find Agent Skills for a goal the user cannot name yet, then export an installable bundle. Use when they ask which…
v1.4.0 · audit A · 964 stars
hello-world SKILL.md skill
luongnv89/asm · skills/hello-world/SKILL.md · A minimal test skill that greets the user and demonstrates the ASM publish workflow.
v1.0.0 · audit A · 964 stars
refresh-index SKILL.md skill
luongnv89/asm · skills/refresh-index/SKILL.md · Sync every enabled repo in the curated skill index and open a confirmation-gated PR. Use when refreshing…
v1.3.0 · audit A · 964 stars
skill-creator SKILL.md skill
luongnv89/asm · skills/skill-creator/SKILL.md · Create a skill or bring an existing one up to the same standard (validate + asm eval fix loop); run evals, tune…
v2.2.0 · audit A · 964 stars
skill-index-updater SKILL.md skill
luongnv89/asm · skills/skill-index-updater/SKILL.md · Add GitHub skill repos to the ASM index: clone, audit, eval, regenerate index, rebuild catalog, open PR. Use when given…
v2.2.0 · audit A · 964 stars
skill-install-improved SKILL.md skill
luongnv89/asm · skills/skill-install-improved/SKILL.md · Install an improved variant of one named skill: resolve it by local path, repo, or name, run skill-creator's retrofit…
v1.3.0 · audit A · 964 stars
skill-upstream-pr SKILL.md skill
luongnv89/asm · skills/skill-upstream-pr/SKILL.md · Improve an open-source GitHub skill and open a friendly suggestion PR upstream: fork, run skill-creator's retrofit…
v1.1.0 · audit A · 964 stars
a-different-name SKILL.md skill
luongnv89/asm · src/eval/providers/skill-best-practice/v1/fixtures/actual-dir-name/SKILL.md · Validate a skill. Don't use for unrelated docs.
v1.0.0 · audit B · 964 stars
effort-xhigh-pass SKILL.md skill
luongnv89/asm · src/eval/providers/skill-best-practice/v1/fixtures/effort-xhigh-pass/SKILL.md · Validate a skill when asked. Don't use for unrelated docs.
v1.0.0 · audit B · 964 stars
invalid-effort SKILL.md skill
luongnv89/asm · src/eval/providers/skill-best-practice/v1/fixtures/invalid-effort/SKILL.md · Validate a skill when asked. Don't use for unrelated docs.
v1.0.0 · audit B · 964 stars

Every file in luongnv89/asm

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