Combine peanut butter, melted butter, sugar, brown sugar, egg, and vanilla in a large mixing bowl. Add the dry ingredients to the peanut butter mixture.
Combine flour, cocoa powder, and salt in a medium bowl. Whisk together the melted butter, sugar, eggs, and vanilla. Combine the two and spread over the peanut butter layer.