Bibliothèque › Mods

Mod d'interface

Maintien au chaud du cache de prompt

Garde chaud le cache de prompt d'une heure de la conversation principale, lance une lecture de cache après cinquante minutes d'inactivité et en chiffre le coût.

Comment l'utiliser

Dans Claude Code, lance ces commandes :

/plugin marketplace add SenorKulka/claude-mods
/plugin install cache-hugger@bushi-local

Ouvrir le dépôt d'origine

Présentation

La licence de cette création (aucune licence publiée) ne nous permet pas de la reproduire. Elle est disponible gratuitement chez son auteur.

Keeps the main conversation's one-hour prompt cache warm and prices it when it goes cold. A cache-reading fork 50 idle minutes after the last request, while background work is in flight (for at most 12 hours after the last turn) or a /hug-cache window is open (6h by default, always, or 3h after a paid cold write). A message sent on a cold cache is refused once with its re-write price and the 5-hour limit used. /hug-cache status shows the cache state, context, cold price and this session's cold writes. Nothing goes to the transcript: a row above the prompt counts down, each ping shows in a toast. At session start it also keeps a rule in CLAUDE.md that tells sub-agents to wait in slices of at most 4 minutes. Absorbs cache-tax 2.2.1 (MIT, Karan Bansal); uninstall cache-tax.

Voir sur le dépôt d'origine

Description d'origine, en anglais

Keeps the main conversation's one-hour prompt cache warm and prices it when it goes cold. A cache-reading fork 50 idle minutes after the last request, while background work is in flight (for at most 12 hours after the last turn) or a /hug-cache window is open (6h by default, always, or 3h after a paid cold write). A message sent on a cold cache is refused once with its re-write price and the 5-hour limit used. /hug-cache status shows the cache state, context, cold price and this session's cold writes. Nothing goes to the transcript: a row above the prompt counts down, each ping shows in a toast. At session start it also keeps a rule in CLAUDE.md that tells sub-agents to wait in slices of at most 4 minutes. Absorbs cache-tax 2.2.1 (MIT, Karan Bansal); uninstall cache-tax.

D'où vient cette fiche

Création de Bushi, publiée sur SenorKulka/claude-mods sous licence aucune licence publiée.

Le titre, le résumé et le classement en français sont rédigés par SuperPrompt.