← 返回 Skills 市场
parad0x-labs

Openclaw Context Capsule

作者 Parad0x Labs · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
68
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install context-capsule
功能描述
Compresses agent session history by over 99% before sending to LLM, retaining last 10 messages verbatim and summarizing the rest into a 60-token capsule.
使用说明 (SKILL.md)

Context Capsule

Compress agent session history 99.3% before it hits the LLM. Works with Claude, GPT, Ollama, Mistral, LM Studio — any model.

What it does

Keeps last 10 messages verbatim. Compresses the rest into a 60-token capsule. Agent still answers 30/30 memory questions correctly.

Savings

Without With
Tokens per call 7,583 53
Cost (Claude Sonnet) $0.023 $0.00016
Monthly (50 calls/day) ~$34 ~$0.24

Install

npm i @parad0x_labs/context-capsule

Benchmark

npm run bench:public

CI fails if savings drop below 95% or recovery below 90%.

Source

github.com/Parad0x-Labs/dna-x402/tree/main/packages/context-capsule

安全使用建议
Review carefully before installing. Use it only if you trust the publisher and can verify the @parad0x_labs/context-capsule package/source yourself; avoid using it on sessions containing credentials, private customer data, or confidential business material until the dependency is published, pinned, and its data handling is documented.
能力标签
crypto
能力评估
Purpose & Capability
The artifacts consistently describe a context engine that compresses older agent messages and keeps recent messages verbatim; that capability is purpose-aligned but involves sensitive conversation history.
Instruction Scope
Runtime behavior is narrow: it registers one context engine, only compresses sessions above the configured message threshold, falls back to original messages on compression failure, and does not show hidden commands, file access, credential access, or network calls in the plugin code.
Install Mechanism
package.json depends on @parad0x_labs/context-capsule, while metadata reports that package was not found on the public npm registry. The core compression logic is therefore outside the submitted artifacts and creates dependency-confusion or install-failure risk.
Credentials
Processing prior transcript content is expected for a context-compression tool, but users should treat conversation history as sensitive because prompts, tool results, and secrets may be included before compression.
Persistence & Privilege
openclaw.plugin.json sets onStartup to false and enabledByDefault to false, and the code does not implement persistence, privilege escalation, destructive actions, or background workers beyond the declared context-engine mode.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install context-capsule
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /context-capsule 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release: compresses agent session history by 99.3% before sending to LLMs. - Retains last 10 messages verbatim; earlier history is compressed into a 60-token capsule. - Maintains high memory accuracy (answers 30/30 questions correctly on benchmark). - Compatible with Claude, GPT, Ollama, Mistral, LM Studio, and more. - Significant token and cost savings per call; continuous benchmarking ensures efficiency.
元数据
Slug context-capsule
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Openclaw Context Capsule 是什么?

Compresses agent session history by over 99% before sending to LLM, retaining last 10 messages verbatim and summarizing the rest into a 60-token capsule. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 68 次。

如何安装 Openclaw Context Capsule?

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

Openclaw Context Capsule 是免费的吗?

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

Openclaw Context Capsule 支持哪些平台?

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

谁开发了 Openclaw Context Capsule?

由 Parad0x Labs(@parad0x-labs)开发并维护,当前版本 v1.0.0。

💬 留言讨论