Preheat your oven to 350°F (175°C).
In a large mixing bowl, combine the softened butter, brown sugar, and vanilla extract. Beat until light and fluffy, about 2-3 minutes.
Add the eggs and chocolate pudding mix. Mix until well combined.
In a separate bowl, whisk together the flour, cocoa powder, baking soda, baking powder, and salt.
Gradually add the dry mixture to the wet ingredients and mix on low speed until just combined.
Fold in the semi-chocolate squares and white chocolate chips. Add nuts if using.
Using a cookie scoop, drop dough onto prepared baking sheets, leaving space between cookies. Bake for 10-12 minutes.
Once baked, cool on the baking sheet for 5 minutes before transferring to a cooling rack.