Cache Strategy Consistency Guard

Cache Strategy Consistency Guard is a skill for Claude Code from s977043/river-review. It costs 29 tokens per session (512 once invoked), scanned A, original, MIT.

A design-document reviewer that checks whether a caching plan explains its layers, keys, freshness rules, invalidation, and behavior when cached data is old or unavailable.

In plain words
What is it for?
It reviews cache designs for CDN, application, or database layers, time limits, refresh triggers, consistency with the source of truth, and failure handling.
Why use it?
A cache can improve response times but return stale information or fail unpredictably when its relationship to the source data is unclear.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the river-review plugin — 138 skills, 18 commands, 5 agents, 3 hooks shipped together

Good fit It reviews cache designs for CDN, application, or database layers, time limits, refresh triggers, consistency with the source of truth, and failure handling.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/s977043/river-review/cache-strategy-consistency
Install

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.

Any agent
npx skills add s977043/river-review --skill cache-strategy-consistency
Clone the repo
git clone --depth 1 https://github.com/s977043/river-review

Made for: Claude Code.

Or install river-review, the plugin that ships this one along with the rest of its 138 skills, 18 commands, 5 agents, 3 hooks.

Wrote 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.

agentmods badge for Cache Strategy Consistency Guard

README.md
[![agentmods](https://agentmods.dev/badge/skills/s977043/river-review/cache-strategy-consistency/github.svg)](https://agentmods.dev/skills/s977043/river-review/cache-strategy-consistency)
Your own site
<a href="https://agentmods.dev/skills/s977043/river-review/cache-strategy-consistency"><img src="https://agentmods.dev/badge/skills/s977043/river-review/cache-strategy-consistency/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.

agentmods 80×15 button for Cache Strategy Consistency Guard

Your own site · 80×15
<a href="https://agentmods.dev/skills/s977043/river-review/cache-strategy-consistency"><img src="https://agentmods.dev/badge/skills/s977043/river-review/cache-strategy-consistency.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 512 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.00512
Opus 5 $0.00015 $0.00256
Sonnet 5 $0.00006 $0.00102
Haiku 4.5 $0.00003 $0.00051

Measured 6d ago against content hash 78575d3a505c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

Cache Strategy Consistency Guard 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 6d 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.

skills/upstream/cache-strategy-consistency/SKILL.md · 61 lines

What it actually says

Pattern declaration

Primary pattern: Reviewer Secondary patterns: Inversion Why: キャッシュ戦略の整合性・無効化・障害対策をチェックリスト型で評価し、設計段階での不整合を防ぐ

Guidance

  • Confirm cache layers (CDN/app/DB) and cache keys are specified with owners.
  • Check consistency and invalidation strategy per layer, including TTL and refresh triggers.
  • Ask for failure/backup behaviour when cache is stale or unavailable.
  • Ensure the cache plan aligns with the source of truth and expected SLA.

Non-goals

  • キャッシュ実装の好み(ライブラリ選定など)を推測で押し付けない。

Pre-execution Gate / 実行前ゲート

このスキルは以下の条件がすべて満たされない限りNO_REVIEWを返す。

  • 差分に設計ドキュメント(設計書/spec/RFC)の変更がある
  • 差分にキャッシュ戦略・キャッシュレイヤー・TTL・無効化に関わる記述の追加または変更がある
  • inputContextにdiffが含まれている

ゲート不成立時の出力: NO_REVIEW: cache-strategy-consistency — キャッシュ戦略に関わる変更が検出されない

False-positive guards

  • 既に整合性・無効化・TTL が別ドキュメントで明示されている場合は重複指摘しない。
Files

What ships with it

8 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.

Changes

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.

  1. 6d ago First seen · 61 lines · 29 tokens per session scan A 78575d3a505c

Subscribe to this mod's changes

Cache Strategy Consistency Guard is a skill published in the GitHub repository s977043/river-review (3 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 512 once invoked, about $0.0001 per session on Opus 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.

Related

Other skills, from other repositories

punchcard

Architecture-level design review of a code change: module boundaries, dependency direction, data model, error paths, cost of the next change — never naming, formatting, or anything a linter catches. Use when the user invokes /punchcard, says 'punchcard review', or asks for any design, architecture, or structural…

Maksim-Burtsev/punchcard · 102 tokens

java-cache

Use when the user asks to add caching, configure Redis or Caffeine cache, use @Cacheable/@CacheEvict/@CachePut, optimize repeated database or API calls, or review existing Spring Boot cache configuration.

ducpm2303/claude-java-plugins · 46 tokens

performance-audit

Full-stack performance health check across 12 dimensions. Rendering, bundles, assets, API/network, algorithms, memory, database, caching, Web Vitals, backend runtime, concurrency, and framework-specific pathologies. Evidence-based Impact Models with confidence tiers and a prioritized optimization roadmap. Switches…

greglas75/zuvo · 90 tokens

ts-db-perf

Optimize TypeScript code that interacts with databases. Use this skill when the user wants to fix N+1 queries, add caching, improve transaction safety, prevent race conditions, simplify async flows, or generally speed up a TypeScript backend. Triggers on phrases like "optimize", "slow query", "N+1", "race condition"…

widnyana/eyay-toolkits · 107 tokens

event-driven

Event-driven architecture authority — Redis pub/sub, event bus patterns, async event pipelines, channel management, startup recovery, dead-letter handling, and reactive system design.

LuuOW/meridian-mcp · 34 tokens

application-patterns

Architecture pattern selection, folder structures, coding conventions, error handling, testing strategies, and platform-specific patterns for structuring application code.

navraj007in/architecture-cowork-plugin · 29 tokens