Bibliothèque › Mods

Mod d'interface

Alerte avant un changement de modèle coûteux

Prévient avant chaque changement de modèle ou d'effort qui réécrit le cache du prompt, avec les jetons et le coût estimé en dollars.

Comment l'utiliser

Dans Claude Code, lance ces commandes :

/plugin marketplace add weskao/weskao-agent-plugins
/plugin install cache-sentinel@weskao-agent-plugins

Ouvrir le dépôt d'origine

Présentation

Le code de cette création vit sur le dépôt de son auteur, sous licence MIT. Installe-la avec la marche à suivre ci-dessus ou depuis le dépôt.

Warns above the prompt and in a toast before a /model, /effort or /fast switch or an idle gap re-writes the prompt cache, with tokens and est. USD; stops the first /model on a warm cache above MODEL_SWITCH_GUARD_TOKENS (a second within a minute goes through) and refuses a subagent Bash timeout over 4 min.

Voir sur le dépôt d'origine

Description d'origine, en anglais

Warns above the prompt and in a toast before a /model, /effort or /fast switch or an idle gap re-writes the prompt cache, with tokens and est. USD; stops the first /model on a warm cache above MODEL_SWITCH_GUARD_TOKENS (a second within a minute goes through) and refuses a subagent Bash timeout over 4 min.

D'où vient cette fiche

Création de weskao, publiée sur weskao/weskao-agent-plugins sous licence MIT.

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