Heat ghee or oil in a heavy-bottomed pot or handi over medium heat.
Add the sliced onions. Fry them, stirring constantly, until they are uniformly golden brown. Be careful not to burn them, as they will turn bitter. Set aside a quarter of the fried onions for garnish.
Add the whole spices (bay leaf, cardamoms, cloves, cinnamon, star anise, shahi jeera) and the slit green chili to the remaining oil. Sauté for 1 minute until fragrant.
Add the marinated chicken and sear for 5 minutes until the meat turns pale.
Lower the flame completely, cover the pot, and cook until the chicken is tender and soft. (The chicken will cook in its own juices and the yogurt).