Skip to content
Back to skills

Transition Skill Batching

ASecurity

Build and validate aligned CIC state-transition and continuous skill batches for contrastive intrinsic control recovery experiments.

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

Works with

  • cli

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Transition Skill Batching?

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

Security grade badge for Transition Skill Batching
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-transition-skill-batching/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-transition-skill-batching)

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

SKILL.md
---
name: transition_skill_batching
description: Build and validate aligned CIC state-transition and continuous skill batches for contrastive intrinsic control recovery experiments.
---

# Transition Skill Batching

Use this skill when a CIC-style experiment needs to construct `tau = concat(s, s_next)` and preserve alignment between transition tuples and continuous skill vectors. Do not use it for downstream reward evaluation or for contrastive loss computation; those belong to separate skills.

## Inputs

- `states`: two-dimensional numeric rows representing current states.
- `next_states`: two-dimensional numeric rows with the same shape as `states`.
- `skills`: two-dimensional numeric rows with the same batch size.
- Optional synthetic batch arguments: `batch_size`, `state_dim`, `skill_dim`, and `seed`.

## Outputs

- `tau`: transition tuples formed by concatenating each state and next state.
- `metadata`: batch size, dimensions, and source label.
- JSON output when running the CLI script.

## Workflow

1. Validate all arrays are non-empty rectangular numeric matrices.
2. Confirm `states` and `next_states` have identical shapes.
3. Confirm `skills` shares the same batch size.
4. Concatenate current and next states across feature dimension.
5. For reduced recovery, generate a deterministic synthetic batch where each skill controls a repeatable transition direction.

## Validation

Run:

```bash
python scripts/transition_batch.py --demo
python tests/test_transition_batch.py
```

## Limitations

This skill does not estimate rewards, train encoders, or sample from an RL replay buffer. It only preserves the transition-skill data contract needed by CIC.

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…