Set the cast iron skillet aside and put the pot on the heat. Add the salt, red pepper flakes, and ground black pepper. Mix well. Let the ingredients cook for a few minutes, Next add the olives and red wine vinegar. Cook for three minutes. Add 2 tablespoons of the basil, 2 tablespoons of the pine nuts, and the capers. Cook another two minutes. Remove from the heat and let cool on the stove for 20 minutes, then place in the refrigerator and let cool overnight.