Preheat the oven to 200°C (400°F).
In a medium oven-proof skillet or baking dish, toss cherry tomatoes and minced garlic with olive oil, oregano, and red pepper flakes.
Roast the tomatoes for 10 minutes until they start to burst.
Remove the skillet from the oven and stir in the baby spinach until it begins to wilt from the residual heat.
Create four small wells in the tomato and spinach mixture using the back of a spoon.
Crack one egg into each well and sprinkle the crumbled feta cheese around the eggs.
Return the skillet to the oven and bake for 8 to 12 minutes, or until the egg whites are set but the yolks remain runny.
Season with freshly ground black pepper and serve immediately.