Mix the flour, ginger, cinnamon, cloves, baking soda, and salt in a bowl.
In another bowl, beat the butter and brown sugar until smooth.
Add the egg, molasses, and vanilla extract, then mix until well combined.
Gradually add the dry ingredients and mix to form a soft dough.
Cover the dough and chill it for about 30 minutes.
Heat the oven to 350°F (175°C).
Roll out the dough on a lightly floured surface and cut into shapes.
Place the cookies on a lined baking tray.
Bake for 8 to 10 minutes until set and lightly golden.
Let the cookies cool before serving.