While discussing the various Vratas Agni Purana in one of its chapters has discussed the Trayodashi Vratas in detail. Explaining the Trayodashi Vratas the first Vrata which has been mentioned in the Agni Purana is Ananga Trayodashi. This Vrata was first practised by the god of love, on the day of the thirteenth phase of the moon`s increase, in the month of Magha, by worshipping the god Hara. The Vrati should take honey on the day of the observance, worship the god Hara, and perform the essential Homa ceremony, by casting libations of clarified butter mixed with sessamum and sun-dried rice into the sacrificial fire.
Agni Purana narrates that thus by propitiating the god Yogeshvara with a Homa, on such a Tithi in the month of Pousha, as well as by worshipping the god Maheshwara in the month of Magha after having eaten no other thing than Mouktika, the penitent would ascend heaven after death. Similarly a Vrati should take water simply and worship the god Kakola on such a Tithi in the month of Phalguna, and live on camphor and worship the god Maheshvara on a similar Tithi in the month of Chaitra, whereby his fortune would take a better turn. Similarly, the penitent living on a diet of Jati fruits simply, should worship the god Maharupa, on such a Tithi in the month of Vaishaka, while on a similar occasion, he should worship the god Pradumnya in the month of Jaistha, by eating cloves simply. Likewise the observer of the vow should worship the husband of the goddess Uraa in the month of Ashada, while he should take nothing but perfumed water on a similar occasion in the month of Shravana and worship the trident-bearing god.
It has been said in the Purana that similarly the Sadyojata manifestation of Lord Mahadeva, should be worshipped in the month of Bhadra, and the penitent should propitiate his spiritual preceptor as well. Likewise; a Vrati should worship the lord of the celestials in the month of Ashvina, and drink the washings of gold on the day of its observance. The god Visheshvara should be worshipped in the month of Kartika on a similar Tithi, and the penitent should eat nothing else than the plant known as the Madanaka, duly cooked and prepared. The Lord Shiva manifestation of Shambhu, should be worshipped in the month of Agrahayana or at the close of the rainy season, covered over with the leaves of a mango tree. Clothes and other wearing apparels should be offered to the god on the occasion, and gifts of cows, beds, umbrellas, pitchers, shoes and juicy and luscious edibles, should be made to the Brahmanas.
Towards the end of this adhayaya it has been said that the Vrata, known as the Kamatroyodashi, should be practised on the day of the thirteenth phase of the moon`s increase in the month of Chaitra as follows. An image of the celestial elephant known as Ashoka should be painted with red lead, and the Vrati should worship the same at each night fall through out the year, whereby he would obtain all his wished for objects in life.