/list-npm-package-content
List the contents of an npm package tarball before publishing. Use when the user wants to see what files are included in an npm bundle, verify package contents, or debug npm publish issues.
Claude Code
$ npx -y skills add vercel/ai --skill list-npm-package-content --agent claude-code
Codex
$ npx skills add vercel/ai --skill list-npm-package-content -a codex -y
Cursor
$ npx skills add vercel/ai --skill list-npm-package-content -a cursor -y
Gemini CLI
$ npx skills add vercel/ai --skill list-npm-package-content -a gemini-cli -y
GitHub Copilot
$ npx skills add vercel/ai --skill list-npm-package-content -a github-copilot -y
OpenCode
$ npx skills add vercel/ai --skill list-npm-package-content -a opencode -y
Windsurf
$ npx skills add vercel/ai --skill list-npm-package-content -a windsurf -y
SKILL.md
list-npm-package-content.SKILL.mdname: list-npm-package-content description: List the contents of an npm package tarball before publishing. Use when the user wants to see what files are included in an npm bundle, verify package contents, or debug npm publish issues. metadata: internal: true
List npm Package Content
This skill lists the exact contents of an npm package tarball - the same files that would be uploaded to npm and downloaded by users.
Usage
Run the script from the package directory (e.g., `packages/ai`):
bash scripts/list-package-files.sh
The script will build the package, create a tarball, list its contents, and clean up automatically.
Understanding Package Contents
The files included are determined by:
1. **`files` field in `package.json`** - explicit allowlist of files/directories 2. **`.npmignore`** - files to exclude (if present) 3. **`.gitignore`** - used if no `.npmignore` exists 4. **Always included**: `package.json`, `README`, `LICENSE`, `CHANGELOG` 5. **Always excluded**: `.git`, `node_modules`, `.npmrc`, etc.
The AI Toolkit for TypeScript. From the creators of Next.js, the AI SDK is a free open-source library for building AI-powered applications and agents
Other skills on vercel-ai.
More skills from other plugins.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
ask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Questions about list-npm-package-content.
- Which coding agents can use list-npm-package-content?
- list-npm-package-content installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

