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).

Zur Installation springen

Quellinformationen

Repository
jsb4702-glitch/verification-harness
Letzte Quellaktivität
19. Juli 2026 um 12:50
Erkannte Sprache von SKILL.md
Englisch
Sterne
6
Forks
3

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.