In a bowl, beat the softened butter with both sugars until combined, then add the egg and vanilla. Stir in the flour, baking soda, and salt just until no dry streaks remain, then fold in the chocolate chips and set the cookie dough aside.
In a separate bowl, whisk the melted butter with both sugars until smooth, then whisk in the eggs one at a time followed by the vanilla. Add the cocoa powder, flour, and salt and stir just until combined so the batter looks thick and glossy, then fold in the chocolate chips.
Spread most of the brownie batter in an even layer across a parchment-lined 9x13-inch pan. Drop spoonfuls of cookie dough over the brownie batter, leaving gaps between them, then fill the gaps with the rest of the brownie batter and dot the surface with the remaining cookie dough.
Bake at 350°F for 33-38 minutes, pulling the pan at 33 minutes for a gooier center or closer to 38 for bars that hold their shape. The cookie portions should look barely golden at the edges and the center should look set, not wet and shiny. Test in a chip-free spot near the center for moist crumbs rather than a totally clean toothpick.
Let the pan cool completely, at least an hour, before lifting the brookies out by the parchment and cutting into squares.