Borrowing it
Nothing to install: this file belongs to lewing/helix.mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/lewing/helix.mcp/main/.copilot/skills/freshness-marker-caching/SKILL.mdgit clone --depth 1 https://github.com/lewing/helix.mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/lewing/helix.mcp/freshness-marker-caching)<a href="https://agentmods.dev/skills/lewing/helix.mcp/freshness-marker-caching"><img src="https://agentmods.dev/badge/skills/lewing/helix.mcp/freshness-marker-caching/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/lewing/helix.mcp/freshness-marker-caching"><img src="https://agentmods.dev/badge/skills/lewing/helix.mcp/freshness-marker-caching.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00778 |
| Opus 5 | $0.00000 | $0.00389 |
| Sonnet 5 | $0.00000 | $0.00156 |
| Haiku 4.5 | $0.00000 | $0.00078 |
Grade A, and why
freshness-marker-caching scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: Freshness Marker Pattern for Delta Caching
Confidence: low Source: earned
Problem
You have a cache that auto-deletes expired entries (no stale reads), but you need to implement "stale-while-revalidate" or delta-append semantics for append-only data sources. When the TTL expires, you want to keep the old content and fetch only the new data — not re-download everything.
Pattern
Use two cache keys per entry:
- Content key — stores the actual data with a long TTL (e.g., 4h). Survives multiple refresh cycles.
- Freshness key — a lightweight sentinel (value
"1") with a short TTL (e.g., 15s). Controls re-fetch cadence.
Flow
on read(key):
content = cache.get(contentKey)
if content is null:
// Cache miss — full fetch
content = fetchAll()
cache.set(contentKey, content, longTTL)
cache.set(freshKey, "1", shortTTL)
return content
isFresh = cache.get(freshKey) is not null
if isFresh:
return content // fast path — no API call
// Stale — delta fetch
delta = fetchSince(lineCount(content)) // or offset, cursor, etc.
if delta is not empty:
content = content + delta
cache.set(contentKey, content, longTTL)
cache.set(freshKey, "1", shortTTL) // reset freshness
return content
Key Properties
- No cache interface changes required. Uses existing get/set primitives.
- Content is never lost on refresh. Long TTL ensures the data outlives many freshness cycles.
- Append-only correctness. Only valid when the data source is append-only (new data doesn't invalidate old).
- Natural termination. When data stops changing (e.g., build completes), stop setting the freshness key. Content settles to normal long-TTL behavior.
When to Use
- Append-only logs, event streams, or time-series data
- Cache stores that delete expired entries (no
getEvenIfExpiredmethod) - Polling scenarios where re-downloading the full content is wasteful
- Any data source where
fetchSince(offset)is supported
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 82 lines · 0 tokens per session scan A d2e5e2be11bb
freshness-marker-caching is a skill published in the GitHub repository lewing/helix.mcp (4 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 778 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
x-osv
CLI for Google OSV database. Query vulnerabilities for packages, scan local projects for vulnerable dependencies. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill). Required Tool: Install osv-scanner for project scanning (see https://github.com/google/osv-scanner).
obsidian-bases
Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.
diagrams
Mermaid diagrams following the C4 model: context, container, component, sequence, ER and deployment. Use when saying "diagram", "visualize", or "architecture diagram".
write-oql-queries
Write OQL for Mendix VIEW entities — joins, aggregates, calculated fields, and the syntax the runtime actually accepts. Use when creating a VIEW entity or building a report or analytics query.
connect-rapidminer-graph
Fetch data from a RapidMiner graph mart or any SPARQL 1.1 HTTP endpoint (AnzoGraph and friends) and surface it as Mendix entities. Use when a graph database with a SPARQL endpoint has to feed a Mendix app read-only.
mendix-odata-pushdown
Push OData query options into the SQL of a Mendix resource served by a read microflow, so $filter, $orderby, $top, $skip, $count and the key lookup reach the database instead of being silently dropped. Use when publishing an OData resource over data Mendix has no table for — a warehouse view, a legacy database, a…