← 返回 Skills 市场
sunnyztj

TurboQuant Memory

作者 SunnyZhou · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ⚠ suspicious
153
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install turboquant-memory
功能描述
Compress and accelerate vector search in memory/RAG systems using TurboQuant (ICLR 2026) — near-optimal vector quantization with 5-8x compression and 98%+ se...
安全使用建议
This skill mostly does what it says: local numpy-based quantization and migration of embeddings into a new SQLite table. Before running it on important data: (1) Back up any database you pass to migrate — the script creates a quantized_embeddings table and uses INSERT OR REPLACE which can overwrite rows. (2) Review the code locally: there are inconsistencies (SKILL.md/refs say blockwise Hadamard and warn against SRHT, but some modules/imports mention SRHTRotate or SRHT; some functions use type names like List/Dict without importing typing) — these may cause runtime errors or indicate the docs and code are out-of-sync. (3) Run the bundled tests (python3 scripts/turboquant.py) and validate on a small copy of your data (python3 scripts/validate.py --db /path/to/copy.db --auto-detect) to confirm behavior and metrics. (4) Prefer running migrate on a copied DB or staging environment. If you are not comfortable auditing Python code yourself, ask the author for clarification about the SRHT vs blockwise Hadamard mismatch and for guarantees about non-destructive migration and deterministic seeds.
功能分析
Type: OpenClaw Skill Name: turboquant-memory Version: 2.0.0 The bundle provides a legitimate and well-implemented vector quantization tool based on the TurboQuant algorithm for compressing embeddings in SQLite-based RAG systems. The code (turboquant.py, memory_quantize.py, validate.py) performs mathematical transformations (Fast Walsh-Hadamard Transform, Lloyd-Max quantization) and database operations consistent with its stated purpose. It lacks any high-risk behaviors such as network access, shell execution, or data exfiltration. While the metadata and documentation contain future-dated references (e.g., ICLR 2026, arXiv 2025), the implementation is technically sound, transparent, and contains no evidence of malicious intent or prompt injection.
能力评估
Purpose & Capability
Name, description, SKILL.md and the scripts all align: this is a local numpy-based implementation of a vector quantizer that detects SQLite embedding tables, quantizes embeddings, and writes results to a new 'quantized_embeddings' table. The required capabilities (none) are proportionate to the stated purpose.
Instruction Scope
The runtime instructions and scripts will scan arbitrary SQLite databases (auto-detect tables), read embeddings and text columns, and create/insert into a quantized_embeddings table using INSERT OR REPLACE. This is expected for a migration/quantize tool, but it means the skill will modify user databases. Also, SKILL.md and references disallow SRHT (lossy SRHT) while some code and imports reference SRHTRotate/SRHT — there is an inconsistency between the written docs and code which could cause unexpected behavior or indicate the code and docs are out of sync.
Install Mechanism
There is no install spec (instruction-only with bundled scripts). No network downloads, no external package installs beyond numpy — low install risk.
Credentials
The skill requests no environment variables or credentials. That is proportionate. However, the scripts require read/write access to whatever SQLite DB path you point them at; they will create/modify tables and can overwrite entries (INSERT OR REPLACE).
Persistence & Privilege
The skill is not always:true and does not ask for persistent system privileges. It will persist data into the target SQLite DB (creates quantized_embeddings and writes records). That behavior is expected but impactful — backups are recommended before running migrations.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install turboquant-memory
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /turboquant-memory 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
v2: Blockwise Hadamard rotation (fixes critical SRHT subsample bug), 98% recall at 6.4x compression, numpy only, OpenClaw sqlite-vec support, distribution validation tool
v1.1.0
Default bits changed from 4 to 6 based on real-world testing. b=6 achieves 98% top-1 recall with 5.3x compression (vs 86% at b=4). Added benchmark data for b=4 through b=8.
v1.0.0
Initial release: TurboQuant vector quantization for memory/RAG systems. 6-8x embedding compression, 87%+ top-1 recall, based on ICLR 2026 paper.
元数据
Slug turboquant-memory
版本 2.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

TurboQuant Memory 是什么?

Compress and accelerate vector search in memory/RAG systems using TurboQuant (ICLR 2026) — near-optimal vector quantization with 5-8x compression and 98%+ se... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 153 次。

如何安装 TurboQuant Memory?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install turboquant-memory」即可一键安装,无需额外配置。

TurboQuant Memory 是免费的吗?

是的,TurboQuant Memory 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

TurboQuant Memory 支持哪些平台?

TurboQuant Memory 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 TurboQuant Memory?

由 SunnyZhou(@sunnyztj)开发并维护,当前版本 v2.0.0。

💬 留言讨论