I maintain https://github.com/unixorn/tumult.plugin.zsh, a collection of macos-specific shell scripts.
Enable/disable screen sharing, enable/disable file sharing, display dialogs from inside your shell scripts, make disk images from directories, manipulate the clipboard, toggle scripts for a lot of gui settings, and many more.