Take a medium sized bowl. Add red pepper flakes, salt and shrimps in it

Place a large frying pan over medium heat and spray non stick cooking spray

Now add shrimps and toss them while they are cooking

Transfer the cooked shrimps on a plate and set it aside

In the same pan used for shrimps, add some onions and sauté them till they become translucent

Then add chicken broth, garlic, chopped tomatoes, rosemary and oregano and allow the mixture to simmer so that they become thick

Into the pan add the cooked shrimps and spaghetti squash and cook again for a minute or so.