Tag picker

I’m leaning heavily on tags in the frontmatter for managing my notes and tasks, but this relies on the tags being EXACTLY the same. However, tags in the frontmatter don’t autocomplete. I’d love a slash command that displays a search box of tags, allowing one to be selected which would add it to the frontmatter. Alternatively, autocomplete for tags in the frontmatter.
Is this sort of thing possible with scripts?

Brilliant, that’ll do me!
Thanks Zef