clio-compressor

clio-compressor is a skill for Claude Code from iowarp/clio-kit. It costs 130 tokens per session (3,304 once invoked), scanned A, original, BSD-3-Clause.

A guide to transparent compression for data blobs in CLIO Core. A blob is a stored piece of data, and transparent compression means clients still read the original data while the system stores a smaller encoded form.

In plain words
What is it for?
It helps enable and configure the compressor, choose codecs and presets, use CPU or GPU codecs, place it in a storage chain, and distinguish stored size from logical size.
Why use it?
It explains the storage-size, CPU, read-latency, and partial-read trade-offs involved in compressing data.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the clio-core-skills plugin — 12 skills shipped together

Good fit It helps enable and configure the compressor, choose codecs and presets, use CPU or GPU codecs, place it in a storage chain, and distinguish stored size from logical size.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iowarp/clio-kit/clio-compressor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add iowarp/clio-kit --skill clio-compressor
Clone the repo
git clone --depth 1 https://github.com/iowarp/clio-kit

Made for: Claude Code.

Or install clio-core-skills, the plugin that ships this one along with the rest of its 12 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for clio-compressor

README.md
[![agentmods](https://agentmods.dev/badge/skills/iowarp/clio-kit/clio-compressor/github.svg)](https://agentmods.dev/skills/iowarp/clio-kit/clio-compressor)
Your own site
<a href="https://agentmods.dev/skills/iowarp/clio-kit/clio-compressor"><img src="https://agentmods.dev/badge/skills/iowarp/clio-kit/clio-compressor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for clio-compressor

Your own site · 80×15
<a href="https://agentmods.dev/skills/iowarp/clio-kit/clio-compressor"><img src="https://agentmods.dev/badge/skills/iowarp/clio-kit/clio-compressor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,304 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00130 $0.03304
Opus 5.5 $0.00052 $0.01322
Sonnet 5.5 $0.00026 $0.00661
Haiku 4.5 $0.00013 $0.00330

Measured 7d ago against content hash cc954d0c592d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

clio-compressor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/clio-core-skills/skills/clio-compressor/SKILL.md · 223 lines

How it starts

The opening of the file, as written. The whole thing — 223 lines — stays where its author put it; the contents beside it link to each section on GitHub.

clio-compressor: transparent blob compression

What it is

The compressor is the encoding layer of the CTE chain. It speaks the CTE core's task interface. On a whole-blob put it compresses the payload, prefixes a 32-byte header, and forwards that stored image to the next pool. On a get it fetches the whole stored image, decompresses it once, and copies out the requested range(s), so every layer above sees the original bytes. A size probe returns the logical (uncompressed) size. It costs CPU (or GPU) time on every put and every read, and a full-blob decode for any partial read.

Facts here were checked against clio-core dev (bd1dc3183), 2026-11-21.

Files in this skill

file read when
CODECS.md picking a codec, setting one per put from C++, dynamic selection and its models, GPU codecs and their environment variables
evals.md checking the skill still closes its gaps

Availability

item value
mod_name clio_cte_compressor
default pool_id 562.0 (by convention; commented out in the default config)
pip wheel iowarp-core not shipped (the wheel is built with CLIO_CTE_ENABLE_COMPRESS=OFF)
build option -DCLIO_CTE_ENABLE_COMPRESS=ON (default OFF; the debug preset turns it on, release does not)
Spack spack install iowarp+compress (adds lzo, bzip2, zstd, lz4, zlib, xz, brotli, snappy, c-blosc2; +compress +cuda adds cuSZ)
conda the recipe builds the release preset; add IOWARP_CMAKE_ARGS="-DCLIO_CTE_ENABLE_COMPRESS=ON" and the codec libraries to the build env

Every codec library is optional. A codec whose library was not found at configure time is compiled out; the configure log says so (snappy not found - snappy codec disabled). There is no separate lz4 module on dev: LZ4 is the codec lz4 inside this module.

Install the whole of CLIO Core from one build with the option on. Do not drop a compressor library built elsewhere into a pip install: the wheel ships no headers or CMake package, and all modules must come from the same build.

Read the full file on GitHub · 223 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 223 lines · 130 tokens per session scan A cc954d0c592d

Subscribe to this mod's changes

clio-compressor is a skill published in the GitHub repository iowarp/clio-kit (35 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 130 tokens to every session and 3,304 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-23.

Related

clio-compressor compared with skills from other repositories

clio-compressor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clio-compressoriowarp/clio-kitSkill35yesterdayBSD-3-ClauseA130Claude Code
bioprobenchPKU-YuanGroup/OpenAI4SSkill675todayMITA46Claude Code, Codex
evo-memoryEvoScientist/EvoSkillsSkill48817d agoApache-2.0A186Claude Code
onescience-orchestratoronescience-ai/OneSkillsSkill243d agoMITA872Claude Code
vllm-pr-summaryshen-shanshan/vllm-dev-skillsSkill362d agoApache-2.0A132Claude Code, Codex
authoring-gradle-buildsrnett/gradle-mcpSkill70todayApache-2.0A52Claude Code, Codex
vllm-multimodal-open-issue-analyzershen-shanshan/vllm-dev-skillsSkill362d agoApache-2.0A187Claude Code, Codex