Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

lambda-compression拉姆达压缩

Agent Skill

lambda-compression 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,018

周安装

203

GitHub Stars

公开资料未说明

下载量

1,575
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:lambda-compression(拉姆达压缩)
来源仓库:https://github.com/theshadowrose/lambda-compression
安装命令:
openclaw skills install lambda-compression
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install lambda-compression

简介

基于物理模型实现散文与结构化数据无损压缩,节省60%-98%令牌开销。

  • 适用于日志归档、大文本传输或内存敏感型应用优化场景。
  • 零信息损失前提下保持语义完整性,优于传统压缩算法表现。
  • 解压端需匹配相同版本库以确保数据一致性恢复。
  • lambda-compression 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
lambda-compression
description
Physics-based lossless compression for AI output — prose AND structured data. Strips 60-98% of tokens with zero information loss. Prose mode compresses reasoning against a 7-item law stack. Struct mode compresses JSON/evals/routing with a generative layer that eliminates derived fields entirely. Compression ceiling rises with adoption (Shannon-derived). Self-verifying, model-agnostic, no dependencies.
version
2.0.0
author
@TheShadowRose
tags
["latest", "compression", "reasoning", "physics", "lossless", "token-reduction", "evidence-class", "cost-reduction", "structured-data", "agent-communication"]
license
MIT
side_effects
reads
References loaded into AI context window
writes
None
network
None

Λ-Compression — Lossless AI Output Compression

What It Does

Compresses AI output by 60-98% with zero information loss. Two modes, one decoder:

  • Prose mode — reasoning, analysis, documentation → 60-95% reduction
  • Struct mode — JSON, evals, routing, decisions, agent-to-agent data → 85-98% reduction

The compression ceiling rises with adoption. The more systems that share the decoder, the better it works for everyone (Shannon conditional entropy — not marketing).

How It Works

Load references/Lambda_Compression_For_AI.md into context. It contains the complete, self-contained system:

  • The decoder (7-item law stack with evidence classes)
  • Prose mode: 5-step compression with worked examples
  • Struct mode: format stripping + generative layer with prefix syntax and worked example
  • Six-layer compression stack (both modes)
  • Self-verification procedure with error recovery
  • Cross-model guidance
  • Adoption-scaling property with proof

The document is self-referential — it's written in the compressed form it describes.

When To Use

  • Compressing reasoning output for storage or transmission
  • Compressing structured data between AI agents (evals, decisions, routing)
  • Reducing token cost on analytical/research text
  • Producing denser reports, summaries, or findings
  • Agent-to-agent communication pipelines where every token costs money
  • Pre-processing output before feeding into another system

When NOT To Use

  • Creative writing, fiction, or prose where voice matters
  • Conversational replies where social texture matters
  • Content aimed at readers who don't have the decoder
  • As a global default (struct mode is for structured data only)

Quick Reference

Decoder: P1 [A] (finite capacity), P2 [A] (state change costs), P3 [A] (finite interaction rate), Finite Signal Law [B], Finite Selection Law [B], Finite Channeling Law [B], Finite Verification Law [B].

Prose — strip: Enthusiasm, hedging, restatement, transitions, meta-commentary, anything the decoder reconstructs. Keep: Novel claims, evidence class tags, specific findings.

Struct — strip: Format (brackets, keys, whitespace), derived fields, convention boilerplate. Keep: Payload values, novel data, generator references.

Evidence classes: [A] established physics/math, [B] derived from A with valid chain, [C] structural argument, [D] empirical/speculative.

Test: Remove it. Read with decoder. Meaning unchanged → derived, strip it. Meaning changed → novel, keep it.

Struct header: !lambda struct v2

Compression Performance

Prose Mode

Content TypeTypical ReductionWhy
Standard AI reasoning60-95%Heavy padding, hedging, derived explanations
Research findings40-60%Mix of novel + derived
Dense technical output10-30%Already mostly novel content

Struct Mode

Data TypeTypical ReductionWhy
JSON evals/decisions95-98%Format-heavy, payload-light. Generative layer strips derived fields.
Routing/dispatch90-95%Repetitive structure + convention anchors
Policy rules85-90%Conditional logic, moderate density
Media summaries80-85%Mixed structure + free text

The compression ratio is diagnostic. 90% compression = the output was 90% padding. 20% compression = the output was 80% novel. It's a free quality metric.

What Changed in v2.0

  • Struct mode — full structured data compression with prefix syntax, generative layer, decompression protocol
  • Evidence classes on decoder items — the decoder practices what it preaches
  • Error recovery — what to do when compression goes wrong (Verification Law applied to itself)
  • Cross-model guidance — what breaks when compressing on one model, decompressing on another
  • Audited with ANVIL/FLINT/FORGE methodology — 5 bugs found and fixed, 4 discoveries integrated

Theory

For the formal physics derivation, formulas, and evidence classification of every component, see references/Theory_Brief.md. Includes the compression floor theorem, adoption-scaling property, safe omission criterion, cross-model penalty, and full evidence summary.

References

  • references/Lambda_Compression_For_AI.md — complete self-contained spec for AI loading
  • references/Theory_Brief.md — formal physics derivation with formulas

Related Papers


⚠️ Disclaimer: This skill provides a compression method, not guaranteed results. Compression ratios are empirical estimates (D-class) and vary by content type, domain, and model. Always verify losslessness before relying on compressed output. The author is not responsible for information loss from incorrect application.

Ko-fi

🛠️ Need something custom? I build custom AI agents and skills starting at $500. Fiverr

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

83.6%
按下载量换算1,317

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills