Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add pproenca/dot-skills --skill opensearch-personalize-caching-strategiesgit clone --depth 1 https://github.com/pproenca/dot-skillsWrote 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/pproenca/dot-skills/opensearch-personalize-caching-strategies)<a href="https://agentmods.dev/skills/pproenca/dot-skills/opensearch-personalize-caching-strategies"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/opensearch-personalize-caching-strategies/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/pproenca/dot-skills/opensearch-personalize-caching-strategies"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/opensearch-personalize-caching-strategies.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00241 | $0.04657 |
| Opus 5.5 | $0.00096 | $0.01863 |
| Sonnet 5.5 | $0.00048 | $0.00931 |
| Haiku 4.5 | $0.00024 | $0.00466 |
Grade A, and why
opensearch-personalize-caching-strategies 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 2mo 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 — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Marketplace-Research OpenSearch + Personalize Caching Best Practices
A reference distillation of caching strategies for two-sided marketplaces running AWS OpenSearch (search) and AWS Personalize (recommendations behind a microservice). Contains 52 rules across 9 categories, ordered by cascade effect — from the upstream decision of whether to cache, through key design, personalisation boundary, strategy selection, TTL design, stampede protection, observability, and the lower-cascade categories of negative caching and tier composition. Each rule explains the WHY (the cost, latency, or correctness mechanism), shows incorrect-vs-correct code (TypeScript/Node for the microservice layer, Python for batch and analytics, OpenSearch JSON for OS-specific queries, YAML for CDN/Kubernetes), and cites the canonical source — AWS Personalize/OpenSearch/ElastiCache documentation, the XFetch paper (Vattani et al. VLDB 2015), RFC 5861 (stale-while-revalidate), and the engineering blogs of cache infrastructure teams (Netflix EVCache, Pinterest Cachelib, Twitter Twemcache, Cloudflare).
This is the complement to opensearch-function-scoring-algorithms — that skill answers "what should the ranking compute?", this skill answers "how do you scale it to production traffic without burning down OpenSearch or Personalize?"
When to Apply
Reach for this skill when:
- Adding caching to a search or recommendation surface for the first time — start with decide-cache-roi-calculation and decide-hot-key-distribution
- A homepage or category page renders 5+ recommenders and Personalize bills are growing faster than traffic — decide-amplification-multiplier, pers-recommender-fan-out-coalescing, pers-cohort-precomputation
- Cache hit rate is suspiciously low (under 30-40%) and you don't know why — key-canonicalize-query, key-strip-volatile-params, key-bucket-numerical-ranges, obs-key-cardinality-tracking
- Personalize is throttling (HTTP 429) during traffic spikes — decide-personalize-quota-budget, neg-cache-throttled-personalize, stamp-circuit-breaker-on-origin-error
- p99 spikes at TTL boundaries — stamp-coalesce-concurrent-misses, stamp-probabilistic-early-expiration, stamp-serve-stale-on-rebuild, ttl-soft-and-hard, ttl-jitter-to-prevent-thundering
- Recommendations stay stale after a model retrain — key-version-the-model, ttl-personalize-solution-version, strat-async-warm-up
- A read-after-write surface shows stale data (user favourites, saved searches) — strat-write-through-mutations, ttl-event-driven-invalidation
- Cache decisions need to be defensible to finance — decide-cache-roi-calculation, obs-cost-attribution, obs-cache-simulation-from-logs
- Anonymous and logged-in traffic mix on the same routes — pers-anonymous-vs-logged-split, tier-cdn-for-anonymous
- Cache is at memory pressure and you need to know whether to upsize, shorten TTL, or change strategy — decide-hot-key-distribution, tier-l2-elasticache-redis, obs-cache-simulation-from-logs
- OpenSearch CPU is high on common queries — tier-opensearch-request-cache, tier-opensearch-filter-context, neg-cache-empty-results
- A traffic spike from a viral link or crawler is hammering the origin — neg-bloom-filter-against-misses, neg-cache-empty-results, stamp-circuit-breaker-on-origin-error
What ships with it
56 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- AGENTS.md 24 KB
- assets/templates/_template.md 2.0 KB
- metadata.json 8.1 KB
- references/_sections.md 6.3 KB
- references/decide-amplification-multiplier.md 3.8 KB
- references/decide-cache-roi-calculation.md 3.7 KB
- references/decide-cardinality-floor.md 3.5 KB
- references/decide-hot-key-distribution.md 3.5 KB
- references/decide-latency-budget.md 3.5 KB
- references/decide-personalize-quota-budget.md 3.4 KB
- references/decide-search-vs-personalize-asymmetry.md 4.5 KB
- references/key-bucket-numerical-ranges.md 4.1 KB
- references/key-canonicalize-query.md 3.6 KB
- references/key-locale-currency-explicit.md 3.4 KB
- references/key-segment-not-user.md 4.1 KB
- references/key-stable-hash-algorithm.md 3.4 KB
- references/key-strip-volatile-params.md 3.6 KB
- references/key-version-the-model.md 4.1 KB
- references/neg-bloom-filter-against-misses.md 4.2 KB
- references/neg-cache-empty-results.md 4.1 KB
- references/neg-cache-throttled-personalize.md 4.6 KB
- references/neg-poison-pill-detection.md 5.3 KB
- references/obs-cache-simulation-from-logs.md 5.6 KB
- references/obs-cost-attribution.md 4.9 KB
- references/obs-hit-rate-by-key-class.md 4.0 KB
- references/obs-key-cardinality-tracking.md 4.1 KB
- references/obs-latency-histograms-with-without.md 4.1 KB
- references/obs-stale-served-ratio.md 4.4 KB
- references/pers-anonymous-vs-logged-split.md 4.4 KB
- references/pers-cohort-precomputation.md 4.2 KB
- references/pers-cold-start-cache-priority.md 4.3 KB
- references/pers-recommender-fan-out-coalescing.md 5.2 KB
- references/pers-session-vector-write-through.md 4.8 KB
- references/pers-shared-candidates-private-ranking.md 4.9 KB
- references/stamp-circuit-breaker-on-origin-error.md 4.6 KB
- references/stamp-coalesce-concurrent-misses.md 4.7 KB
- references/stamp-distributed-lock-rebuild.md 5.2 KB
- references/stamp-probabilistic-early-expiration.md 4.8 KB
- references/stamp-serve-stale-on-rebuild.md 4.8 KB
- references/strat-async-warm-up.md 4.6 KB
- references/strat-cache-aside-default.md 4.4 KB
- references/strat-precompute-batch.md 4.5 KB
- references/strat-refresh-ahead-hot-keys.md 4.0 KB
- references/strat-tiered-promotion.md 4.2 KB
- references/strat-write-through-mutations.md 4.3 KB
- references/tier-cdn-for-anonymous.md 4.8 KB
- references/tier-l1-in-process.md 4.3 KB
- references/tier-l2-elasticache-redis.md 4.1 KB
- references/tier-opensearch-filter-context.md 4.8 KB
- references/tier-opensearch-request-cache.md 4.6 KB
- references/ttl-bound-by-staleness-tolerance.md 4.5 KB
- references/ttl-by-content-volatility.md 4.2 KB
- references/ttl-event-driven-invalidation.md 4.8 KB
- references/ttl-jitter-to-prevent-thundering.md 3.6 KB
- references/ttl-personalize-solution-version.md 4.3 KB
- references/ttl-soft-and-hard.md 4.1 KB
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.
- 2mo ago First seen · 167 lines · 241 tokens per session scan A dfe567cb63d1
opensearch-personalize-caching-strategies is a skill published in the GitHub repository pproenca/dot-skills (231 stars, last pushed 3mo ago), licensed MIT. It adds 241 tokens to every session and 4,657 once invoked, about $0.0010 per session on Opus 5.5. 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-09-03.
opensearch-personalize-caching-strategies compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| opensearch-personalize-caching-strategiespproenca/dot-skills | Skill | 231 | 3mo ago | MIT | A | 241 | Claude Code, Codex |
| alchemy-providerpingdotgg/t3code | Skill | 85k | today | MIT | A | 153 | Claude Code, Codex |
| stripe-projectsNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 15 | Claude Code, Codex |
| django-storages-s3Jeffallan/claude-skills | Skill | 13k | today | MIT | A | 138 | Claude Code |
| websocket-engineerJeffallan/claude-skills | Skill | 13k | today | MIT | A | 36 | Claude Code |
| azure-eventhub-dotnetmicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 94 | Claude Code |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 78 | Claude Code |