Editor scripting is still on the roadmap for a public release, though you can still write your own with the current unofficial API. Check this thread (it’s old, but most things hold true today):
And here is a community framework to simplify writing editor scripts: