Cannot add ai-gateway skill with npx skills add vercel-plugin --skill ai-gateway command
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 287
- Forks
- 58
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 17
Description
In an existing pnpm / next.js project
Attempting to add realtime conversational ai voice interactivity, or if out of scope then speech to text to transcribe mic input into a textarea.
Guide to get started: https://vercel.com/docs/ai-gateway/getting-started/realtime
Added "type": "module" to package.json
Installed dependencies with pnpm.
Ran the npx skills add vercel-plugin --skill ai-gateway command
bash $ npx skills add vercel/vercel-plugin --skill ai-gateway
output:
. See npm help npmrc for supported config options.
npm notice run invoflow-tokyo-invoicing-ruby@1.0.0
npx
npm notice run skills add vercel/vercel-plugin --skill ai-gateway
███████╗██╗ ██╗██╗██╗ ██╗ ███████╗
██╔════╝██║ ██╔╝██║██║ ██║ ██╔════╝
███████╗█████╔╝ ██║██║ ██║ ███████╗
╚════██║██╔═██╗ ██║██║ ██║ ╚════██║
███████║██║ ██╗██║███████╗███████╗███████║
╚══════╝╚═╝ ╚═╝╚═╝╚══════╝╚══════╝╚══════╝
┌ skills
│
◇ Source: https://github.com/vercel/vercel-plugin.git
│
◑ Fetching skills….│
■ Unexpected flow-seq-end token in YAML stream: "]" at line 75, column 55:
│
│ pattern: 'from\s+[''"]ai[''"]|require([''"]ai['''])|\b(generateText|strea…
│
^
│
│
│ Tip: use the --yes (-y) and --global (-g) flags
to install without prompts.
│
└ Installation failed
■ Canceled
In my package .json
"dependencies": {
"@ai-sdk/gateway": "^4.0.75",
"@ai-sdk/react": "^4.0.93",
"ai": "^7.0.90",
"ws": "^8.21.3",
"tsx": "^4.22.4",
"@types/ws": "^8.18.1",
...
dev Deps
"@types/node": "^22.20.0",
"@types/react": "^19",
"@types/react-dom": "^19",
"typescript": "^5.9.3"
...
Do I have to add the skill or can I follow the tutorial without it?
- I will try to follow without the skill
Thanks.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the skill manifest fetched from https://github.com/vercel/vercel-plugin and inspect the YAML reported at line 75, especially the pattern value shown in the error. Re-run npx skills add vercel/vercel-plugin --skill ai-gateway; done means the ai-gateway skill installs without the YAML parser error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- next.js, typescript, yaml
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 70/100