The PopClip widget is a indispensible tool on macOS.
The developer recently introduced a feature called “extension-snippets” where an extension’s code can be plain text, which PopClip will recognize as a “extension” (capture macro) and install the code into itself.
Here’s one for clipping to your Obsidian daily note
The basis of this action is advanced-url community plugin, so the example mentioned above is very extensible.