If you are experiencing bluetooth lag such as slow or jerky input on your devices, resetting the bluetooth chip in your mac might fix the issue.
The shortcut simply runs a shell script to reset the bluetooth device in your mac: sudo pkill bluetoothd
.
Download ResetBluetooth.zip and extract it anywhere on your mac. Install the shortcut by double-click the file and pressing 'Add Shortcut'.
Once installed, use the shortcut by clicking the Shortcut icon in your menu bar and hitting 'Reset Bluetooth'.
All bluetooth devices will briefly disconnect before reconecting.
This has helped me fix the lag that appears on my Logitech MX Master 3S / MX Master Keys in the past.