skill-optimize SKILL.md skillA
skill-optimize from yarlson/yarstack is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add yarlson/yarstack/skill-optimize@git:20261017.2f2e03bPins git:20261017.2f2e03b in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- yarlson/yarstack
- Path
plugins/yarstack/skills/skill-optimize/SKILL.md- Versions recorded
- 2
- Latest version
- git:20261017.2f2e03b, committed Oct 17, 2026
- First version recorded
- Sep 12, 2026
- Size
- 5,241 bytes
- Repository stars
- 3
- License
- MIT
Reduce the loaded token cost of one existing skill without weakening its trigger, decisions, safety, or outcome. Use when the user supplies a skill path and authorizes a focused rewrite, not to create or repurpose a skill.
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 Optimization Rewrite one existing `SKILL.md` for lower context cost while preserving its effective contract. Treat token reduction as a constraint, not the primary outcome. ## Inspect the contract 1. Resolve a relative path by joining it to the output of `pwd`, not to this skill's own directory or the repository that holds it, and confirm that it points to one existing `SKILL.md`, that editing it is authorized, and which repository or plugin owns it. Read applicable repository instructions, the skill format, the complete target, and each resource whose contract may justify removing target text. Inspect working-tree state and preserve unrelated changes. If the target is already modified, treat its working content as the source; use Git only to understand committed history. 2. Record baseline line, word, and byte counts. Record tokens only when a suitable tokenizer is already available; do not add a dependency for measurement. …
Read the whole file at its exact version.
How to install
mdr add yarlson/yarstack/skill-optimize@sha256:24af303a82c0892aThe line at the top of this page pins the label git:20261017.2f2e03b, 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.
[](https://markdownregistry.com/a/art_5ceb2jgl3ybprm3w)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Sep 12, 2026 and Oct 17, 2026, about one every 35 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261017.2f2e03b latest | 2026-10-17 | 2f2e03b | 5,241 B | A | view · diff |
| git:20260912.ee51a98 | 2026-09-12 | ee51a98 | 4,706 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5241 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
yarlson/yarstack · 3 stars · license MIT · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_5ceb2jgl3ybprm3w GET https://markdownregistry.com/api/v1/resolve?ref=yarlson/yarstack/skill-optimize GET https://markdownregistry.com/api/v1/blob/24af303a82c0892abf37fa4051dec7237d27e4622c973bbace28a068c4bd6748
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.