Heat olive oil in an oven-safe skillet over medium heat.
3. Step
Once the oil is shimmering, add the garlic, ½ of the onion red onion, salt, pepper, and red pepper flakes, and cook until the onion is softened, about 3 minutes.
4. Step
Add the crushed tomatoes and stir, bringing the mixture to a simmer.
5. Step
Crack the eggs directly into the tomato mixture, and transfer to the oven.
6. Step
Bake until eggs are set, about 11 minutes.
7. Step
Top with avocado, cherry tomatoes, cilantro, and remaining red onion.