# creationix-rx-data-store

This skill guides RX data encoding and direct reads from JSON-shaped documents. Use it when an agent needs path-based access without parsing the whole value.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 904 installs · ★ 88
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/creationix-rx-data-store/SKILL.md
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/skills/creationix-rx-data-store

## What it does

The skill covers RX as an embedded store for JSON-shaped data. It shows the string and `Uint8Array` APIs, lazy structure inspection, path selection, and the `rx` command-line workflow for converting JSON and RX files. Opened values are read-only proxies, while common JavaScript operations and `JSON.stringify()` still work.

Array reads can use O(1) access and indexed object lookups use O(log n). The format supports deduplicated values, shared schemas, chunked output, and external references. A project using the library needs `@creationix/rx`; the CLI can be installed globally or invoked with `npx`.

External references require the decoder to receive the same dictionary as the encoder. A different `refs` mapping will break that lookup path.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill creationix-rx-data-store -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/creationix-rx-data-store/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/creationix-rx-data-store/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill creationix-rx-data-store -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/creationix-rx-data-store/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill creationix-rx-data-store -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/creationix-rx-data-store/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/trending-skills creationix-rx-data-store
```

2. **Manually: put the files in place**
- File: `.github/skills/creationix-rx-data-store/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill creationix-rx-data-store -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/trending-skills --path skills/creationix-rx-data-store
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/creationix-rx-data-store/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill creationix-rx-data-store -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/creationix-rx-data-store/SKILL.md

## When to use it
- encode JSON-shaped data as RX
- read one nested value without parsing the whole document
- convert `.json` and `.rx` files with the CLI
- select a value by path segments
- stream encoded output to stdout

## Example prompts
- Show me how to turn `manifest.json` into RX with indexes, then read one route by path.
- Use `@creationix/rx` to inspect this RX payload and return only `data.users[0]`.
- Set up chunked RX output with `onChunk` and write it to a file.

## Similar
- [xlsx](https://affpapa.org/en/nevibecode/skills/xlsx.md) — skill · 187223 installs
- [google-agents-cli-observability](https://affpapa.org/en/nevibecode/skills/google-agents-cli-observability.md) — skill · 511300 installs
- [caveman-evidence-review](https://affpapa.org/en/nevibecode/skills/caveman-evidence-review.md) — skill · 104500 installs
- [migration](https://affpapa.org/en/nevibecode/skills/migration.md) — skill · 103900 installs
- [performance-optimization](https://affpapa.org/en/nevibecode/skills/performance-optimization.md) — skill · 65200 installs
- [supabase](https://affpapa.org/en/nevibecode/skills/supabase.md) — skill · 8 installs

From the same set: [reason-machines/trending-skills](https://affpapa.org/en/nevibecode/by/reason-machines/trending-skills.md) — 186 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
