What's an editor script?

Is there any documentation for using editor scripts? I can't find any information about them.

Editor scripts only run in the editor, and they allow you to extend the functionality of the editor. Actually the entire Unity editor is written using editor scripts, so almost everything you see while using the Unity GUI can be duplicated in your own scripts. Read the docs to find out about how to use them, starting here.