VS Code can only load json grammars, so yaml based grammars must be converted to json. The js-yaml package and command-line tool makes this easy.
$ npm install js-yaml --save-dev
$ npx js-yaml syntaxes/moxi.tmLanguage.yaml > syntaxes/moxi.tmLanguage.json
https://codevsce package.visualstudio.com/api/working-with-extensions/publishing-extension
https://code.visualstudio.com/docs/editor/extension-marketplace#_install-from-a-vsix