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
model-operationsOperate PyOD model persistence, thresholding, score combination, optional extras, and validation safely.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a PyOD task is about operating fitted detectors after or around training: saving and loading models, validating recovered artifacts, choosing non-contamination thresholders, combining multiple detector scores, enabling optional operational extras, and diagnosing model-operation failures.
Route detector selection, baseline fit/predict recipes, and tabular model-family choice to classic-detectors or automated-lifecycle. Route graph, time-series, embedding, audio, and deep-backend constraints to specialized-modalities before applying persistence or operational validation guidance here.
pyod.utils.persistence.load(..., trusted=True) or compat_load(..., trusted=True) only for artifacts from a trusted training pipeline, registry, or owner. trusted=True is an acknowledgement, not a scan or sandbox.pyod.utils.persistence.save / load for new artifacts. Raw joblib.dump / joblib.load is a fallback only when you intentionally need the raw format and accept the missing envelope metadata.combo, pythresh, suod, or xgboost; failures in those areas are usually dependency-scope failures, not detector logic failures.save, load, compat_load, trust boundaries, sklearn Tree dtype compatibility, metadata, strict mode, and raw joblib caveats.pyod.models.thresholds, PyThresh-backed contamination objects, pyod.models.combination, required score shapes, and validation checks.Run the bundled script from any working directory in an environment with PyOD installed:
python scripts/persistence_smoke.py --help
python scripts/persistence_smoke.py --json
A passing run proves the local PyOD install can perform a trusted temporary persistence round-trip for a classic detector. It does not prove that an arbitrary external artifact is safe, compatible, or semantically valid.