Skip to main content

prompt-compress

Numeric-aware prompt compression for long ENGLISH prose you're about to feed another LLM — meeting transcripts, paper intros/discussion, web-article bodies, logs. Uses LLMLingua-2 (local, CPU, no API) but FIRST triages numeric-sentence density: if the document is number-heavy (FEA results, datasheets, spec tables, PN lists), it REFUSES to compress, because protecting the numbers caps the ratio near 1.3x and blind compression silently corrupts figures ("13,700 MPa"->"13,000"). Number-bearing sentences are protected verbatim (≈100% numeric recall); only the prose between them is compressed. Use when you have a large low-numeric-density English text blob to shrink before sending to a model. Triggers: "이 컨텍스트 압축", "프롬프트 토큰 줄여줘", "긴 문서 압축해서 넣어줘", "llmlingua", "compress this context". NOT for: spec/datasheet/results tables (it'll refuse), Korean text (compressor is English/MeetingBank-trained — quality unverified), or static repeated context (prompt caching is the lossless, cheaper answer there).

Aller à l'installation

Informations de source

Dépôt
jsb4702-glitch/verification-harness
Dernière activité de la source
19 juillet 2026 à 12:50
Langue détectée de SKILL.md
anglais
Étoiles
6
Forks
3

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.