this is what i do under this condition: -
dry and dusty - use a brush to dust aorund the derailleur or what ever parts you wanna clean. then lube the chain (if needed), derailleur, cable, etc.
muddy - straight after riding, hose down yr bike (not spray) with water. u can then wipe it dry...