Bibliothèque › Mods

Mod d'interface

Suivi de la fenêtre de contexte par session

Écrit les chiffres de contexte de chaque session dans un fichier et signale par une notification quand la zone de contexte se dégrade.

Comment l'utiliser

Dans Claude Code, lance ces commandes :

/plugin marketplace add melodic-software/claude-code-plugins
/plugin install context-usage@melodic-software

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.

Per-session context-window observability. A mod writes each session's context-window figures to a snapshot file and shows the person a toast and a transcript line when the context zone (light, moderate or heavy, from bands in zones.json) worsens; with model_notices on (off by default) it also tells Claude the zone at each crossing, approach and compaction. /context-usage prints status and toggles an optional band row. It answers a status tool. A PostCompact hook leaves a marker.

Voir sur le dépôt d'origine

Description d'origine, en anglais

Per-session context-window observability. A mod writes each session's context-window figures to a snapshot file and shows the person a toast and a transcript line when the context zone (light, moderate or heavy, from bands in zones.json) worsens; with model_notices on (off by default) it also tells Claude the zone at each crossing, approach and compaction. /context-usage prints status and toggles an optional band row. It answers a status tool. A PostCompact hook leaves a marker.

D'où vient cette fiche

Création de Melodic Software, publiée sur melodic-software/claude-code-plugins sous licence MIT.

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