/clio-core-skills:storage-composefrom clio-core-skills
Designs, configures, and reviews CLIO Core storage deployments: selecting and ordering modules (bdev, CTE cores, caches, replication, compressor, indexer, stream, filesystem, CAE) in the compose chain, with consistency and fault-tolerance guidance.
Ships in clio-core-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A CLIO storage system is a list of pools in the compose: section of the
runtime config. Each pool is an instance of a module (a "chimod"). The data
path is a chain: the modules above the CTE cores all use the core's own
Put/Get task interface and forward to the pool named by next_pool_id. A client
addresses the top of the chain and does not need to know what is below it.
Facts here were checked against clio-core dev at bd1dc3183 (2026-11-21).
The runtime reads the file named by CLIO_SERVER_CONF, else
~/.clio/clio.yaml. A pip install copies the shipped, commented default
(<site-packages>/iowarp_core/data/clio_default.yaml) to ~/.clio/clio.yaml
the first time Python imports iowarp_core. Start from that file.
| file | read when |
|---|---|
| MODULES.md | choosing modules. Purpose, default pool id, key settings, and caveats for each module. |
| GUARANTEES.md | before telling anyone what is durable, consistent or available. What an ack means, what fsync means, and what is lost to each failure. |
| RECIPES.md | writing the YAML. Six complete deployments, from scratch-only to replicated filesystem. |
This skill designs the chain. Each module's full key table, client API and failure behavior is in its own skill; load it when you write that module's entry.
| skill | covers |
|---|---|
clio-runtime-config | the config file outside compose:, environment variables, the clio-run CLI, multi-node and Docker, the admin module |
clio-bdev | clio_bdev (301.0 and every tier device) and the erasure-coded clio_safe_bdev |
clio-cte-core | the CTE core (512.0 persistent, 540.0 volatile), and the C++ and Python blob API every chain speaks |
clio-cte-caches | write-back (567.0), write-thru, the shm cache (568.0) and the plain cache (563.0) |
clio-replication | clio_cte_replication (561.0) and node-loss availability |
clio-compressor | clio_cte_compressor (562.0) |
clio-indexer | clio_cte_indexer (564.0) and search |
clio-fs | filesystem (560.0), stream (565.0), checkpoint, and mounting with FUSE |
clio-cae | ingest: CAE core (400.0), the summarizer (401.0) and OMNI files |
chimod-dev | writing a module the shipped ones do not cover |
clients / CAE 400 / filesystem 560 / stream 565
|
indexer 564 search index (BM25), read-your-writes for search
|
shm cache 568 node shared-memory metadata cache (md_only)
|
[compressor 562] optional, needs CLIO_CTE_ENABLE_COMPRESS
|
write-back 567 owns durability: acks on the volatile write, flushes later
| \
volatile core 540 replication 561 -> persistent core 512
(DRAM, no WAL) (file/DAOS tiers, metadata WAL)
\___________ bdev pools, created by each core per storage[] entry
replication.safe_bdev under the persistent core.indexer.filesystem plus stream.compressor.next_pool_id, next_volatile, next_persistent, flush_pool,
staging_pool_id, existing_pool_id). Give every pool a unique pool_id
(MODULES.md lists the collisions in the defaults).clio_bdev at 301.0 (ram::chi_default_bdev) is required: other modules
allocate from it.performance.metadata_log_path keeps the bytes on disk but not the record of
which blob owns them. After a restart, the data is unreachable.persistence_level on every durable tier. Omitting it makes the tier
volatile, even for a file tier. Its blocks are then dropped at replay,
and a persistent core refuses the device.ParseOmni is id 10, which is also the core's RegisterTarget.pool_query: local.num_replicas: 0 over a safe_bdev tier. The array already survives
disk loss, so a second copy on the same array only doubles each fsynced byte.CLIO_CTE_POOL=564.0 (or your chain top) before
the client initializes.MultiPutBlob routes by its first put. A multi-node caller must ensure
every put in the batch maps to the same owner container.tag_re, blob_re) and the summarizer (label_matches)
tightly. The indexer's in-memory index grows with every matching blob. The
summarizer runs inference synchronously on the worker that handles the put.SyncTag, or fsync on clio-fs), then
kill the runtime with kill -9, not clio-run stop. Restart without
--fresh and read back. Then repeat the test without the fsync, and record
what was lost: it should match the loss window you stated.replication_factor > 1. Stop
one node and read its blobs with failover_to_successor: true. Write
through the successor, restart the owner, and confirm the hand-back.<pool_name>.fail for one member.
Reads must still return correct bytes. Then fail more than max_failures
members: requests must fail with EIO, never return wrong bytes.CLIO_REQUIRE_RUNTIME=1 in any measurement, so a run that never reached
the runtime fails instead of reporting a clean zero.PutBlob rc=11 with available_targets empty means no target
registered. Check the tier config, or the build tree is stale.RegisterTarget rc=1 with Permission denied on a /tmp path means
root-owned leftovers from an earlier run.What SKILL.md sets; muted values are Claude Code's defaults
12 skills in this plugin
/chimod-devUse when writing your own CLIO Core runtime module (ChiMod) outside the clio-core repo: install with headers, clio_mod.yaml, tasks, runtime, client, codegen, CMake, loading, testing, or a CTE interposer layer. Triggers on "new chimod", "custom module", "add a method", "clio_mod.yaml", "clio-run refresh", "CreateParams", "CLIO_REPO_PATH", "CoreInterposer". Not for configuring shipped modules; use storage-compose. Not for GPU paged-vector kernels; use gpu-vector./clio-bdevUse when configuring CLIO Core block devices: a clio_bdev pool (ram, file, hbm, pinned, noop, s3, gcs, daos), a CTE storage tier entry, capacity, persistence_level, alloc_log and --fresh, or a clio_safe_bdev erasure-coded array (members, parity, max_failures, rebuild). Triggers on "bdev_type", "capacity_limit", "alloc_log", "persistence_level", "safe_bdev", "parity disk", "S3 tier". Not for designing the whole chain (use storage-compose) or CTE core keys (use clio-cte-core)./clio-caeUse when importing external data into CLIO Core with the Context Assimilation Engine: writing OMNI files, running clio-cae, calling ParseOmni or clio_cee context_bundle from Python/C++, choosing sources (file, HDF5, HTTP, S3, GCS, Globus), allowed_roots, or composing the LLM summarizer (401.0). Triggers on "OMNI file", "clio-cae", "assimilate", "ParseOmni", "context_bundle", "label_matches", "summarizer". Not for searching imported data (use clio-indexer) or chain ordering (use storage-compose).npx claudepluginhub iowarp/clio-kit --plugin clio-core-skillsOther plugins' skills for the same job