Heat your oven to 350 degrees. Sift together your flour, baking powder, baking soda, and salt. Pulse the peanuts in a food processor until they're the texture of breadcrumbs.
In the bowl of a stand mixer, beat together the butter and the sugars until well-integrated, about three minutes. Add the peanut butter and beat until that's nicely worked in, scraping down the sides of the bowl as necessary. Beat in the eggs, one at a time, and finally beat in the vanilla.
With a rubber spatula, fold in the dry ingredients: starting with the flour mixture and finishing with the ground-up peanuts. Don't overwork the dough.
Line two cookie sheets with parchment paper. Using a 1/4-cup scoop, scoop the cookies on to the cookie sheets, spacing them two inches apart (they'll spread). Wet a fork with cold water and create a cross-hatch pattern in each cookie. If you like 'em salty, sprinkle each cookie with a little Maldon sea salt.
Bake the cookies, one sheet at a time, for about fifteen minutes -- just until the cookies are slightly brown on the outside. They won't look completely done in the middle, but that's okay. Remove the cookie sheet to a wire rack and allow to cool completely.