Skip to content

feat: Add ContextCompressor - AI-powered token compression tool#141

Open
JackNie wants to merge 2 commits intoClawCloud:mainfrom
JackNie:main
Open

feat: Add ContextCompressor - AI-powered token compression tool#141
JackNie wants to merge 2 commits intoClawCloud:mainfrom
JackNie:main

Conversation

@JackNie
Copy link
Copy Markdown

@JackNie JackNie commented Mar 9, 2026

Summary

This PR adds ContextCompressor, an AI-powered context compression tool to the ClawCloud Run App Store.

What is ContextCompressor?

ContextCompressor is a developer tool that intelligently compresses long prompts and conversation histories before sending them to LLMs, reducing token usage by up to 80% while preserving core semantics.

Key Features

  • Smart Semantic Compression: NLP-based summarization that retains the most important information
  • Entity & Keyword Preservation: Automatically protects critical entities (names, dates, technical terms, code identifiers)
  • Adjustable Compression Levels: light (80%), medium (50%), heavy (20%)
  • Code-Aware Processing: preserve_code mode keeps code blocks intact
  • Real-Time Savings Metrics: Returns original_tokens, compressed_tokens, and savings_percentage

Pricing Model

Usage-based pricing with a free tier:

  • Free: 0 – 100,000 tokens/month
  • Basic: $0.001 / 1,000 tokens
  • Enterprise I: $0.0008 / 1,000 tokens (>1M tokens/month)
  • Enterprise II: $0.0005 / 1,000 tokens (>10M tokens/month)

Category

  • AI
  • Developer Tools

Checklist

  • Template YAML file created (template/contextcompressor/index.yaml)
  • README.md with usage documentation and pricing
  • App name is lowercase
  • Description clearly explains the core value proposition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant