技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
zzallirog/weighted-compact

zzallirog/weighted-compact

Inspectable memory f
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add weighted-compact -- npx -y weighted-compact
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
5 ★ · zzallirog/weighted-compact · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 5 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 zzallirog/weighted-compact;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

weighted-compact

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

**A provably faithful recap and local inspectable substrate for your Claude Code sessions.**
~/.claude/projects/ is the record of every correction you pushed back on.
weighted-compact reads it and gives you two local artifacts: a task-segmented
**recap** per session (stdlib-only, provably faithful, ~5 ms/session), and a
**substrate** of every correction turn as inspectable numpy columns.
Zero outbound. Zero idle RAM.
> **Three claims, kept apart so none borrows another's credibility:**
>
> - **recap** — *provably faithful*: four invariants re-checked on **1007/1007**
> sessions (weighted-compact recap --all). Stdlib-only, no model, no judge.
> The one consumer with a positive, re-checkable result.
> - **manifesto control** — your keep/skip labels are a *hard constraint*, not a
> soft boost: 100 % keep-label survival at k ≤ 0.7 (vs recency baseline 62 %).
> The first compaction claim that beats a cheap baseline.
> - **mixture fidelity** — the six-signal importance mixture has **no measured
> edge** over recency or bm25 at current N. We say so, with the numbers, in
> How it compares.
>
> Reach for this if you want local artifacts you can *audit* and steer; reach
> for a drop-in like claude-mem if you want set-and-forget recall.
→ Docker / Windows install ·
Operating guide ·
Bench vs claude-mem ·
Stability promise ·
Extension recipe ·
Pick your door
---
By the numbers
Every figure here is re-checkable on your own corpus, and each carries its
own asterisk in plain sight — the project's stance is that an honest number
beats a flattering one.
- **1007 / 1007** sessions pass all four recap faithfulness invariants —
coverage · conservation · provenance · determinism
(weighted-compact recap --all). This proves the map does not *lie*
about the session — not that it is the optimal summary.
- **~5 ms / session** — 584 MB of transcripts mapped in 5.2 s, standard
library only (no numpy, no model, no judge in the recap path).
- **0** outbound network calls · **0 MB** idle RAM — the first is enforced
by the outbound-zero
CI workflow, the second because nothing runs between invocations.
- Querying the substrate beats a one-pass LLM summary by **~3.5×** on
reconstruction fidelity (11.3 % vs 3.2 %, N=62, gemma3 judge). That is
the one axis with a measured edge; the importance **mixture** does *not*
beat cheap baselines at this N, and the comparison
table says so.
- recap shrinks a session **~180×** — as a **lossy** navigation map, not a
reconstructable archive. For lossless archival, zstd -19 (~3×) wins and
this repo points you to it rather than shipping a weaker custom fold.
---
How it compares
A 30-second product map vs the dominant adjacent tool:
| | weighted-compact | claude-mem (77 k ★) |
|---|---|---|
| **Capture** | reads ~/.claude/projects/ on demand | 5 always-on lifecycle hooks |
| **Importance ranking** | 6 inspectable signals + REM-decay | ORDER BY recency DESC LIMIT k |
| **Manifesto control** | keep/skip labels honored as a hard constraint (pin / drop) | none |
| **Compaction** | top-K vector selection → markdown | LLM-summary, opaque |
| **Auto-injection** | none — client polls | every session start |
| **Outbound network** | zero (default) | configurable LLM provider per turn |
| **Substrate inspection** | numpy columns on disk | SQLite + Chroma |
| **Idle RAM** | 0 MB (nothing runs) | ~80–150 MB worker |
| **Reconstruction fidelity** | no measured edge — ties recency/bm25 | not measured by them |
The honest trade: the structural rows above (local, zero-outbound,
inspectable, 0 idle RAM, manifesto control) are real and verifiable. The
*quality* row is not a win — on reconstruction-fidelity the six-signal mixture
has not been shown to beat cheap baselines like recency or bm25, and neither
does hand-curation (see docs/baselines.md). What *is* a
real, exclusive property is **manifesto control**: your keep/skip labels are
honored as a hard selection constraint — a keep-labeled pair is guaranteed to
survive compaction (up to budget), a skip-labeled pair is dropped first. Measured
on a 16-pair labeled session: **100 % keep-label survival at k ≤ 0.7** (vs
recency baseline 62 %). That is a deterministic control guarantee, not a
compression-quality claim (proven by construction in tests/test_manifesto.py;
default-on in the compact_session MCP tool, meta.manifesto reports what it
honored). claude-mem is
hook-installed in seconds and feels magic; weighted-compact is a transparent
substrate you own, steer with a manifesto, and query with intent. Pick on
transparency / locality / control, not on compression quality — see
来源
awesome · https://github.com/zzallirog/weighted-compact
按领域浏览
MCP 服务
Traction
5 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引