Agent skill · software engineering · aradotso
creationix-rx-data-store
Expert skill for using RX, an embedded data store for JSON-shaped data with random-access reads, no-parse lookups, and a text-safe binary encoding format.
Why this skill is useful
Provides specific commands and patterns for using the RX data store that the AI wouldn't reliably generate on its own.
What it needs
Requires @creationix/rx installed locally. About 6k tokens when loaded. Last updated 2026-07-09. 70 stars on the source repository.
What this skill does
RX Data Store Skill by ara.so — Daily 2026 Skills collection. RX is an embedded data store for JSON-shaped data. Encode once, then query the encoded document in place — no parsing, no object graph, no GC pressure. Think of it as no-SQL SQLite: unstructured data with database-style random access. Key benefits: O(1) array access, O(log n) object key lookup on encoded data Automatic deduplication of values and shared schemas Text-safe encoding (copy-paste friendly, no binary tooling needed) Minimal heap allocations (~10 vs millions for JSON parsing) ~18x compression on real deployment manifests (92 MB → 5.1 MB) --- Installation --- Core API String API (most common) Uint8Array API (performance-critical paths) Inspect API (lazy AST) Escape hatch to underlying buffer --- Encoding Options If the encoder used external refs, pass the same dictionary to the decoder: --- CLI Full CLI flags: Flag Description ------ ------------- <file> Input file (format auto-detected) - Read from stdin explicitly -j, --json Output as JSON -r, --rexc Output as RX -t, --tree Output as tree -a, --ast Output encoding structure -s, --select <seg>... Select a sub-value by path segments -w, --write Write converted file -o, --out <path> Write to file instead of stdout -c, --color / --no-color Force or disable ANSI color --index-threshold <n> Index containers above n values (default: 16) --string-chain-threshold <n> Split strings longer than n (default: 64) --string-chain-delimiter <s> Delimiter for string chains (default: /) --key-complexity-threshold <n> Max object complexity for dedupe keys (default: 100) Shell completions: Tip — paged, colorized viewing: --- Proxy Behavior The value returned by parse/open is read-only: Supported operations on the Proxy: Property access: data.key, data[0] Object.keys(), Object.entries(), Object.values() for...of, for...in Array.isArray() .map(), .filter(), .find(), .reduce() Spread and destructuring JSON.stringify() --- Common Patterns Build-step: convert JSON artif …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aradotso/creationix-rx-data-store