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