Cut the avocado in half and remove the pit. Place the avocado with flesh side up in a small baking dish. You could also use muffin tins to hold the avocado upright.
Carefully crack an egg over a bowl so that the yolk remains whole in one of the open halves. Allow the egg white to drip off in the bowl. Place the yolk on one half of the avocado hole. Spoon just enough egg white over it so that it doesn’t drip off the avocados. Repeat the process with the second egg for the second half of the avocado.
Sprinkle salt and pepper. Scatter chopped spinach and chili flakes evenly on the avocado.
Place the baking dish on the middle rack of the pre-heated oven and bake for 18 minutes or until the eggs white is set but the yolk is still runny.
Take it out of the oven, shave parmesan cheese on top and enjoy warm!