Sorry for lacking documents and guidance. When you enable a script, you can trigger it by typing 「/」 in command palette (cmd + k). Currently, the selected text only works with the prompt. You reminded me that the script should also be able to handle selected text, and I will add this feature.
Sync is on the roadmap.