Mooncake is a serving platform for Kimi, an LLM service from Moonshot AI, built around sharing and transferring the KV cache used during language-model inference. It supports disaggregated serving and data movement between inference, training, and rollout systems. The catalogue add-ons operate or integrate with Mooncake-based serving and transfer workflows.
Borrowing it
Nothing to install: this file belongs to kvcache-ai/Mooncake. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/kvcache-ai/Mooncake/main/.claude/skills/mooncake-ci-local/SKILL.mdgit clone --depth 1 https://github.com/kvcache-ai/MooncakeWrote 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.
[](https://agentmods.dev/skills/kvcache-ai/mooncake/mooncake-ci-local)<a href="https://agentmods.dev/skills/kvcache-ai/mooncake/mooncake-ci-local"><img src="https://agentmods.dev/badge/skills/kvcache-ai/mooncake/mooncake-ci-local/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.
<a href="https://agentmods.dev/skills/kvcache-ai/mooncake/mooncake-ci-local"><img src="https://agentmods.dev/badge/skills/kvcache-ai/mooncake/mooncake-ci-local.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00102 | $0.01977 |
| Opus 5.5 | $0.00041 | $0.00791 |
| Sonnet 5.5 | $0.00020 | $0.00395 |
| Haiku 4.5 | $0.00010 | $0.00198 |
Grade A, and why
mooncake-ci-local 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mooncake pre-PR local validation
Run from the repository root. That directory contains scripts/code_format.sh and .github/workflows/ci.yml.
Do not run scripts/run_ci_test.sh. That file is not in this repository.
Do not use build directories named build-ci-local or build-wheel-local. Those names are not in this repository.
Read CMake flags from the job you are reproducing. Do not reconstruct them from memory.
Use base ref origin/main unless the user names another ref. In the commands below, replace origin/main with that ref.
Default checks
Run these checks on every pre-PR request. They are the unconditional ci-gate jobs that do not need a native build. engram-cpu-contracts also needs no native build, and ci-gate does not require it.
- Fetch the base and list changed files.
git fetch origin main
git diff --name-only --diff-filter=ACMR origin/main...HEAD
- Run pre-commit on the changed files, as
CONTRIBUTING.mdrequires. If the diff is empty, skip pre-commit and say the branch matches the base.
pre-commit run --files $(git diff --name-only --diff-filter=ACMR origin/main...HEAD)
If pre-commit is missing, mark this check blocked. The install steps are in CONTRIBUTING.md. Do not install packages unless the user asked.
Pre-commit may rewrite files. For a validation-only run, report those files and leave them unstaged. Stage them only when the user asked to fix the branch.
The C/C++ pre-commit hook runs scripts/code_format.sh --staged. The clang-format job does not. Run the job command as well.
./scripts/code_format.sh --check --changed-lines --base origin/main
The job needs clang-format 20. If that binary is missing, mark clang-format blocked and give the install command from CONTRIBUTING.md.
- If the diff includes Python files outside
extern/andFAST25-release/, run thepython-lintcommands. The workflow installsruff==0.6.9.
ruff check <changed-python-files>
python scripts/ci/check_changed_python_format.py origin/main <changed-python-files>
What ships with it
2 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.
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.
- 4d ago Changed · +1 lines · -6 tokens per session 41f10d1336c4
- 3mo ago First seen · 160 lines · 108 tokens per session scan A 31e47725438c
mooncake-ci-local is a skill published in the GitHub repository kvcache-ai/Mooncake (7,164 stars, last pushed yesterday), licensed Apache-2.0. It adds 102 tokens to every session and 1,977 once invoked, about $0.0004 per session on Opus 5.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-08-30.
mooncake-ci-local compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mooncake-ci-localkvcache-ai/Mooncake | Skill | 7.2k | yesterday | Apache-2.0 | A | 102 | Claude Code |
| llm-kv-cache-paged-attentionj4flmao/agent-skills | Skill | 46 | 14d ago | MIT | A | 97 | Claude Code, Codex |
| autonomous-loopsaffaan-m/ECC | Skill | 314k | yesterday | MIT | A | 26 | Claude Code, Kiro |
| deployment-patternsaffaan-m/ECC | Skill | 314k | yesterday | MIT | A | 41 | Claude Code, Kiro |
| mcp-dependency-reviewaffaan-m/ECC | Skill | 314k | yesterday | MIT | A | 52 | Claude Code, Codex |
| sglang-diffusion-performancesgl-project/sglang | Skill | 39k | today | Apache-2.0 | A | 29 | Claude Code, Codex |
| sglang-diffusion-cache-ditsgl-project/sglang | Skill | 39k | today | Apache-2.0 | A | 161 | Claude Code |