To prepare gluten-free Hermit Cookies, substitute the all-purpose flour with a 1:1 gluten-free baking flour blend that includes xanthan gum to maintain structure and texture. Ensure that all other ingredients, including the baking soda, spices, and flavor extracts, are certified gluten-free to avoid cross-contamination. The result will retain the cookies’ signature chewy texture and rich spiced flavor.