executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
modules-and-policiesAssemble TensorDict-native TorchRL modules, policies, recurrent actors, multi-agent models, and model-based policy wrappers.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task is about building or debugging TorchRL neural modules and policy wrappers: Actor, ProbabilisticActor, ValueOperator, QValueActor, SafeModule, SafeSequential, MLP, TanhNormal, MaskedCategorical, recurrent GRUModule/LSTMModule, set_recurrent_mode, multi-agent model modules, value normalization, world-model components, Decision Transformer wrappers, MCTS scores, or planners.
TensorSpec / Composite specs.is_init, and pad / scan / triton backend choices.MultiAgentMLP / MultiAgentConvNet and centralized/shared-parameter choices.step_mdp: use envs-and-transforms.objectives-and-training.collectors-and-replay.llm-vla-and-services.development-and-testing.Actor for deterministic observation -> action mappings.ProbabilisticActor for modules that first write distribution parameters, then sample/write actions.ValueOperator for state-value or state-action-value heads.QValueActor for discrete greedy policies over action_value tensors.SafeModule / SafeSequential when explicit spec projection or TensorDict sequencing is needed.is_init and hidden keys before trying training-time sequence batches.Run these after installing TorchRL. From this sub-skill directory:
python scripts/smoke_actor.py
python scripts/smoke_recurrent_actor.py
From another working directory, pass the actual local paths of this sub-skill's bundled scripts to Python.
The smoke scripts are CPU-only, deterministic, and assert TensorDict output keys/shapes. They do not depend on repository checkouts, simulator extras, Triton, CUDA, or external services.