vercel-cli-with-tokens: Deploy and manage Vercel projects with access tokens
This skill guides an AI agent through using the Vercel CLI with a token instead of `vercel login`. It covers finding the token, linking or targeting the project and team, deploying, and managing environment variables, domains, and logs. It keeps secrets out of command-line arguments and defaults deployments to preview.
What problem this skill solves
Vercel CLI work often assumes an interactive login. In an agent session or a CI-like shell, there is no browser login, and the token may sit in the environment or a `.env` file under any name.
With this skill, the agent first locates the token, exports it as `VERCEL_TOKEN`, and finds the project ID and team scope. It then deploys, sets environment variables, or checks results without passing the token as a flag.
Good for
- Deploying a project to Vercel from a shell where `VERCEL_TOKEN` is set or stored in `.env`
- Linking a local or cloned repo to a Vercel project and team
- Adding, listing, or pulling Vercel environment variables
Not for
- Work that needs an interactive `vercel login` session
- Changing a Stripe Projects plan without first asking the user for approval
Install this skill
vercel-cli-with-tokens only
npx skills add https://github.com/vercel-labs/agent-skills --skill vercel-cli-with-tokensThe whole repository
npx skills add https://github.com/vercel-labs/agent-skillsTrend
Growing steadily- Daily installs, last 30 days
- 960
- Daily installs, last 30 days vs the 30 days before
- -1.1%
How this skill works
- 1The agent looks for `VERCEL_TOKEN` in the environment, then in `.env` under that name or a Vercel-like name, and asks the user only if none is found.
- 2It exports the token as `VERCEL_TOKEN` so the CLI reads it natively, and never passes it with `--token`.
- 3It finds the project ID and team scope, or links the project with `vercel link` when no project ID is available.
- 4It deploys as a preview with `vercel deploy`, using `--prod` only when the user explicitly asks for production.
- 5It pushes to git only after the user approves, or deploys from the CLI when there is no git remote.
- 6It checks results with `vercel inspect`, `vercel ls`, and `vercel logs`, and returns the deployment link to the user.
Related skills in the same repository
| Skill | What it does | Total installs |
|---|---|---|
| vercel-react-best-practices | — | 936,805 |
| web-design-guidelines | Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices". | 911,583 |
| vercel-composition-patterns | — | 475,716 |
| vercel-react-native-skills | — | 291,545 |
Are you the author of this skill? Add its rank to your GitHub repo
The badge updates every day and links back to this page.
[](https://linkly.ai/skills/s/vercel-labs/agent-skills/vercel-cli-with-tokens)