When buying spaghetti squash, make sure the skin is very firm and bright yellow in color. Also, if you try to scrape it with your nail, it should not peel off easily. If the spaghetti squash has brown discoloration or peels off easily with your nails, it is beginning to go bad.