prompt-compressor
当用户说『提示词太长/token烧太快』『上下文塞不下了』『把这段压缩一下还别丢重点』『长文档怎么塞进窗口』,或要压低 agent 每轮上下文成本时使用。基于「信息密度」裁剪:保留关键词密集/位置靠前的句子,删冗余/客套/复述,给出可运行脚本(提示压缩器,按密度+位置打分删句)。与 context-engineering 互补:context 管『放什么』,compressor 管『怎么压短』。理论根基:LGD 三律之收敛(删除冗余,单一有效信息)。触发词:提示压缩、prompt压缩、上下文压缩、压缩token、长文本精简、context压缩、省token、摘要进窗口、prompt short
as observed 2026-09-29T04:47:03.526Z- Identifier
prompt-compressor- Source
- ClawHub
- Version observed
- 1.0.3
- Source repository
- not published
- Repository observation
- No source repository listed
- First observed here
- 2026-09-12T14:17:54.398Z
- Observations recorded
- 3
- Installs (reported upstream)
- 1
- Weekly downloads (upstream)
- 220
- Declared license
- MIT-0
Observation history
2026-09-29T04:47:03.526Z
Fields that differed: changelog latestVersion
| Field | Before | After |
|---|---|---|
changelog |
"Prompt-compressor v1.2.0 introduces a versatile, script-driven approach to efficiently compress prompts and context for AI agents.\n\n- Provides a methodology for trimming prompts | "权利层第 3 轮:① §3.2 权属宣告统一块归一——清除块内他资产事实(此前误填 uibc-core 的 DOI / commit cb6f11b / Sigstore Rekor 锚),改按本资产真值填写;② 技能件许可口径过授权清除——理论文本由 CC BY 4.0 改为「保留所有权利」,.py 依 §3.2 标 MIT;③ 保留分层许可:代码 MI |
latestVersion |
"1.0.0" | "1.0.3" |
2026-09-17T19:21:47.094Z
Fields that differed: license description
| Field | Before | After |
|---|---|---|
license |
null | "MIT-0" |
description |
"当用户说『提示词太长/token烧太快』『上下文塞不下了』『把这段压缩一下还别丢重点』『长文档怎么塞进窗口』,或要压低 agent 每轮上下文成本时使用。基于「信息密度」裁剪:保留关键词密集/位置靠前的句子,删冗余/客套/复述,给出可运行脚本(提示压缩器,按密度+位置打分删句)。与 context-engineering 互补:context 管『放什么』 | null |
Correction
If you maintain this extension and believe anything above is inaccurate, request a correction. Corrections are published, and disputed entries are marked as disputed while under review.