/open-skills:freshness-contractfrom open-skills
Categorical decision table for reusing cached evidence — determines whether prior artifacts, test results, or reports are still trustworthy based on volatility class, age, writes, and invalidators. Outputs reuse, spot-check, re-verify, or accept-labeled-risk. Trigger before reusing old evidence for decisions.
Ships in open-skills. 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.
None: SKILL.md is the whole skill.
EXPERIMENTAL. A lookup, not a judgment ritual: it should cost LESS than the vibes it replaces. Fires only when prior evidence is about to be reused for a decision — never on every read, never as per-phase bookkeeping. It decides whether old proof still counts; what fresh proof must show belongs to your verification tools.
The design is deliberately isomorphic to HTTP caching (RFC 9111): explicit invalidation beats heuristics, conflicting signals resolve restrictively, and nothing is served stale silently. No TTL numbers ship in v1 — every "how old is too old" constant would be invented; the table routes by class and events, which are observable.
| Class | Meaning | Examples |
|---|---|---|
| stable | exact version-pinned evidence, used for a question about that exact version — byte stability is not applicability: a superseded spec's old bytes still match while the governing version moved | a released spec consulted AS that release, a frozen/hash-pinned artifact, an archived record. Supersession or a dependency-version change is a named invalidator whenever the decision asks what is CURRENT |
| write-coupled | valid until someone writes to the source | a file you read this session, an index entry, a config, a map/roster document |
| env-coupled | valid until the environment shifts | a passing test that touches network/services/installed tools, a capability probe, a build result |
| clock-coupled | decays with time regardless of writes | anything embedding "current" state: prices, live statuses, date-dependent results |
| report | someone's account of state, not state itself | worker/subagent reports, peer summaries, self-reports of any kind |
Class is assigned per artifact kind at first encounter, not re-judged per use by whoever wants to skip a re-read.
as_of? (fingerprint, mtime, generation stamp, commit)| Situation | Policy |
|---|---|
| Any named invalidator fired, or intervening write on a write-coupled source | re-verify |
| Conflicting or ambiguous signals, whatever the class | re-verify (restrictive conflict rule) |
| stable + fingerprint still matches | reuse |
| write-coupled + no intervening write + low/medium leverage | reuse |
| write-coupled + no intervening write + high leverage | spot-check the discriminator |
| env-coupled or clock-coupled + low/medium leverage | spot-check the discriminator |
| env-coupled or clock-coupled + high leverage | re-verify |
| report, any age, load-bearing | re-verify (a report is never promoted to state by aging) |
| report, orientation only | reuse, labeled as report |
| unclassified artifact kind (DEFAULT ROW) | spot-check; classify the kind before next reuse |
accept-labeled-risk is agent-electable ONLY on the no-cheap-discriminator row — it is never a bypass for a re-verify result elsewhere in the table. On any other row, proceeding despite a re-verify verdict requires explicit Handler authority (that is a Handler override, not a table output). Where it applies, it is never silent: the staleness risk is named next to the conclusion it feeds.
After the first matching policy is selected, handle discriminator availability for every spot-check result, including the default row: if no cheap exclusive discriminator exists, re-verify or explicitly accept labeled risk only where already permitted. Mandatory re-verification for invalidators, conflicts, high-leverage volatile evidence and load-bearing reports remains mandatory; this fallback never loosens those rows.
freshness = { artifact, class, as_of, signals: {writes|invalidators|leverage},
decision: reuse|spot-check|re-verify|accept-labeled-risk,
discriminator_used?: <what was checked> }
No dedicated log stream, no cards, no sink — the record rides inside whatever report or decision consumed the evidence.
Self-improvement. On completion, run the Self-Improvement Protocol (
self-improve/SKILL.md): apply its signal taxonomy and threshold to this run; surface any surviving proposal for handler approval. Conservative — silent otherwise. Never auto-apply.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
evidence-reuse, caching, decision-table, freshness, verification
npx claudepluginhub allemaar/open-skills --plugin open-skills93 skills in this plugin
/agent-mailboxTwo or more agents — any harness, any vendor — collaborate through any shared folder: share a folder, load the skill, point at it.
/agent-outputCompact agent-to-agent communication contract for worker reports, handoffs, status, blockers, and review findings. Trigger phrases: "/agent-output", "brief the worker", "make agent reports terse". Not a transport; use /agent-mailbox for delivery.
/ask-gateThe Ask-Gate Protocol (AGP). Before surfacing an AskUserQuestion, triage whether the question is genuinely the handler's call (anti-nag); ask routine questions directly after a quality checklist, but escalate high-stakes / branching / irreversible ones through /insight-critique then /insight-assess first. Trigger via /ask-gate, or automatically before any handler-facing question. Not /caller-options (routes a skill's venue/mode) or /next-skills (recommends successors) — AGP governs the question itself.
Other plugins' skills for the same job