operational-anchor-preservation
IndexedUse before you shorten, compress, or rewrite the BODY of an existing SKILL.md or agent .md — the moment you are about to cut text to reduce length. First inventory the file's operational anchors (exact code / command / API snippets, fail-closed workflow guards, and rule / threshold statements), preserve every one, then judge the rewrite by expected downstream task cost (exploration, debugging, recovery tokens) rather than by the resulting line count. A shorter skill that strips an anchor makes the agent MORE expensive per task, so length is never the objective. Shorten by factoring (a repeated rule stated once at its scope, a repeated procedure shared, differences kept as exceptions), never by deleting a rule that no sampled task exercised. Backed by Preserving Operational Anchors When Compressing Agent Instructions (arxiv 2606.09421v2) and SkillZip (arxiv 2608.11079). Triggers on shortening or refactoring a skill or agent body.
Install
$ npx skills add https://github.com/Tibsfox/gsd-skill-creator --skill operational-anchor-preservation
The skills CLI downloads the skill from GitHub when you run the command, so what you get may have changed since the scan.
Scan
The scan flagged nothing in SKILL.md when it was last read. It doesn’t read the skill’s other files, and a clean scan doesn’t prove a skill is safe.
Copies
No other indexed repository has this exact folder.