cache-strategy-picker SKILL.md skillB

cache-strategy-picker from rossoctl/context-guru is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add rossoctl/context-guru/cache-strategy-picker@git:20260930.6c15596

Pins git:20260930.6c15596 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
rossoctl/context-guru
Path
context-guru-plugin/skills/cache-strategy-picker/SKILL.md
Versions recorded
5
Latest version
git:20260930.6c15596, committed Sep 30, 2026
First version recorded
Sep 22, 2026
Size
8,152 bytes
Repository stars
70
License
Apache-2.0

Show which named cache strategy is in effect and switch between them - `none`, `5-min-ping` (the default, which spends the caller's own credential on idle pings) and `1-hour-head`. Use when the user asks which cache strategy is running, to change it, to turn idle keep-alive pings on or off, to stop spending money between turns, or to keep the cache warm.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Pick a cache strategy

Three mechanisms, three names. The point of the names is that switching back is one word:
"put it back on `5-min-ping`" has to be a sentence, not an archaeology exercise over four
tuning numbers.

**You do not write the config file, and you do not compose its contents.** `settings.py strategy`
is the only thing that knows what a name means. It writes atomically, refuses to touch a file it
did not write, and states the preset explicitly — because `--config` REPLACES `--preset` rather
than layering over it, so a config that forgot that line would silently turn compaction off at the
moment a strategy was armed.

## 1. Resolve the port and preset first — do not default them

**You cannot read `$CLAUDE_PLUGIN_OPTION_PORT` here.** Claude Code puts those variables into HOOK
environments only, never into a Bash tool call, so `${CLAUDE_PLUGIN_OPTION_PORT:-8787}` in a
command always expands to 8787 whatever the user configured. For this skill that is not a
cosmetic error: **the config file is named after the port**, so on a proxy configured for 4041 a
defaulted 8787 writes `keepalive-8787.yaml` — a file nothing ever reads — and then reports success.

```bash
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add rossoctl/context-guru/cache-strategy-picker@sha256:485b24726085ecfd

The line at the top of this page pins the label git:20260930.6c15596, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_eso4np632hwcc22u.svg)](https://markdownregistry.com/a/art_eso4np632hwcc22u)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Sep 22, 2026 and Sep 30, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20260930.6c15596 latest2026-09-30 6c15596 8,152 BB view · diff
git:20260925.902599a2026-09-25 902599a 8,154 BB view · diff
git:20260925.b32f35e2026-09-25 b32f35e 7,994 BB view · diff
git:20260924.4ae48472026-09-24 4ae4847 7,819 BB view · diff
git:20260922.2f56a212026-09-22 2f56a21 7,368 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No link to a raw IP address (matched: http://127.0.0.1)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8152 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No script tag

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

rossoctl/context-guru · 70 stars · license Apache-2.0 · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_eso4np632hwcc22u
GET https://markdownregistry.com/api/v1/resolve?ref=rossoctl/context-guru/cache-strategy-picker
GET https://markdownregistry.com/api/v1/blob/485b24726085ecfd01b72edd71b7a38e7383c56e87b82bb169a05103c319d2bd

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from rossoctl/context-guru

offload-review SKILL.md skill
rossoctl/context-guru · .claude/skills/offload-review/SKILL.md · Offload two independent reviews of a PR to agent tools on this machine, fix their findings, and re-review. Use for…
git:20261020.e09ce09 · audit A · 70 stars
AGENTS.md AGENTS.md file
rossoctl/context-guru · AGENTS.md
git:20261015.d64826f · audit A · 70 stars
CLAUDE.md CLAUDE.md file
rossoctl/context-guru · CLAUDE.md
git:20261020.45f7fe3 · audit A · 70 stars
context-guru-adapt SKILL.md skill
rossoctl/context-guru · codex-marketplace/plugins/context-guru/skills/adapt/SKILL.md · Moved to $context-guru-save-more (config and cache) and $context-guru-remove-mcp-and-skills (unused MCP servers and…
git:20261015.ed6bd6a · audit A · 70 stars
context-guru-cache-campaign SKILL.md skill
rossoctl/context-guru · codex-marketplace/plugins/context-guru/skills/cache-campaign/SKILL.md · Build a cache plan from your own history and compare it with today (manager login needed; an older proxy gets a…
git:20261015.5f159c9 · audit A · 70 stars
context-guru-cache-strategy-picker SKILL.md skill
rossoctl/context-guru · codex-marketplace/plugins/context-guru/skills/cache-strategy-picker/SKILL.md · Inspect or change the Codex prompt-cache keep-alive strategy.
git:20261005.ea10fe1 · audit A · 70 stars
context-guru-cache SKILL.md skill
rossoctl/context-guru · codex-marketplace/plugins/context-guru/skills/cache/SKILL.md · Moved to the insights skill (`cache`). Kept for one release so existing habits still work.
git:20261015.3051da9 · audit A · 70 stars
context-guru-chart SKILL.md skill
rossoctl/context-guru · codex-marketplace/plugins/context-guru/skills/chart/SKILL.md · Dollars saved per day as a bar chart, by lever, with the avoidable estimate drawn apart. Pass 14 or 30.
git:20261012.cd5df33 · audit A · 70 stars
context-guru-fill SKILL.md skill
rossoctl/context-guru · codex-marketplace/plugins/context-guru/skills/fill/SKILL.md · How full the context window is, what fills it, and when it will be full.
git:20261012.cd5df33 · audit A · 70 stars
context-guru-heatmap SKILL.md skill
rossoctl/context-guru · codex-marketplace/plugins/context-guru/skills/heatmap/SKILL.md · Weekday-by-hour heat map of what cache misses cost.
git:20261012.cd5df33 · audit A · 70 stars
context-guru-insights-capabilities SKILL.md skill
rossoctl/context-guru · codex-marketplace/plugins/context-guru/skills/insights-capabilities/SKILL.md · Moved to the insights skill (`tools`). Kept for one release so existing habits still work.
git:20261015.3051da9 · audit A · 70 stars
context-guru-insights-components SKILL.md skill
rossoctl/context-guru · codex-marketplace/plugins/context-guru/skills/insights-components/SKILL.md · Moved to the insights skill (`savings`). Kept for one release so existing habits still work.
git:20261015.3051da9 · audit A · 70 stars

Every file in rossoctl/context-guru

Browse by kind, by grade B, or by owner.