The Skill installs an npm package when the dependency is absent
Source references: 2It directs the agent to run the project's package manager when `node_modules/ai/` is missing, without first requiring user confirmation. Installation fetches and processes the selected package and commonly changes the dependency manifest, lockfile, and `node_modules`.
A project may be persistently modified even when the user only wanted documentation or design advice. The install also introduces npm supply-chain and package lifecycle-script execution risk.
This is an active instruction to install when the directory is absent, without requiring prior user confirmation. The purpose is legitimate, but a package manager fetches code and commonly changes `node_modules`, the dependency manifest, and lockfile, and may run install lifecycle scripts. The user can restrict the agent to existing dependencies or require approval of the package, version, and expected file changes before installation.
1. Ensure `ai` is installed. If `node_modules/ai/` does not exist, install **only** the `ai` package using the project's package manager (e.g. `pnpm add ai`). Install provider packages (e.g. `@ai-sdk/openai`) and framework packages (e.g. `@ai-sdk/react`) later, when the task requires them.2. Read and grep the bundled docs at `node_modules/ai/docs/` and the source at `node_modules/ai/src/`.Show 1 other places
The `ai` package ships its full documentation and source code inside `node_modules`. These always match the installed version, so trust them over anything you remember.