Whisk the pudding mix into the cold milk for 2 minutes, until a spoon dragged through leaves a clear trail that doesn't fill back in right away.
Fold the whipped topping gently into the pudding until no white streaks remain, which lightens the texture so it's easy to spoon.
Chill the pudding for 15 minutes before building, so it firms up enough to hold a cookie crumb layer without sinking.
Set out 12 small clear cups so the layers show through the side, since the look is half the point of a dirt cup.
Spoon a thin layer of crushed cookie crumbs into the bottom of each cup, pressing lightly so it sits flat.
Add a layer of pudding on top, filling each cup about halfway, then smooth the surface with the back of a spoon.
Repeat with another layer of crumbs, then pudding, finishing just short of the rim so there's room for the top layer.
Cover the top of each cup with a generous layer of crumbs, patting flat so it looks like loose soil.
Push a gummy worm halfway into the top crumb layer so it curls above the surface, then chill at least 1 hour before serving so the layers set.