Preheat oven to 390°F (200°C), line two baking sheets with parchment paper.
Combine flour, baking powder, chili, garlic, herbs, cheese, salt, pepper, sugar, and scallions in a bowl. Set aside.
In a small bowl, combine the flesh of the avocados and the oil and mash with a fork into a smooth paste.
Add the avocado paste to the flour mixture. Add the buttermilk and stir to combine with a spatula until you have the right consistency of dough.
Brush your hands with water so that the dough does not stick to your fingers. Form small cookies with your hands, add to the baking sheet with parchment paper (leave an inch space between the cookies).