Contrôle du cache de prompt avec compteur
Affiche un compteur du cache de prompt : tokens lus et écrits, compte à rebours d'expiration, et actions recommandées pour l'optimiser.
Comment l'utiliser
Dans Claude Code, lance ces commandes :
/plugin marketplace add Nasrallah-Adel/claude-prompt-cache-control /plugin install prompt-cache-control@nasrallah-cache-mods
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.
Prompt-cache meter above the Claude Code prompt: how many tokens each request read from, wrote to and sent past the cache, a live countdown to the cache's expiry, and what to do about it (keep going, compact or clear). The TTL follows Claude Code's own rules for your account (1 hour on a Claude subscription, 5 minutes on an API key, cloud provider or usage credits, plus the TTL variables and setting) and corrects itself from request timing. /cache opens a per-turn table. A Clear button writes a handoff brief from the transcript with a cheap model, runs /clear, and sends the brief to the fresh conversation.
Description d'origine, en anglais
Prompt-cache meter above the Claude Code prompt: how many tokens each request read from, wrote to and sent past the cache, a live countdown to the cache's expiry, and what to do about it (keep going, compact or clear). The TTL follows Claude Code's own rules for your account (1 hour on a Claude subscription, 5 minutes on an API key, cloud provider or usage credits, plus the TTL variables and setting) and corrects itself from request timing. /cache opens a per-turn table. A Clear button writes a handoff brief from the transcript with a cheap model, runs /clear, and sends the brief to the fresh conversation.
D'où vient cette fiche
Création de claude-code-templates, publiée sur Nasrallah-Adel/claude-prompt-cache-control sous licence aucune licence publiée.
Le titre, le résumé et le classement en français sont rédigés par SuperPrompt.
