A spoon (plugin) for hammerspoon that allows opening any application's menu as a command palette.
Clone this repository inside of ~/.hammerspoon/Spoons, then add hs.loadSpoon("MenuChooser") to your init.lua.
Then, the chooseMenuItem function opens a command palette for the current application.
This is available as open source under the terms of the MIT License.