The Prayer to the Cloud of Unknowing is performed by Cylon agents when they believe that that downloading is impossible and imminent, permanent death is near.
Several Cylons, all infected by a contagion found on a ancient beacon, crawl to each other on their stricken basestar to say the prayer. Lee Adama learns of this prayer from Sharon Agathon and witnesses the event (A Measure of Salvation).