Back to Skills

Vercel CLI Management

Deploy, manage environment variables, view logs, and configure cron jobs with Vercel CLI. Use when deploying to Vercel, managing env vars (add/update/remove), viewing runtime/build logs, or configuring scheduled tasks in vercel.json.

499stars70forksUpdated 2/17/2026

Security Assessment

Medium Risk(65/100)

Detected risks:

Secret Exposure([SKILL.md] API_KEY=)
Sensitive File Access([SKILL.md] .npmrc, [SKILL.md] .env)
Security Score65/100

About Vercel CLI Management

The Vercel CLI Management skill simplifies deployment, environment variable management, log viewing, and cron job configuration for projects hosted on Vercel. It provides developers with a streamlined way to manage their Vercel applications directly from the command line. Whether you're deploying a project, updating environment variables, or tracking runtime logs, this skill helps ensure a seamless development and deployment process without needing to switch between multiple interfaces or services.

Key features of the Vercel CLI Management skill include easy deployment of projects to Vercel, including the ability to deploy to production or preview environments, manage environment variables across different stages (development, production, preview), and view logs for both runtime and build stages. Additionally, developers can configure cron jobs in their `vercel.json` file for scheduled tasks like API calls or data syncing. The CLI commands also support automation, such as rolling back or promoting deployments, ensuring flexibility in managing your projects.

This skill is ideal for developers working with Vercel-hosted applications, enabling them to quickly deploy, manage configurations, and troubleshoot their projects directly from the command line. It's particularly useful for those looking to automate tasks, handle deployments efficiently, and streamline their workflow within a Vercel-centric development environment.

FAQ

How do I deploy to production with the Vercel CLI?

To deploy to production, you can use the command `vercel deploy --prod` or simply `vercel --prod`.

Can I deploy with environment variables using the Vercel CLI?

Yes, you can deploy with inline environment variables by using the command `vercel deploy --env NODE_ENV=production -e API_KEY=secret`.

How do I view logs for a specific deployment?

To view runtime logs, use the command `vercel logs <deployment-url-or-id>`. You can also filter the logs using JSON output and tools like `jq`.

What is the format for cron job scheduling in `vercel.json`?

Cron jobs are defined using standard cron syntax in the `vercel.json` file, specifying the schedule and the path to the job, e.g., `"schedule": "*/5 * * * *"`.

Are there any CLI commands for managing cron jobs?

No, cron jobs are configured directly in the `vercel.json` file and cannot be managed via the CLI. Only the schedule and path need to be set.

Install Vercel CLI Management

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill