First, combine the basil, garlic, pine nuts, salt, chili flakes in a food processor and process until little pine nuts remain, scraping the sides as you go. Don’t over process.
Next, drizzle in the olive oil until you reach your desired consistency.
Lastly, freeze in pliable silicone molds, covered with plastic. After they are frozen, store in a freezer bag, labeled with contents and the date.
Add a cube here or there, wherever a recipe could use a bit of depth and flavor. No need to defrost before use, if you’re adding it to a hot pot. It will melt in minutes.