Preheat the oven to 350 F. In a medium bowl, whisk together flour, pudding mix, salt, and baking soda. In a large bowl, mix together butter, peanut butter, brown sugar, and granulated sugar until fluffy. Add in egg and vanilla extract and mix until smooth.