I used to use ghostty's applescript and built that into a claude skill. It worked like a charm. But this feels super interesting for programmability