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
checkpoints-and-diagnosticsInspects and troubleshoots MuZero General checkpoints, replay buffers, TensorBoard artifacts, and model-dynamics diagnostics.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is to load or inspect model.checkpoint, reason about replay_buffer.pkl, avoid checkpoint/config mismatches, understand results/<game>/<timestamp>/, run non-interactive diagnostics, or troubleshoot Graphviz/matplotlib/TensorBoard artifacts.
Read checkpoints-and-diagnostics.md for checkpoint schema, save/load paths, replay buffer fields, DiagnoseModel methods, TensorBoard artifacts, and safe headless workflows.
Read troubleshooting.md when paths are invalid, torch.load fails, weights do not match the selected config/network, replay buffer loading fails, Graphviz is missing, or plotting blocks a headless session.
Inspect a checkpoint without running a model:
python sub-skills/checkpoints-and-diagnostics/scripts/inspect_checkpoint.py --checkpoint <model.checkpoint> --json
Before calling MuZero.load_model(...), confirm the intended game/config in games-and-configs and model shape compatibility in models-and-mcts.
This sub-skill owns:
MuZero.load_model(checkpoint_path=None, replay_buffer_path=None) behavior.SharedStorage.save_checkpoint(path=None) and default model.checkpoint paths.DiagnoseModel and Trajectoryinfo usage boundaries.Route elsewhere when the task is primarily about:
torch.load(..., map_location="cpu") for inspection unless the user explicitly wants GPU loading.results/ binary checkpoints; they are evidence of schema and naming only.MuZero.diagnose_model in automation; it calls plotting paths and then waits for input.DiagnoseModel(...).compare_virtual_with_real_trajectories(..., plot=False) only after a matching config/game/checkpoint is loaded and a real observation is available.Before loading a checkpoint for testing or diagnostics:
network, support_size, observation_shape, action_space, stacked_observations, channels/encoding_size, and downsample fields match the saved weights.