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
imagededupRoute image deduplication tasks for the imagededup package: hash-based duplicate detection, CNN-based duplicate detection with custom models, and evaluation or plotting of duplicate maps.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill for the imagededup package when the task is about finding exact or near-duplicate images, generating encodings, comparing duplicate maps, or plotting duplicate relationships.
sub-skills/hashing/SKILL.md for perceptual, average, difference, or wavelet hashing; duplicate search by Hamming distance; or remove-list generation.sub-skills/cnn/SKILL.md for CNN-based encodings, pretrained or custom models, cosine-similarity duplicate search, or GPU/CPU behavior.sub-skills/evaluation/SKILL.md for evaluating retrieved duplicate maps and plotting duplicate groups.Create an isolated Python 3.11 environment, then install the package from PyPI plus the runtime imports that this version uses but does not fully declare in metadata.
python -m pip install "imagededup==0.3.3.post2" numpy scipy
If you plan to run package tests in a separate source checkout, also install pytest and pytest-mock there.
from imagededup.methods import PHash, AHash, DHash, WHash, CNN
from imagededup.evaluation import evaluate
from imagededup.utils import plot_duplicates, CustomModel
Read the matching sub-skill when the user asks for any of the following:
PHash, AHash, DHash, or WHashfind_duplicates / find_duplicates_to_remove with Hamming thresholdssearch_method, bktree, brute_force, or brute_force_cythonCustomModelevaluate, MAP, NDCG, Jaccard, precision, recall, or F1plot_duplicatesreferences/installation.md for repo-specific install notes, including missing metadata dependencies and CNN weight downloads.references/troubleshooting.md for cross-cutting import, image-format, backend, and Windows multiprocessing issues.references/repo-provenance.md when you need the source revision behind this skill.references/repo-routing-metadata.json when another agent needs to route tasks into this repo skill.sub-skills/hashing/scripts/hash_smoke.py to generate a synthetic hash workflow smoke check.sub-skills/cnn/scripts/cnn_smoke.py to exercise CNN encoding and duplicate search with a safe synthetic fixture.sub-skills/evaluation/scripts/evaluate_plot_smoke.py to exercise metrics and duplicate plotting with generated data.When in doubt, prefer the most specific sub-skill that owns the user-visible workflow, then use the shared references only for install or troubleshooting context.