cache SKILL.md skillA
cache from ahundt/autorun is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add ahundt/autorun/cache@git:20260816.82c264ePins git:20260816.82c264e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- ahundt/autorun
- Path
plugins/autorun/skills/cache/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260816.82c264e, committed Aug 16, 2026
- First version recorded
- Jul 9, 2026
- Size
- 7,342 bytes
- Repository stars
- 12
- License
- a license file GitHub does not identify
Use this skill when the user asks to "enable cache protection", "block on cache miss", "avoid cache expiration cost", "/ar:cache", "protect against compaction", "cache pressure guard", "cache hit ratio threshold", or "set cache-miss threshold". Covers the /ar:cache slash command family for blocking tool use when the Claude Code prompt cache is cold or context is near compaction.
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
# /ar:cache — Cache Miss / Compaction Protection Skill <purpose> A PreToolUse gate that blocks commands when the prompt cache is effectively cold — saving tokens by preventing full-rate re-reads of context that has just fallen out of the 5-minute prompt-cache TTL. **Off by default.** ## When to use this skill Invoke when the user asks about any of: - setting a cache-miss / cache-hit-ratio threshold - protecting against compaction-triggered context loss - `/ar:cache`, `/ar:cache on`, `/ar:cache ok 5m`, `/ar:cache set …` - "how do I stop Claude from burning tokens after idle time" - "what is the cache gate", "cache protection" Harness note: this is a skill, while `/ar:cache` is a runtime autorun command. Claude Code can usually pass the slash form to hooks. Codex may intercept unknown slash commands before hooks see them, so use `ar:cache` or `ar cache ...` in Codex prompts when you need the runtime command. ## 1. Philosophy - **Off by default.** No block fires unless the user runs `/ar:cache on`. - **Fail-open.** If usage data is unavailable (old Claude Code version, Gemini CLI without cache-token fields, malformed JSONL), the gate allows. …
Read the whole file at its exact version.
How to install
mdr add ahundt/autorun/cache@sha256:0ca22be84ae15a7bThe line at the top of this page pins the label git:20260816.82c264e, 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.
[](https://markdownregistry.com/a/art_s25cogfy6at465ev)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jul 9, 2026 and Aug 16, 2026, about one every 9 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260816.82c264e latest | 2026-08-16 | 82c264e | 7,342 B | A | view · diff |
| git:20260815.2807be5 | 2026-08-15 | 2807be5 | 7,361 B | A | view · diff |
| git:20260815.ea17d0c | 2026-08-15 | ea17d0c | 7,261 B | A | view · diff |
| git:20260727.6470424 | 2026-07-27 | 6470424 | 7,255 B | A | view · diff |
| git:20260709.8b29f1d | 2026-07-09 | 8b29f1d | 7,248 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7342 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 link to a raw IP address
- pass: No script tag
Source
ahundt/autorun · 12 stars · license a license file GitHub does not identify · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_s25cogfy6at465ev GET https://markdownregistry.com/api/v1/resolve?ref=ahundt/autorun/cache GET https://markdownregistry.com/api/v1/blob/0ca22be84ae15a7b72ee7711b52aa68c52a9a66df54589313a6e680ba6b1c6ce
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.