Preheat your oven to 350°F (175°C).
In a large mixing bowl, cream together the softened butter, brown sugar, and granulated sugar until light and fluffy.
Add the eggs one at a time, mixing well after each addition. Stir in the vanilla extract.
In a separate bowl, combine the flour, baking soda, and salt. Gradually add the dry ingredients to the wet ingredients, mixing until just combined.
Fold in the chocolate chips and nuts (if using) until evenly distributed throughout the dough.
Grease a 12-inch cast iron skillet or oven-safe skillet. Spread the cookie dough evenly in the skillet.
Bake in the preheated oven for 25-30 minutes, or until the edges are golden brown and the center is set.
Allow to cool slightly before serving. Enjoy warm, optionally topped with ice cream.