cache-keeper SKILL.md skillA

cache-keeper from rookichenn/kimi-cache-keeper is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add rookichenn/kimi-cache-keeper/cache-keeper@git:20261026.bd923ae

Pins git:20261026.bd923ae in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
rookichenn/kimi-cache-keeper
Path
SKILL.md
Versions recorded
5
Latest version
git:20261026.bd923ae, committed Oct 26, 2026
First version recorded
Aug 18, 2026
Size
11,267 bytes
Repository stars
17
License
MIT

通过定时发送轻量保活消息,维持当前会话的服务端 prompt 缓存,降低输入 token 成本;smart 模式为活动锚定的重置链式——回合开始删任务、回合结束重建,对话期间零触发.

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

# Cache Keeper — 会话缓存保活管理

你在**当前会话**中直接操作 cron 工具完成任务。**禁止派子代理**——缓存绑定主会话前缀,子代理是独立上下文,派子代理执行本 skill(包括建任务这类"杂活")完全无效或得不偿失,一律内联执行。

用户意图由参数给出:`action` = `$action`(on / off / status / refresh,省略时视为 status),`interval` = `$interval`(分钟,仅 on 时使用,默认 20),`mode` = `$mode`(仅 on 时使用;值为 `smart` 时启用重置链式模式,省略则为定点循环模式)。

参数位置容错(按用户习惯兼容):若 `$action` 为 `smart`(如 `/cache-keeper smart`),视为 `on smart`,间隔取 `$interval`(缺省 20);若 `$action` 为 `on` 且 `$interval` 为 `smart`(如 `/cache-keeper on smart`),视为 `on smart`、间隔默认 20。

**自动退休(retire)默认开启**:定点循环模式默认带 4 小时退休阈值。从完整参数 `$ARGUMENTS` 中解析:`retire <时长>`(如 `retire 4h`、`retire 480m`)覆盖默认时长;`retire off` 或 `no-retire` 显式关闭;smart 模式不支持 retire(一次性任务信封不含累计计数)。详见下文退休条款。

## 两种模式

- **定点循环(默认)**:一个 `*/N * * * *` 循环任务,锚定墙钟整点刻。健壮(调度器兜底,单次失败不影响后续),但任务结束时会有一次多余补发。循环任务 7 天后自动过期,需 refresh。
- **重置链式(smart)**:一次性任务 + 三段机制——
  1. **回合开始删任务**:每一轮对话开始处理用户消息之前,先删除当前等待中的保活任务——本轮对话期间不存在任何到点触发,从根源消除"输出完立刻补投保活";
  2. **回合结束建下一跳**:回复发送前,重建"当前时间 + N 分钟"的新一跳(见下文"持续义务");
  3. **触发续链**:若连续 N 分钟无任何对话,任务触发,由你重建下一跳。

  效果:保活只在**连续 N 分钟无对话活动**后触发,时机锚定最后一次活动;对话期间零触发、零补投。无 7 天过期。风险:回合被中断(Escape、崩溃)时可能"已删未建",链条静默中断——这是"开始删"的代价,建议偶尔 status 抽查;上下文压缩后若遗忘维护义务,未删任务仍在,自动退化为纯链式行为(仍会续跳,不会更坏)。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add rookichenn/kimi-cache-keeper/cache-keeper@sha256:767085caecde530f

The line at the top of this page pins the label git:20261026.bd923ae, 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_knxqis6o26cawmff.svg)](https://markdownregistry.com/a/art_knxqis6o26cawmff)

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

Versions

The registry has recorded 5 versions of this file, between Aug 18, 2026 and Oct 26, 2026, about one every 17 days.

versioncommittedcommitsizeaudit
git:20261026.bd923ae latest2026-10-26 bd923ae 11,267 BA view · diff
git:20260915.c6cdf1d2026-09-15 c6cdf1d 11,267 BA view · diff
git:20260820.c57fc8b2026-08-20 c57fc8b 7,660 BA view · diff
git:20260819.fcfb0d42026-08-19 fcfb0d4 5,231 BA view · diff
git:20260818.665dd312026-08-18 665dd31 3,062 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 (11267 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

rookichenn/kimi-cache-keeper · 17 stars · license MIT · pushed 2026-10-26 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_knxqis6o26cawmff
GET https://markdownregistry.com/api/v1/resolve?ref=rookichenn/kimi-cache-keeper/cache-keeper
GET https://markdownregistry.com/api/v1/blob/767085caecde530f2a95478c04dcf1896126b4812b1753c5caa7f2bc38f05294

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.

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