-
Preheat the oven to 350°F with a rack in the center position. Line 2 baking sheets with parchment, or lightly grease.
-
Set aside 2 tablespoons (about 11g) of the coconut and 2 tablespoons (about 14g) of the pecans; keep the pecans and coconut separate. Place the remainder on one of the prepared baking sheets, stir to combine, and spread into a single layer.
-
Bake the coconut and pecans for 8 to 10 minutes, stirring once halfway through, or until most of the coconut has become golden brown and fragrant. Transfer the ingredients to the other baking sheet to cool.
-
In a medium bowl, combine the flour, oats, salt, cinnamon, baking powder, and baking soda.
-
In a large bowl or the bowl of a stand mixer fitted with the flat beater, beat the brown sugar, butter, and corn syrup until fluffy, about 2 minutes on medium speed.
-
Add the vanilla, stir to combine, then add the egg followed by the egg yolk, mixing after each addition until incorporated. Add the dry ingredients to the bowl and mix until only a few white streaks remain. Add the chocolate chips, coconut, and pecans all at once and stir to combine. Throughout the process, scrape the bowl to ensure all ingredients are well combined.
-
Use a tablespoon cookie scoop to scoop 2-tablespoon portions (about 50g), rolling or squeezing the dough in your hands to make neat balls. Place 9 cookies on each baking sheet with at least 2" of space between them.
-
Place the reserved pecan pieces (from step 2) onto individual dough balls, pressing them slightly to adhere, then sprinkle each dough ball with the reserved coconut and a pinch of flaky salt.
-
Bake the cowboy cookies, 1 baking sheet at a time, for 13 to 14 minutes or until the edges are set and golden brown but centers are still soft.
-
Remove the cowboy cookies from the oven and let them cool on the baking sheets for 5 minutes, then transfer to a rack to cool.
-
Repeat with the second tray of cookies. Serve warm or at room temperature.
-
Storage information: Store leftover cowboy cookies in an airtight container at room temperature for up to 5 days.