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.
npx skills add iowarp/clio-kit --skill clio-cte-coregit clone --depth 1 https://github.com/iowarp/clio-kitWrote 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.
[](https://agentmods.dev/skills/iowarp/clio-kit/clio-cte-core)<a href="https://agentmods.dev/skills/iowarp/clio-kit/clio-cte-core"><img src="https://agentmods.dev/badge/skills/iowarp/clio-kit/clio-cte-core/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.
<a href="https://agentmods.dev/skills/iowarp/clio-kit/clio-cte-core"><img src="https://agentmods.dev/badge/skills/iowarp/clio-kit/clio-cte-core.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00146 | $0.04570 |
| Opus 5.5 | $0.00058 | $0.01828 |
| Sonnet 5.5 | $0.00029 | $0.00914 |
| Haiku 4.5 | $0.00015 | $0.00457 |
Grade A, and why
clio-cte-core 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.
How it starts
The opening of the file, as written. The whole thing — 291 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CTE core (clio_cte_core)
The core is the storage engine at the bottom of every Context Transfer Engine
(CTE) chain. It stores blobs (named byte ranges) inside tags (named
groups, like a bucket or a file) on targets (block-device pools, one per
storage: entry). It places each blob by its score (0.0 slow to 1.0
fast), keeps a metadata write-ahead log (WAL) so a restart can find the bytes
again, and executes every put, get, delete, query and reorganize. Caches,
replication, the indexer, the compressor and the filesystem all speak the
core's own task interface and end at a core. It costs one runtime container
per node, the metadata tables in memory, and one bdev pool per tier.
Facts here were checked against clio-core dev at bd1dc3183 (2026-11-21).
Files in this skill
| file | read when |
|---|---|
| CONFIG.md | writing or reviewing a core entry. Every key LoadConfig reads, types, defaults, constraints, environment variables. |
| API.md | calling the core. C++ Client and Tag signatures, pool queries, return codes, the Python module clio_cte_core_ext, targeting another pool id. |
Availability
| item | value |
|---|---|
mod_name |
clio_cte_core |
| default pool ids | 512.0 persistent core (kCtePoolId, pool name cte_main); 540.0 volatile core (pool name cte_volatile) |
| pip wheel | yes: the runtime library, and the Python client clio_cte_core_ext |
| other installs | conda, Spack, deb and Docker images ship it too. It is always built when CLIO_CORE_ENABLE_CTE=ON (the default) |
| C++ headers | not in the wheel. C++ clients need a source, conda or Spack install |
Concepts
- Tag. A named container. Its id is
(major, minor). A tag name hashes to the container that holds its name binding. A tag's size is split across the containers holding its blobs. - Blob. Addressed by
(tag id, blob name). It has a list of blocks, each an extent on one target. It can span several targets. - Owner. Each blob has exactly one owner container, chosen by
hash(tag, blob)over the containers. Every operation on that blob goes to the owner, which serializes its writes. There is no metadata server. - Target (tier). A bdev pool that the core created from a
storage:entry, or an existing pool it attached (existing_pool_id). Each target has a score, a capacity and apersistence_level(volatile,temporary,long_term). - Score and placement. A new blob without a score gets 1.0. A put with
score -1 keeps the blob's current score. The
max_bwplacement engine prefers the fastest target whose score is not above the blob's score, and spills to others when full.ReorganizeBlobsets a new score and moves the blob. The optional organizer rescans and rescores periodically. - Durability class. Each core is
volatileorpersistent(keydurability). A persistent core refuses volatile devices (rc 16). A volatile core accepts persistent devices with a warning, writes no WAL and is empty after every start. Moving data between the two is the write-back cache's job (clio-cte-caches). - Metadata WAL and snapshot. Persistent core only, and only when
performance.metadata_log_pathis set. The WAL is sharded per worker (<path>.blob.<N>,<path>.tag.<N>), with one sequence number across the shards; replay merges them in sequence order. The snapshot is the file<path>itself, rebuilt when the WAL exceedstransaction_log_capacity(32 MiB) or at most once a minute when score changes are pending. - Droppable blobs. A put with flag
kCtePutDroppable(0x2) marks the blob expendable. Only a droppable put may evict, and only droppable blobs are evicted to make room. The flag is fixed at creation: a later put without it is refused with rc 14. - Replica slots. A blob can hold extra block lists besides its primary.
The core only stores them; modules above decide policy.
REPLICA_PERSISTENT(0x2) slots never land on volatile tiers;REPLICA_CACHE(0x4) is the slot the cache module (563.0) fills with a node-local, untransformed copy, dropped under pressure and at restart. The replication module'snum_replicas(extra same-node copies) andremote_copiesuse these slots; seeclio-replication. failover_to_successor. While a blob's owner node is dead, route its operations to the next live container, which serves the replication module's remote copy. Off by default: operations on a dead owner's blobs fail until it returns.read_cache. Not a core key on dev. The core's parser ignores it silently. Use the write-back cache'sfillpolicy or the cache module for read copies.
What ships with it
3 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.
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.
- 7d ago First seen · 291 lines · 146 tokens per session scan A 494f1705a5b4
clio-cte-core is a skill published in the GitHub repository iowarp/clio-kit (35 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 146 tokens to every session and 4,570 once invoked, about $0.0006 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.
clio-cte-core compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| clio-cte-coreiowarp/clio-kit | Skill | 35 | yesterday | BSD-3-Clause | A | 146 | Claude Code |
| requirement-alignmentbaixinghao/intent-gate | Skill | 3 | 1mo ago | MIT | A | 0 | Claude Code |
| bio-clinical-databases-myvariant-queriesPKU-YuanGroup/OpenAI4S | Skill | 675 | today | MIT | A | 86 | Claude Code, Codex |
| agent-infinixuzhougeng/wisp-science | Skill | 1.1k | 6d ago | AGPL-3.0 | C | 65 | Claude Code, Codex |
| tencent-pg-inspectionTencentCloudCommunity/mcp-server | Skill | 34 | 4mo ago | Apache-2.0 | A | 68 | Claude Code, Codex |
| tencent-pg-ops-troubleshooterTencentCloudCommunity/mcp-server | Skill | 34 | 4mo ago | Apache-2.0 | A | 72 | Claude Code, Codex |
| tencent-pg-slowquery-diagnosisTencentCloudCommunity/mcp-server | Skill | 34 | 4mo ago | Apache-2.0 | A | 75 | Claude Code, Codex |