Garde-fou de sujet avant envoi d'un prompt
Juge avec un petit modèle si chaque prompt relève du sujet de la session et retient ceux qui en changent, pour les envoyer dans une nouvelle session.
Comment l'utiliser
Dans Claude Code, lance ces commandes :
/plugin marketplace add dougcunha/claude-mods /plugin install topic-guard@claude-mods
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.
Before a prompt enters the session, a small model judges whether it belongs to the session's topic. When it starts a separate topic, the mod holds it in the prompt box: press Enter to keep it here, or New session to clear the session and send it there.
Description d'origine, en anglais
Before a prompt enters the session, a small model judges whether it belongs to the session's topic. When it starts a separate topic, the mod holds it in the prompt box: press Enter to keep it here, or New session to clear the session and send it there.
D'où vient cette fiche
Création de Douglas Cunha, publiée sur dougcunha/claude-mods sous licence MIT.
Le titre, le résumé et le classement en français sont rédigés par SuperPrompt.
