Skip to main content
Ejecuta cualquier Skill en Manus
con un clic

dev-guide-cache-hit-rate

Estrellas580
Forks56
Actualizado19 de julio de 2026 a las 06:11

Nested lingtai-dev-guide reference for computing the recent prompt-cache hit rate from LingTai token ledgers over rolling windows (default 1h / 5h / 1d / 3d). Explains the provider-agnostic input/cached fields in logs/token_ledger.jsonl, the exact formula (sum(cached)/sum(input) per window), timestamp/timezone handling, the daemon double-count hazard, and ships a read-only stdlib script (scripts/cache_hit_rate.py) that aggregates an agent workdir, a project root, or a single ledger file. Use when asked how effective prompt caching has been recently, or to diagnose a cache-hit-rate drop after a refresh/affinity/cache-key change.

Instalación

Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.

Explorador de archivos
2 archivos
SKILL.md
readonly