To sub ghee for butter in a baking recipe you'd need to add a blend of water and ghee to make up for the water lost during the ghee making process. For my recipes, I use about 10% water to 90% ghee by weight when replacing butter.
That might not be required for recipes you're not baking, but for recipes that rely on steam to create layers it's important to put back in some of the moisture.