1. Create a new document (Ctrl+N), fill the "Background" layer with a blue that resembles a sky and create a new layer with a layer mask.
2. Apply a "Clouds" filter (Filters> Render> Clouds) in the top layer's mask.
3. Duplicate the top layer (Ctrl+J) and apply a "Difference Clouds...