Preheat your oven to 190°C/390°F.
In a large bowl, combine the cooked pasta with the beaten eggs. Mix thoroughly.
Add the cubed mozzarella cheese, fresh spinach leaves, sliced cherry tomatoes, cooked peas, and chopped herbs. Season with salt and pepper.
Brush a medium-sized oven-safe skillet with extra virgin olive oil.
Pour the spaghetti mixture into the skillet, ensuring it’s evenly distributed.
Cook on medium heat for about 5 minutes until the edges are firm but the center is still runny.
Transfer the skillet to the oven and bake for about 10 minutes until the center is set and the top is golden brown.
Let it cool for a few minutes before serving warm or at room temperature.