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
objectives-and-trainingChoose and wire TorchRL losses, value estimators, target updaters, trainers, Hydra configs, and SOTA recipes.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task is about TorchRL objective modules, value estimators, target-network updates, trainer hooks, Hydra algorithm configs, or choosing an algorithm recipe. Typical triggers: ClipPPOLoss, PPOLoss, SACLoss, DQNLoss, DDPGLoss, TD3Loss, IQLLoss, CQLLoss, MAPPOLoss, ValueEstimators, make_value_estimator, set_keys, _AcceptedKeys, SoftUpdate, HardUpdate, Trainer, trainer hooks, config parity, and sota-implementations.
modules-and-policies. Return here after the modules expose the TensorDict keys the loss expects.collectors-and-replay. Return here for loss-side priority keys and target updates.step_mdp, simulator setup, and transforms belong to sibling sub-skill envs-and-transforms.llm-vla-and-services; this sub-skill only covers generic loss-key and trainer conventions that those workflows share.out_keys, environment action_spec, replay sample keys, and ("next", ...) transition fields must match the loss key map.loss.set_keys(...) using the accepted key names listed in loss API reference. Prefer NestedKey tuples for nested fields.loss.make_value_estimator(ValueEstimators.<name>, ...) or a standalone estimator such as GAE; make sure reward/done/terminated keys are forwarded to the estimator.step() at the correct cadence; see training algorithms.Trainer, register hooks deliberately and follow config/class parity rules from trainer and configs.set_keys is available, default configurable TensorDict keys when accessible, and the default value estimator. It performs no training and is safe to run from any current directory.The skill content is based on repository source, public reference docs, tutorials, SOTA recipe files, objective tests, trainer/config code, and CPU package/API inspection. Core objective/trainer APIs are CPU-verifiable. CUDA kernels, Triton paths, distributed learner backends, simulator-heavy examples, and long SOTA training are optional or reference-only unless a future task provisions those dependencies explicitly.