How would i make a dynamic skybox?

I think the default sky does this, no?