Skip to content

Cannot add ai-gateway skill with npx skills add vercel-plugin --skill ai-gateway command #172

Open

Description

@campbellgoe

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.

https://vercel.com/docs/ai-gateway/getting-started/realtime#:~:text=Install%20Vercel%27s%20focused%20AI%20Gateway%20skill%20before%20delegating%20this%20setup%3A

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 [email protected]
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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions