I managed to get pretty close by creating a workflow with keyword `pw` that runs this bash script:
osascript -e 'open location "x-onepassword-helper://search/{query}"'
You use it by typing something like "pw twitter". That opens the 1Password mini search and you can then press the right arrow key and hit enter to copy the password.