Preheat the oven to 325–350°F and line a baking sheet with parchment paper.
Whisk together the almond flour, coconut flour, baking powder, salt, and xanthan gum.
In a separate bowl, mix the softened dairy-free butter with the allulose. Stir in the beaten egg, almond milk, vanilla, and molasses.
Stir the dry ingredients into the wet ingredients until a dough forms, then fold in the chopped chocolate.
Scoop the dough onto the prepared baking sheet and gently flatten each cookie.
Bake for about 10–12 minutes. Let the cookies cool completely on the pan before moving them.