vercel-cli-with-tokens: Deploy and manage Vercel projects with access tokens

By vercel-labs/agent-skillsvercel-labs/agent-skillsskills.sh

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.

OfficialIT ops & securityskills.sh
Total installs
167K
skills.sh
Last 7 days
6.7K
▼ 1.3% vs the week before
Best 100 rank
—
Not in Best 100
GitHub stars
35K
Pushed 2026-11-20

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-tokens

The whole repository

npx skills add https://github.com/vercel-labs/agent-skills

Trend

Growing steadily
02.5K5K7.5K10K6.7K08/2809/2510/3011/27
Daily installs, last 30 days
960
Daily installs, last 30 days vs the 30 days before
-1.1%

How this skill works

  1. 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.
  2. 2It exports the token as `VERCEL_TOKEN` so the CLI reads it natively, and never passes it with `--token`.
  3. 3It finds the project ID and team scope, or links the project with `vercel link` when no project ID is available.
  4. 4It deploys as a preview with `vercel deploy`, using `--prod` only when the user explicitly asks for production.
  5. 5It pushes to git only after the user approves, or deploys from the CLI when there is no git remote.
  6. 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

SkillWhat it doesTotal installs
vercel-react-best-practices—936,805
web-design-guidelinesReview 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

Best Skills

The badge updates every day and links back to this page.

[![Best Skills](https://linkly.ai/skills/badge/vercel-labs/agent-skills/vercel-cli-with-tokens.svg)](https://linkly.ai/skills/s/vercel-labs/agent-skills/vercel-cli-with-tokens)
Linkly AI

Maintained by Linkly AI

Linkly AI is the knowledge brain for AI agents. It automatically parses the notes, study materials, bookmarks, knowledge bases, voice memos, meetings, videos and ideas on your computer, so your agent can search and read everything you have.

Download Linkly AI
Or send this line to your agent and it will help you install and connect.

Set up https://linkly.ai/docs/en/agent-setup.md