Skip to content
Back to skills

Sac Off Policy Replay

ASecurity

Build and sample validated off-policy replay batches for Soft Actor-Critic recovery harnesses.

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
toolspython

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill sac_off_policy_replay --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sac Off Policy Replay?

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

Security grade badge for Sac Off Policy Replay
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-sac-off-policy-replay/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-sac-off-policy-replay)

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

SKILL.md
---
name: sac_off_policy_replay
description: Build and sample validated off-policy replay batches for Soft Actor-Critic recovery harnesses.
---

# SAC Off-Policy Replay

Use this skill when a SAC experiment needs a compact replay-buffer abstraction that stores transitions and produces deterministic minibatches. Do not compute SAC losses here.

## Inputs
- Transition records containing `state`, `action`, `reward`, `next_state`, `done`, and `log_prob`.
- Optional integer sample indices.

## Outputs
- A validated replay batch.
- Summary counts and deterministic sampled transitions.

## Workflow
1. Validate every transition has the required fields.
2. Convert numeric fields to finite floats and `done` to bool.
3. Preserve the stored transition order.
4. Sample by explicit indices so tests and recovery runs are reproducible.

## Validation
Run `python tests/test_replay.py` or validate the full skill tree with the Distiller validator.

## Limitations
This is a bounded recovery utility, not a high-throughput production replay buffer.

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.