/freshness-protocol:freshness-protocolfrom freshness-protocol
Prevents LLMs from emitting outdated model IDs, deprecated APIs, stale package/runtime versions, obsolete security standards, or superseded research/regulatory claims. Activates before writing code, configs, dependency pins, CI workflows, benchmark tables, or security/compliance checklists.
Ships in freshness-protocol. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Core Law: Every LLM's parametric memory is a frozen snapshot lagging reality by months to years. Fluency is not freshness. Never ship an unverified time-sensitive claim, version, model ID, API pattern, security rule, or regulatory date from parametric memory when live verification is possible.
Before generating any code, config, table, or factual claim, read the current date from system metadata first (<TODAY> / <CURRENT_YEAR>). Only invoke date -u +%Y-%m-%d if no runtime date exists in your context—never burn an extra round-trip just to check the clock. Treat any fact changing on a days-to-quarters cycle as presumed stale relative to your training cutoff unless verified against <TODAY>.
Volatility × Impact Severity)Score every external dependency or factual claim before acting (full matrix: severity-volatility-matrix.md):
| Severity | Staleness Consequence | Examples | Gate |
|---|---|---|---|
| S4 Critical | Immediate prod breakage, 404/retired API, CI failure, active CVE/supply-chain risk, wrong legal/compliance deadline | Model IDs & retirements, sunset/breaking SDKs, removed CI runtimes, active CVEs, statutory enforcement dates | HARD STOP: Must verify live from primary source. If offline, mark UNVERIFIED blocker. |
| S3 High | Material rework, EOL infra, obsolete security checklist, stale research baseline | Active LTS Docker tags, DB/K8s versions, framework majors, frontier model tables, OWASP edition, recent SOTA models | Must verify live before emitting code, configs, or prose. |
| S2 Medium | Suboptimal defaults or mild friction | Minor SDK/linter pins, IaC provider major pins, standards draft-vs-final status | Verify live (batch in 1 parallel turn with higher-severity checks). |
| S1 Low | Minor staleness, low blast radius | Patch versions in informal advice, non-critical rankings | Verify if batched cheaply; otherwise qualify with verification date. |
| S0 None | Zero temporal decay (V0 Immutable) | Algorithms, math/probability, SQL clause order, core RFC semantics (e.g., HTTP 409/422), fixed historical equations, pure local codebase refactoring | DO NOT SEARCH. Answer directly from memory or local files. |
Users rarely say "check the latest version." Trigger live verification automatically whenever your output will contain ANY of these:
FROM), runtime LTS, DB, K8s, or OS taguses: ...@vN) or runner runtimepackage.json, requirements.txt, pyproject.toml, Cargo.toml, go.mod, Terraform required_providers)Climb from highest authority & lowest noise downward, adapting to whichever tools exist in your harness (full table & command recipes: tool-routing-ladder.md):
package-lock.json, uv.lock, Cargo.lock, go.mod, Dockerfile, .github/workflows/) before suggesting upgrades. Match pinned versions when editing existing code unless asked to upgrade or fix deprecation/CVE.pypi.org/pypi/<pkg>/json, registry.npmjs.org/<pkg>/latest, endoflife.date/api/<product>.json, api.github.com/repos/<owner>/<repo>/releases/latest, go.dev/dl/?mode=json, crates.io/api/v1/crates/<crate>, api.osv.dev). Direct registries eliminate web-search lag and SEO noise.context7, arXiv, OpenAlex, PubMed, openFDA, gh) when available.<CURRENT_YEAR> (never a stale year from memory) and prioritize official docs/changelogs/gazettes over blogs.--network none): Never bluff. Fall back to Tier 1 local pins and label every unverified S2–S4 item UNVERIFIED (offline — confirm before production).model="..." string inside the snippet, the package major version in requirements.txt, and the action @vN in CI YAML.curl or search_web turns). Target ≤ 2 verification turns total; stop once primary sources agree. Reuse verified values within the same session. Skip verification completely on S0 None timeless facts.S3–S4 code, configs, or factual claims, include a terse inline or footer verification note with source + date (e.g., Verified <TODAY> via pypi.org & official vendor docs), or an explicit UNVERIFIED disclosure if offline.S3–S4 volatile facts from stale parametric memory. Satisfy both by batching all required freshness lookups into one parallel turn instead of skipping them.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub nagisanzenin/freshness-protocol --plugin freshness-protocol