From macOS Ventura onwards, one can now use Quick Look in Spotlight to automatically pull up a search box:


At the moment, because Safari doesn't allow you to set your search engine to Kagi directly, it goes to whatever is set in Safari. Is it possible for the Safari extension to intercept those same queries done via Spotlight search?
For what it's worth, I did file a feature request with Apple for more search options in Safari.