Drizzle olive oil into a skillet set over medium heat. Once the olive oil begins to shimmer, add in the onions and cook until tender, about 3 minutes.
Stir in the tomato sauce, minced garlic, red pepper flakes, salt and pepper. Sprinkle with half of the parsley and allow the tomato sauce mixture to thicken, about 5 minutes.
Break an egg into a small bowl and using a large spoon, make an indention in the tomato sauce mixture. Repeat with the remaining eggs.
Top with the grated cheese, salt and pepper. Cover the skillet and cook until the whites of the eggs are set and the egg yolks are cooked to the desired level of doneness. Remove cover from the skillet and remove the skillet from the heat. Sprinkle with remaining parsley and serve