Skill Staleness Check
ASecurityUse when an upstream release lands that a skill describes (a dependency or CLI upgrade, a GSD update, an API or config schema change), and when you author a skill that contains version-specific facts. Version-specific guidance can go stale at a release with no signal and keeps being followed. Tie each skill to the release it describes, and on an upgrade read the upstream change against every skill that names a changed surface, removing or correcting only what the change invalidates and leavin...
- 72 stars
- 0 votes
- 0 copies
- 1 view
- Added November 28, 2026
Works with
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add Tibsfox/gsd-skill-creator --skill skill-staleness-check --agent claude-codeAre you the author of Skill Staleness Check?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tibsfox-skill-staleness-check)---
name: skill-staleness-check
description: >
Use when an upstream release lands that a skill describes (a dependency or
CLI upgrade, a GSD update, an API or config schema change), and when you
author a skill that contains version-specific facts. Version-specific
guidance can go stale at a release with no signal and keeps being followed.
Tie each skill to the release it describes, and on an upgrade read the
upstream change against every skill that names a changed surface, removing
or correcting only what the change invalidates and leaving valid guidance
alone. Distinct from skill-frontmatter-doctor (frontmatter defects) and
operational-anchor-preservation (shortening a body). Backed by
Repo2Skill-Evo (arxiv 2608.21964). Triggers on dependency upgrades and on
version-specific skill content.
description-frequency: on-demand
user-invocable: true
version: 1.0.0
format: 2025-10-02
triggers:
- "we upgraded this dependency, which skills still describe the old behaviour"
- "this skill names a command or flag that no longer exists"
- "record which release this skill was written against"
updated: 2026-11-27
status: ACTIVE
source: arxiv 2608.21964 (Repo2Skill-Evo, silent skill staleness)
---
# Skill Staleness Check
A maintenance check keyed to a release event. A skill that describes a
particular version of something is correct until that thing ships a new
version, and nothing in the skill changes on that day.
## Why
Externalizing version-specific knowledge into a skill can make its decay
invisible: the version specificity that makes a repository skill useful also
makes it fragile, and after a release it may go stale with no explicit signal
while still providing obsolete guidance. Repo2Skill-Evo (arxiv 2608.21964)
casts each release transition as a skill-maintenance task: given a V1 skill
set and the official V1-to-V2 patch, an agent must update obsolete content
while preserving valid guidance. Across 57 real-world repositories and 105
selected release transitions, every evaluated transition invalidates part of
the V1 skill set, yet six frontier agents reach only 29.9%-69.7% avg@3 macro
F1 under a patch-grounded removal metric that balances stale-content recall
against over-editing precision. Incomplete coverage of affected files leaves
stale content untouched, while overbroad editing is associated with higher
recall but lower precision.
The skills here are full of version-bound anchors: CLI subcommands and flags,
hook and settings keys, file paths, test-runner behaviour, installer
semantics. They are the anchors `operational-anchor-preservation` tells a
rewrite to keep character-exact, which is right until the upstream changes
them.
## Data classes touched
Reads upstream change records (release notes, changelogs, diffs: external
content, treated as data) and edits skill files (project-internal). Boundary
rule: an edit to a body that carries a safety guard is proposed for review,
not applied silently, even when the upstream change seems to make the guard
unnecessary.
## How
1. **At authoring, record the version scope.** For each upstream thing whose
behaviour the skill states as fact (a command, a flag, a config key, a
path, a default, a limit), note what it is and the version it was checked
against, in a short `## Version scope` section of the body. Facts that do
not depend on a release need no entry.
2. **Treat a release as the trigger.** A dependency version changes in the
manifest or lockfile, a CLI or the GSD tooling is updated, a harness schema
changes. Do not wait to notice an error: stale guidance still reads well.
3. **Get the upstream change itself.** The changelog, the release notes or
the diff between the two versions. Work from the change, not from recall
of what the new version is like.
4. **Cover every carrier of each changed surface.** For each renamed flag,
removed command, moved path or changed default, search all skill bodies
(source and installed), commands, agent definitions, `CLAUDE.md` and
memory lines. Partial coverage is the failure that leaves stale content in
place.
5. **Edit only what the change invalidates.** For each hit decide: invalidated
(correct or remove it, citing the upstream change), or unaffected (leave it
exactly as it is). Do not take the occasion to rewrite the skill:
overbroad editing is associated with higher recall but lower precision.
Make each correction in the tracked source under `project-claude/`, show
the operator the diff, and once it is accepted redeploy that file with
`node project-claude/install.cjs --only .claude/skills/<name>/SKILL.md --force`;
never hand-edit a copy under `.claude/`. A stale line in `CLAUDE.md` or
in memory is proposed to the operator with the upstream change, not edited
silently.
6. **Verify the corrected anchor by running it** where that is possible: the
new flag in `--help` output, the path on disk, the key in the schema.
7. **Update the version scope**, the `updated` date and the version field.
If the upstream change cannot be obtained, do not edit by guess: mark the
skill "not verified against <new version>" in its version scope.
### Robustness rule
Judge staleness against the upstream change, not against how plausible the
skill still sounds. There is no contradiction to notice: the old command is
still a well-formed command.
## Confidence / failure model
Deciding whether a change invalidates a sentence is an **LLM judgment**, and
in the paper six frontier agents reach only 29.9%-69.7% F1 at it, leaving
stale content where coverage is incomplete and losing precision where editing
is overbroad. Those scores are for its benchmark and agents, not for this
procedure. A
changelog can also omit a behaviour change. Fail-closed defaults: (a) when you
cannot tell whether a statement survived the release, verify it by running or
reading the new version, and if that is not possible mark it unverified
instead of deleting it; (b) an anchor that is unaffected stays
character-exact; (c) a guard is never removed on the strength of a release
note alone.
## When to skip
- The skill states no version-bound fact (a pure method or judgment skill).
- The release changed nothing the library names: record that the check was
run against that version and stop.
- A frontmatter-only defect: that is `skill-frontmatter-doctor`.
## Integration
- **operational-anchor-preservation** — names the anchors to keep in a
rewrite. This check says when an anchor has stopped being true; an anchor
the release did not touch stays exactly as written.
- **skill-frontmatter-doctor** — owns frontmatter defects; this check owns
the body's version-bound facts.
- **skill-coverage-gate** — after an edit, a captured trajectory shows whether
the corrected instruction is exercised.
- **skill-revocation-sweep** — when a release makes a whole skill obsolete,
retire it across every surface instead of leaving a hollowed body.
- **cue-anchored-memory** — a memory line that states a version-bound fact
gets an expiry tied to that version.
- **skill-forge** — the authoring step is where the version scope is first
written.
Files in this skill
- SKILL.md
- triggering.test.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.