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
particle_entropy_rewardEstimate CIC intrinsic reward using k-nearest-neighbor particle entropy over learned transition embeddings.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when a CIC-style recovery or implementation needs the entropy-based intrinsic reward over state-transition embeddings. Do not use this skill to compute the contrastive loss or downstream task reward.
embeddings: two-dimensional transition embedding matrix.k: number of nearest neighbors to average, clamped to batch_size - 1.epsilon: positive distance stabilizer before logarithms.rewards: per-transition intrinsic reward values based on average log nearest-neighbor distances.diagnostics: min, max, mean reward, effective k, and neighbor distances.k neighbors for each point.log(distance + epsilon) as the intrinsic reward.Run:
python scripts/entropy_reward.py --demo
python tests/test_entropy_reward.py
This skill implements the reward estimator only. It does not interact with an RL environment or train a policy.