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.

Install it, pinned
mdr add ahundt/autorun/cache@git:20260816.82c264e

Pins 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

The exact contents, by fingerprint
mdr add ahundt/autorun/cache@sha256:0ca22be84ae15a7b

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

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_s25cogfy6at465ev.svg)](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.

versioncommittedcommitsizeaudit
git:20260816.82c264e latest2026-08-16 82c264e 7,342 BA view · diff
git:20260815.2807be52026-08-15 2807be5 7,361 BA view · diff
git:20260815.ea17d0c2026-08-15 ea17d0c 7,261 BA view · diff
git:20260727.64704242026-07-27 6470424 7,255 BA view · diff
git:20260709.8b29f1d2026-07-09 8b29f1d 7,248 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from ahundt/autorun

autorun-maintainer SKILL.md skill
ahundt/autorun · .agents/skills/autorun-maintainer/SKILL.md · Expertise in maintaining, debugging, and deploying the autorun hook system across Claude Code, Codex CLI, Gemini-family…
git:20260816.82c264e · audit A · 12 stars
AGENTS.md AGENTS.md file
ahundt/autorun · AGENTS.md
git:20261014.f772782 · audit A · 12 stars
CLAUDE.md CLAUDE.md file
ahundt/autorun · CLAUDE.md
git:20260727.9b75cd9 · audit B · 12 stars
ar SKILL.md skill
ahundt/autorun · plugins/autorun/.codex-plugin/skills/ar/SKILL.md · autorun control commands, stated as prose after $ar: status; allow/justify/find file-creation policy…
git:20260815.2807be5 · audit A · 12 stars
AGENTS.md@plugins/autorun AGENTS.md file
ahundt/autorun · plugins/autorun/AGENTS.md
git:20260818.85c8a47 · audit A · 12 stars
CLAUDE.md@plugins/autorun CLAUDE.md file
ahundt/autorun · plugins/autorun/CLAUDE.md
git:20260805.124c64e · audit B · 12 stars
ai-skill-builder SKILL.md skill
ahundt/autorun · plugins/autorun/skills/ai-skill-builder/SKILL.md · Guides creation, audit, and improvement of portable Agent Skills using the shared
v1.3.0 · audit A · 12 stars
cli-demo-recorder SKILL.md skill
ahundt/autorun · plugins/autorun/skills/cli-demo-recorder/SKILL.md · Create demo videos for CLI and TUI tools. Use when user asks to "record a demo",
v5.1.0 · audit A · 12 stars
commit SKILL.md skill
ahundt/autorun · plugins/autorun/skills/commit/SKILL.md · Use before writing any git commit message or reviewing one, and when the user asks for "commit requirements", "commit…
git:20260816.da968ed · audit A · 12 stars
function-signature-and-parameter-guidance SKILL.md skill
ahundt/autorun · plugins/autorun/skills/function-signature-and-parameter-guidance/SKILL.md · Design and review caller-facing names and contracts: functions, tools, commands, CLI flags, parameters, config keys…
git:20260816.05745f8 · audit A · 12 stars
marketplace-test SKILL.md skill
ahundt/autorun · plugins/autorun/skills/marketplace-test/SKILL.md · Use when the user asks to "test the marketplace plugins", "run marketplace tests", "check every installed plugin", or…
git:20260816.640f782 · audit A · 12 stars
mermaid-diagrams SKILL.md skill
ahundt/autorun · plugins/autorun/skills/mermaid-diagrams/SKILL.md · Render Mermaid diagrams to SVG using beautiful-mermaid and bun. Use when the user asks to "render mermaid", "generate…
git:20260816.82c264e · audit B · 12 stars

Every file in ahundt/autorun

Other files named cache

cache SKILL.md skill
jeremylongshore/tons-of-skills-marketplace · plugins/ai-agency/hyperflow/skills/cache/SKILL.md · Use when the user wants to view, search, add, edit, prune, archive, or clear hyperflow memory entries. CRUD interface…
v3.1.3 · audit A · 2,897 stars

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