Skip to content
Back to skills

Offline Bandits Data

ASecurity

"Use AgileRL offline RL datasets, replay/data conversion, CQL/ILQL,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
toolspythonbashapi

Works with

  • terminal
  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill offline-bandits-data --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Offline Bandits Data?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Offline Bandits Data
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-offline-bandits-data/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-offline-bandits-data)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: offline-bandits-data
description: "Use AgileRL offline RL datasets, replay/data conversion, CQL/ILQL,
  contextual bandits, NeuralUCB/NeuralTS, and BanditEnv workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# AgileRL Offline RL And Bandit Data

Use this sub-skill for AgileRL offline reinforcement learning, replay/data conversion, `CQL`, `ILQL`, `train_offline`, contextual bandits, `NeuralUCB`, `NeuralTS`, and `BanditEnv` workflows.

## Read First

- `references/workflows.md` for offline RL and contextual bandit recipes.
- `references/data-formats.md` for transition, HDF5/Minari, and tabular bandit schemas.
- `references/api-reference.md` for replay/bandit/offline APIs.
- `references/troubleshooting.md` for shape, schema, and network/download failures.
- `scripts/inspect_bandit_setup.py --help` for a no-download synthetic bandit probe.

## Boundaries

- Use `../training-workflows/SKILL.md` for online Gymnasium PPO/DQN/DDPG/TD3 workflows.
- Use `../hpo-and-mutation/SKILL.md` for tournament/mutation configuration.
- Use `../llm-fine-tuning/SKILL.md` for language/LLM datasets and RL post-training environments.
- This sub-skill owns static transition datasets, replay filling, Minari/HDF5 handling, and one-step contextual bandit datasets.

## Offline RL Flow

1. Load or validate a dataset with observations, actions, rewards, next observations, and done/terminal flags.
2. Create an environment only for spaces/evaluation, not online data collection.
3. Create a `CQN`/`ILQL`-style population with `create_population(...)`.
4. Fill `ReplayBuffer` with `Transition(...).to_tensordict()` entries.
5. Configure HPO and call `train_offline(...)` or a custom offline loop.

## Contextual Bandit Flow

1. Prepare tabular or array features and targets.
2. Create `BanditEnv(features, targets)`.
3. Use `NeuralUCB` or `NeuralTS` with a discrete action space.
4. Use replay memory and `train_bandits(...)` or a custom one-step loop.

## Safe Validation

```bash
python scripts/inspect_bandit_setup.py --rows 8 --features 4 --arms 3
```

The helper creates synthetic in-memory data. It does not download UCI datasets or run training.

Files in this skill

  • SKILL.md2.2 KB
  • references/api-reference.md1 KB
  • references/data-formats.md1.5 KB
  • references/troubleshooting.md1.2 KB
  • references/workflows.md1.8 KB
  • scripts/inspect_bandit_setup.py2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.