Bibliothèque › Mods

Mod d'interface

Garde-fou contre les lectures complètes de gros fichiers

Retient une lecture complète d'un fichier trop volumineux, d'un verrou, d'un code minifié ou d'une source map, en proposant une lecture partielle ou une recherche.

Comment l'utiliser

Dans Claude Code, lance ces commandes :

/plugin marketplace add LupusMalusDeviant/mod-box
/plugin install read-guard@mod-box

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.

Holds a whole-file Read (no offset/limit) of a file above the limit, a lockfile, minified code or a source map, and the same via cat, type or Get-Content in the shell; tells Claude the size, a token estimate and a better way (Grep, offset/limit). A second try at the same file goes through, and so does a Read with allow_large. Claude Code itself stops only at about 25,000 tokens.

Voir sur le dépôt d'origine

Description d'origine, en anglais

Holds a whole-file Read (no offset/limit) of a file above the limit, a lockfile, minified code or a source map, and the same via cat, type or Get-Content in the shell; tells Claude the size, a token estimate and a better way (Grep, offset/limit). A second try at the same file goes through, and so does a Read with allow_large. Claude Code itself stops only at about 25,000 tokens.

D'où vient cette fiche

Création de Lupus Malus Deviant, publiée sur LupusMalusDeviant/mod-box sous licence MIT.

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