As/when/if the spirit moves you British clause
Someone does something when they feel it is the right time.
I love home-made food, but I'll eat out if the spirit moves me.
He travels abroad when the spirit moves him.
I have no idea what he will do, he usually acts as the spirit moves him.
It is unclear information about the origin of the expression, but a source says that it came from the work 'The Quaker Doctrine of the Holy Spirit' in 1959.
A humorous way of saying that what one has said is just what they acknowledge and may not be entirely accurate
Mike: Have you returned from your vacation on the beach? Your skin seems to get tanned.
Jenny: My skin is always dark. That's my story and I'm sticking to it!