What is the KDE equivalent of a Nautilus script?
In the KDE world, the default File browser is Dolphin (instead of Nautilus), and the scripts (like in Nautilus) it has called Service menu.
See here for the official list of them.
those are now here: https://store.kde.org/browse/cat/102/ord/latest
but heavily censored, and may or may not work at any given time.