← Back to Skills Marketplace
parad0x-labs

Openclaw Context Capsule

by Parad0x Labs · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
68
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install context-capsule
Description
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.
README (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

Usage Guidance
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.
Capability Tags
crypto
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install context-capsule
  3. After installation, invoke the skill by name or use /context-capsule
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug context-capsule
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 68 downloads so far.

How do I install Openclaw Context Capsule?

Run "/install context-capsule" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Openclaw Context Capsule free?

Yes, Openclaw Context Capsule is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Openclaw Context Capsule support?

Openclaw Context Capsule is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Openclaw Context Capsule?

It is built and maintained by Parad0x Labs (@parad0x-labs); the current version is v1.0.0.

💬 Comments