The Clipboard Filter trigger (v8+) lets you add your macro to the action menu in the Clipboard History Switcher user manual section.
For example:
The macro will appear in the action menu in the Clipboard Switcher, and can reference the Trigger Clipboard to operate on the selected clipboard.
You can control the sorting order of macros by adding two characters and a closing bracket (eg “01)My Macro”). The prefix will be removed before displaying in the status menu, but will be used to control the order of the macros shown.
You can edit a macro by holding down the option key and selecting it from the action menu menu.