Preheat air fryer to 375°F for 5 minutes.
Brush oil over squash flesh and sprinkle the squash with salt and pepper. Working in batches if necessary, place the squash, skin-side down, in the fryer basket; cook until tender, about 18 minutes.
Remove the squash from the air fryer. Shred the flesh with a fork and transfer to a serving dish.