{"adoption": {"forks": 185, "observed_at": "2026-08-28T04:06:07.763284+00:00", "stars": 2033}, "canonical_url": "https://ross.abutalabs.com/products/claw-compactor", "card": {"archived": false, "artifact_type": "library", "description": "14-stage Fusion Pipeline for LLM token compression — reversible compression, AST-aware code analysis, intelligent content routing. Zero LLM inference cost. MIT licensed.", "domain": ["large-language-models", "artificial-intelligence", "developer-tools"], "enriched": true, "function": ["compression", "nlp", "parser", "developer-tools"], "health_score": 83, "homepage": "https://www.opencompress.ai/", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["open-compress/claw-compactor"], "name": "open-compress/claw-compactor", "platform": ["python", "cli", "cross-platform"], "pushed_at": "2026-04-01T08:31:20+00:00", "repo": "open-compress/claw-compactor", "stars": 2033, "tags": ["token-compression", "context-window-optimization", "prompt-compression", "ast-analysis", "tree-sitter", "llm-cost-reduction", "fusion-pipeline", "reversible-compression", "ai-agents", "natural-language-processing"], "topics": ["ai-agent-tools", "context-compression", "context-pruning", "context-window-optimization", "llm-compression", "llm-tools", "openclaw", "prompt-compression", "token-compression", "claw-compactor", "llm-context-compression", "llm-cost-reduction", "llm-token-compression", "ai-infrastructure", "developer-tools", "python", "tree-sitter", "ast-code-analysis", "fusion-pipeline", "reversible-compression"], "urls": [], "use_cases": ["compress prompts before sending to an LLM to cut token costs", "shrink agent context windows so long sessions fit the model's limit", "compress code workspaces with AST-aware analysis before LLM calls", "reduce token usage in Claude Code or Cursor agent traces", "deduplicate and prune repetitive context in chatbot pipelines", "reversibly decompress content after LLM processing"], "what_it_is": "Claw Compactor is an open-source Python library and CLI tool that compresses LLM input tokens via a 14-stage Fusion Pipeline, achieving 15-82% reduction with zero LLM inference cost. It uses reversible compression, AST-aware code analysis via tree-sitter, and intelligent content routing to shrink prompts and agent context windows.", "when_to_avoid": ["you need semantic compression that requires an LLM or embedding model", "your prompts are already short and pre-optimized (minimal impact expected)", "you need a hosted gateway that compresses output tokens across providers", "you require guaranteed lossless fidelity for all content types"], "when_to_choose": ["you want deterministic, offline token compression with no LLM inference cost", "you need reversible compression so original content can be restored", "your workload includes source code that benefits from AST-aware analysis", "you want a Python library plus CLI with MIT licensing and active test coverage"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/claw-compactor", "repo": "open-compress/claw-compactor", "role": "main", "score": 63}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.763284+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:59:27.602462+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f9d930ccca990fee20e16e470b528e0fc62e9decfca587f10ef8c12c7cfa1fe5", "fetched_at": "2026-08-28T04:06:07.763284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/open-compress/claw-compactor"}, {"content_hash": "ed6c35add6f36c3ac5c0a4d08e61fd38fc10a81b4b674dbb7766cc73411c6159", "fetched_at": "2026-08-29T10:39:21.090668+00:00", "kind": "homepage", "missing": false, "url": "https://www.opencompress.ai/"}, {"content_hash": "371134d3f55ef3476509541b73c8c2ee3dcb1738257040bd865c093aeea9ae42", "fetched_at": "2026-08-29T10:39:21.100084+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/claw-compactor/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.763284+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:59:27.602462+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f9d930ccca990fee20e16e470b528e0fc62e9decfca587f10ef8c12c7cfa1fe5", "fetched_at": "2026-08-28T04:06:07.763284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/open-compress/claw-compactor"}, {"content_hash": "ed6c35add6f36c3ac5c0a4d08e61fd38fc10a81b4b674dbb7766cc73411c6159", "fetched_at": "2026-08-29T10:39:21.090668+00:00", "kind": "homepage", "missing": false, "url": "https://www.opencompress.ai/"}, {"content_hash": "371134d3f55ef3476509541b73c8c2ee3dcb1738257040bd865c093aeea9ae42", "fetched_at": "2026-08-29T10:39:21.100084+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/claw-compactor/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:59:27.602462+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f9d930ccca990fee20e16e470b528e0fc62e9decfca587f10ef8c12c7cfa1fe5", "fetched_at": "2026-08-28T04:06:07.763284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/open-compress/claw-compactor"}, {"content_hash": "ed6c35add6f36c3ac5c0a4d08e61fd38fc10a81b4b674dbb7766cc73411c6159", "fetched_at": "2026-08-29T10:39:21.090668+00:00", "kind": "homepage", "missing": false, "url": "https://www.opencompress.ai/"}, {"content_hash": "371134d3f55ef3476509541b73c8c2ee3dcb1738257040bd865c093aeea9ae42", "fetched_at": "2026-08-29T10:39:21.100084+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/claw-compactor/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.763284+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.763284+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.763284+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:59:27.602462+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f9d930ccca990fee20e16e470b528e0fc62e9decfca587f10ef8c12c7cfa1fe5", "fetched_at": "2026-08-28T04:06:07.763284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/open-compress/claw-compactor"}, {"content_hash": "ed6c35add6f36c3ac5c0a4d08e61fd38fc10a81b4b674dbb7766cc73411c6159", "fetched_at": "2026-08-29T10:39:21.090668+00:00", "kind": "homepage", "missing": false, "url": "https://www.opencompress.ai/"}, {"content_hash": "371134d3f55ef3476509541b73c8c2ee3dcb1738257040bd865c093aeea9ae42", "fetched_at": "2026-08-29T10:39:21.100084+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/claw-compactor/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.763284+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.763284+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:59:27.602462+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f9d930ccca990fee20e16e470b528e0fc62e9decfca587f10ef8c12c7cfa1fe5", "fetched_at": "2026-08-28T04:06:07.763284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/open-compress/claw-compactor"}, {"content_hash": "ed6c35add6f36c3ac5c0a4d08e61fd38fc10a81b4b674dbb7766cc73411c6159", "fetched_at": "2026-08-29T10:39:21.090668+00:00", "kind": "homepage", "missing": false, "url": "https://www.opencompress.ai/"}, {"content_hash": "371134d3f55ef3476509541b73c8c2ee3dcb1738257040bd865c093aeea9ae42", "fetched_at": "2026-08-29T10:39:21.100084+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/claw-compactor/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.763284+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.763284+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.763284+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:59:27.602462+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f9d930ccca990fee20e16e470b528e0fc62e9decfca587f10ef8c12c7cfa1fe5", "fetched_at": "2026-08-28T04:06:07.763284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/open-compress/claw-compactor"}, {"content_hash": "ed6c35add6f36c3ac5c0a4d08e61fd38fc10a81b4b674dbb7766cc73411c6159", "fetched_at": "2026-08-29T10:39:21.090668+00:00", "kind": "homepage", "missing": false, "url": "https://www.opencompress.ai/"}, {"content_hash": "371134d3f55ef3476509541b73c8c2ee3dcb1738257040bd865c093aeea9ae42", "fetched_at": "2026-08-29T10:39:21.100084+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/claw-compactor/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.763284+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.763284+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:59:27.602462+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f9d930ccca990fee20e16e470b528e0fc62e9decfca587f10ef8c12c7cfa1fe5", "fetched_at": "2026-08-28T04:06:07.763284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/open-compress/claw-compactor"}, {"content_hash": "ed6c35add6f36c3ac5c0a4d08e61fd38fc10a81b4b674dbb7766cc73411c6159", "fetched_at": "2026-08-29T10:39:21.090668+00:00", "kind": "homepage", "missing": false, "url": "https://www.opencompress.ai/"}, {"content_hash": "371134d3f55ef3476509541b73c8c2ee3dcb1738257040bd865c093aeea9ae42", "fetched_at": "2026-08-29T10:39:21.100084+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/claw-compactor/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:59:27.602462+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f9d930ccca990fee20e16e470b528e0fc62e9decfca587f10ef8c12c7cfa1fe5", "fetched_at": "2026-08-28T04:06:07.763284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/open-compress/claw-compactor"}, {"content_hash": "ed6c35add6f36c3ac5c0a4d08e61fd38fc10a81b4b674dbb7766cc73411c6159", "fetched_at": "2026-08-29T10:39:21.090668+00:00", "kind": "homepage", "missing": false, "url": "https://www.opencompress.ai/"}, {"content_hash": "371134d3f55ef3476509541b73c8c2ee3dcb1738257040bd865c093aeea9ae42", "fetched_at": "2026-08-29T10:39:21.100084+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/claw-compactor/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:59:27.602462+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f9d930ccca990fee20e16e470b528e0fc62e9decfca587f10ef8c12c7cfa1fe5", "fetched_at": "2026-08-28T04:06:07.763284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/open-compress/claw-compactor"}, {"content_hash": "ed6c35add6f36c3ac5c0a4d08e61fd38fc10a81b4b674dbb7766cc73411c6159", "fetched_at": "2026-08-29T10:39:21.090668+00:00", "kind": "homepage", "missing": false, "url": "https://www.opencompress.ai/"}, {"content_hash": "371134d3f55ef3476509541b73c8c2ee3dcb1738257040bd865c093aeea9ae42", "fetched_at": "2026-08-29T10:39:21.100084+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/claw-compactor/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:59:27.602462+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f9d930ccca990fee20e16e470b528e0fc62e9decfca587f10ef8c12c7cfa1fe5", "fetched_at": "2026-08-28T04:06:07.763284+00:00", "kind": "readme", "missing": false, "url": "https://github.com/open-compress/claw-compactor"}, {"content_hash": "ed6c35add6f36c3ac5c0a4d08e61fd38fc10a81b4b674dbb7766cc73411c6159", "fetched_at": "2026-08-29T10:39:21.090668+00:00", "kind": "homepage", "missing": false, "url": "https://www.opencompress.ai/"}, {"content_hash": "371134d3f55ef3476509541b73c8c2ee3dcb1738257040bd865c093aeea9ae42", "fetched_at": "2026-08-29T10:39:21.100084+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/claw-compactor/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 75, "longevity": 14, "rhythm": 75}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 205, "days_push": 154, "days_rel": 167, "gap_med": 0.5, "n_releases_24m": 5}, "score": 63, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}