Line an 8-inch square metal pan with a parchment sling, leaving overhang on two sides.
In a large bowl, mix the butter, flour, oats, 2/3 cup sugar, salt and vanilla with your hands or a wooden spoon until it forms clumpy crumbs.
Press a little more than half the crumble firmly and evenly into the pan.
Place the pan in the air fryer and air fry at 320°F for 10 minutes, until the crust looks set and dry.
Meanwhile, toss the cranberries with 1/3 cup sugar, the cornstarch and the orange zest, if using.
Spread the cranberries over the warm crust. Squeeze the remaining crumble into small clumps and scatter over the top.
Air fry at 320°F for 18–22 minutes more, until the topping is golden and the juices bubble at the edges. Cover loosely with foil if the top browns early.
Cool in the pan 1 hour, then refrigerate 30 minutes. Lift out with the parchment and cut into 8 bars.