Skip to content
Back to skills

Offline And Specialized Rl

ASecurity

"Use Tianshou 2.0.1 offline RL, imitation learning,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
ai-agentsgoapi

Works with

  • api

Security analysis

A100/100

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

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill offline-and-specialized-rl --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Offline And Specialized Rl?

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

Security grade badge for Offline And Specialized Rl
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-offline-and-specialized-rl/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-offline-and-specialized-rl)

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-and-specialized-rl
description: "Use Tianshou 2.0.1 offline RL, imitation learning,
  model-based/curiosity wrappers, multi-agent wrappers, and safe evaluation
  utilities without accidentally launching expensive runs."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Offline and Specialized RL

Use this sub-skill when the request mentions offline RL datasets or algorithms (`CQL`, `BCQ`, `TD3+BC`, `DiscreteBCQ`, `DiscreteCQL`, `DiscreteCRR`), imitation learning (`GAIL`, behavior cloning, expert buffers), model-based or curiosity methods (`PSRL`, `ICM`), multi-agent algorithm wrappers, or multi-seed evaluation/benchmark utilities.

## Read First

- `references/api-reference.md`: class map, constructor shape, optional dependency boundaries, and cross-skill dependencies.
- `references/workflows.md`: safe workflows for offline buffers, imitation learning, model-based wrappers, MARL, and evaluation launchers.
- `references/troubleshooting.md`: import, optional dependency, dataset schema, launcher, and benchmark-scale failure handling.
- `scripts/check_offline_api_imports.py`: safe smoke probe for installed API availability and signatures; it performs no dataset downloads, training, networking, or source-checkout reads.

## Route Here For

- Building an offline trainer around a fixed `ReplayBuffer` for `CQL`, `BCQ`, `TD3BC`, `DiscreteBCQ`, `DiscreteCQL`, or `DiscreteCRR`.
- Preparing vanilla imitation learning or `GAIL` from expert data while validating expert/action schema before training.
- Wrapping existing on-policy/off-policy algorithms with `ICMOnPolicyWrapper` or `ICMOffPolicyWrapper`.
- Creating tabular `PSRL` components for small discrete state/action MDPs.
- Combining per-agent algorithms with `MultiAgentOffPolicyAlgorithm` or random masked agents for PettingZoo-style workflows.
- Planning bounded multi-seed evaluation with `SequentialExpLauncher`, `JoblibExpLauncher`, or rliable outputs without launching full benchmarks.

## Route Elsewhere

- General algorithm, policy, network, optimizer, collector, and trainer wiring belongs in `../procedural-training/SKILL.md`.
- `ReplayBuffer`, `VectorReplayBuffer`, `Batch`, collector hooks, and buffer serialization mechanics belong in `../data-collection/SKILL.md`.
- Gymnasium/PettingZoo environment wrapping, vector env worker selection, action masks from env wrappers, and optional env engines belong in `../envs-and-vectorization/SKILL.md`.
- Declarative high-level `Experiment` builder chains and persisted experiment directories belong in `../highlevel-experiments/SKILL.md`.

## Safety Defaults

- Treat D4RL, Atari, MuJoCo, EnvPool, PettingZoo games, VizDoom, robotics, and rliable/joblib stacks as optional until imports are proven.
- Do not run benchmark scripts, Atari/D4RL examples, or multi-seed experiment launchers as a smoke test; first reduce to one seed, one tiny env/task, low epoch/step counts, and explicit output directories.
- Validate offline buffer fields before choosing an algorithm: `obs`, `act`, `rew`, `done`/`terminated`/`truncated`, and `obs_next` must be present, aligned, finite, and shape-compatible with the policy and action space.
- Keep dataset loading separate from algorithm construction; use this sub-skill for algorithm/evaluation choices and `../data-collection/SKILL.md` for buffer mechanics.

Files in this skill

  • SKILL.md3.3 KB
  • references/api-reference.md10.5 KB
  • references/troubleshooting.md7.2 KB
  • references/workflows.md5.8 KB
  • scripts/check_offline_api_imports.py5 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.