← 返回 Skills 市场
leonaaardob

Vercel

作者 leonaaardob · GitHub ↗ · v0.1.0
cross-platform ✓ 安全检测通过
1404
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install lb-vercel-skill
功能描述
Deploy applications and manage projects with complete CLI reference. Commands for deployments, projects, domains, environment variables, and live documentation access.
使用说明 (SKILL.md)

Vercel

Complete Vercel CLI reference and documentation access.

When to Use

  • Deploying applications to Vercel
  • Managing projects, domains, and environment variables
  • Running local development server
  • Viewing deployment logs and status
  • Looking up Vercel documentation

Documentation

Fetch any Vercel docs page as markdown:

curl -s "https://vercel.com/docs/\x3Cpath>" -H 'accept: text/markdown'

Get the full sitemap to discover all available pages:

curl -s "https://vercel.com/docs/sitemap.md" -H 'accept: text/markdown'

CLI Commands

Deployment

vercel / vercel deploy [path]

Deploy the current directory or specified path.

Options:

  • --prod - Deploy to production
  • -e KEY=VALUE - Set runtime environment variables
  • -b KEY=VALUE - Set build-time environment variables
  • --prebuilt - Deploy prebuilt output (use with vercel build)
  • --force - Force new deployment even if unchanged
  • --no-wait - Don't wait for deployment to finish
  • -y, --yes - Skip prompts, use defaults

Examples:

vercel                          # deploy current directory
vercel --prod                   # deploy to production
vercel /path/to/project         # deploy specific path
vercel -e NODE_ENV=production   # with env var
vercel build && vercel --prebuilt  # prebuilt deploy

vercel build

Build the project locally into ./vercel/output.

vercel build

vercel dev [dir]

Start local development server.

Options:

  • -l, --listen \x3CURI> - Port/address (default: 0.0.0.0:3000)

Examples:

vercel dev                  # start on port 3000
vercel dev --listen 8080    # start on port 8080

Project Management

vercel link [path]

Link local directory to a Vercel project.

Options:

  • -p, --project \x3CNAME> - Specify project name
  • -y, --yes - Skip prompts

Examples:

vercel link
vercel link --yes
vercel link -p my-project

vercel projects

Manage projects.

vercel projects list              # list all projects
vercel projects add \x3Cname>        # create new project
vercel projects inspect [name]    # show project details
vercel projects remove \x3Cname>     # delete project

vercel pull [path]

Pull project settings and env vars from cloud.

vercel pull

Environment Variables

vercel env

Manage environment variables.

vercel env list [environment]                    # list env vars
vercel env add \x3Cname> [environment]              # add env var
vercel env remove \x3Cname> [environment]           # remove env var
vercel env pull [filename]                       # pull to .env.local

Environments: development, preview, production

Examples:

vercel env list production
vercel env add DATABASE_URL production
vercel env pull .env.local

Domains & Aliases

vercel domains

Manage domain names.

vercel domains list                          # list domains
vercel domains add \x3Cdomain> \x3Cproject>        # add domain
vercel domains inspect \x3Cdomain>              # show domain info
vercel domains remove \x3Cdomain>               # remove domain
vercel domains buy \x3Cdomain>                  # purchase domain
vercel domains transfer-in \x3Cdomain>          # transfer domain to Vercel

vercel alias

Manage deployment aliases.

vercel alias list                                    # list aliases
vercel alias set \x3Cdeployment> \x3Calias>                # create alias
vercel alias remove \x3Calias>                          # remove alias

Examples:

vercel alias set my-app-abc123.vercel.app my-app.vercel.app
vercel alias set my-app-abc123.vercel.app custom-domain.com

Deployments

vercel ls [app] / vercel list

List deployments.

vercel ls
vercel ls my-project

vercel inspect [id]

Display deployment information.

vercel inspect \x3Cdeployment-url-or-id>

vercel logs \x3Curl|id>

View runtime logs for a deployment.

Options:

  • -j, --json - Output as JSON (compatible with jq)

Examples:

vercel logs my-app.vercel.app
vercel logs \x3Cdeployment-id> --json
vercel logs \x3Cdeployment-id> --json | jq 'select(.level == "error")'

vercel promote \x3Curl|id>

Promote deployment to production.

vercel promote \x3Cdeployment-url-or-id>

vercel rollback [url|id]

Rollback to previous deployment.

vercel rollback
vercel rollback \x3Cdeployment-url-or-id>

vercel redeploy [url|id]

Rebuild and deploy a previous deployment.

vercel redeploy \x3Cdeployment-url-or-id>

vercel rm \x3Cid> / vercel remove

Remove a deployment.

vercel rm \x3Cdeployment-url-or-id>

Authentication & Teams

vercel login [email]      # log in or create account
vercel logout             # log out
vercel whoami             # show current user
vercel switch [scope]     # switch between scopes/teams
vercel teams              # manage teams

Other Commands

vercel open               # open project in dashboard
vercel init [example]     # initialize from example
vercel install [name]     # install marketplace integration
vercel integration        # manage integrations
vercel certs              # manage SSL certificates
vercel dns                # manage DNS records
vercel bisect             # binary search for bug-introducing deployment

Global Options

Available on all commands:

Option Description
-h, --help Show help
-v, --version Show version
-d, --debug Debug mode
-t, --token \x3CTOKEN> Auth token
-S, --scope Set scope/team
--cwd \x3CDIR> Working directory
-A, --local-config \x3CFILE> Path to vercel.json
--no-color Disable colors

Quick Reference

Task Command
Deploy vercel or vercel --prod
Dev server vercel dev
Link project vercel link
List deployments vercel ls
View logs vercel logs \x3Curl>
Add env var vercel env add \x3Cname> \x3Cenv>
Pull env vars vercel env pull
Rollback vercel rollback
Add domain vercel domains add \x3Cdomain> \x3Cproject>
Get docs curl -s "https://vercel.com/docs/\x3Cpath>" -H 'accept: text/markdown'
Docs sitemap curl -s "https://vercel.com/docs/sitemap.md" -H 'accept: text/markdown'
安全使用建议
This is a documentation-only skill for the official Vercel CLI and appears coherent. Before installing: (1) ensure the vercel binary on your system is the official CLI (not a malicious replacement), (2) be careful when invoking commands that manage or pull environment variables—`vercel env pull` will write secrets to disk—and avoid running those commands in environments you don't trust, (3) remember the CLI will use any existing Vercel auth (stored tokens or config); if an agent has access to those tokens it could perform actions on your Vercel account, and (4) some examples pipe to jq or other tools not listed as required; those are optional examples and not installed by this skill. If you want tighter control, restrict autonomous invocation or run Vercel commands manually instead of allowing the agent to run them.
功能分析
Type: OpenClaw Skill Name: lb-vercel-skill Version: 0.1.0 The skill provides a comprehensive reference and access to the Vercel CLI and limited `curl` commands for Vercel documentation. All documented commands are standard Vercel operations for deploying applications, managing projects, environment variables, and domains. While the Vercel CLI is a powerful tool that could be misused by a malicious user, the skill's instructions in `SKILL.md` do not contain any prompt injection attempts, instructions for data exfiltration, persistence, or other malicious behaviors. The `curl` commands are explicitly limited to fetching documentation from `vercel.com/docs`.
能力评估
Purpose & Capability
The name/description promise (Vercel CLI reference and deployment management) aligns with the declared requirements: the vercel binary is required and curl is used for fetching docs. There are no unrelated binaries, environment variables, or config paths requested.
Instruction Scope
SKILL.md stays within the Vercel CLI domain: it documents commands for deploys, projects, domains, env vars, logs, and uses curl to fetch docs. It includes examples that manipulate environment variables (e.g., `vercel env pull .env.local`) and mentions auth token flags (`-t, --token`) — these are legitimate for Vercel usage but mean the agent running the commands could read or write sensitive data (account tokens, pulled .env files).
Install Mechanism
No install spec is present (instruction-only), so nothing is downloaded or written by the skill itself. This is the lowest-risk model for an integration that simply documents CLI usage.
Credentials
The skill declares no required environment variables, which is proportional. However, the documented commands rely on Vercel authentication (login or tokens stored in CLI config or passed with -t) and can pull/write environment secrets to disk with `vercel env pull`. Users should be aware the agent's environment or existing vercel auth state will be used if available.
Persistence & Privilege
always:false and default model invocation are set. The skill does not request permanent/always-on inclusion and does not attempt to modify other skills or system-wide config; its privilege level is appropriate for its purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install lb-vercel-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /lb-vercel-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of lb-vercel-skill. - Provides a complete Vercel CLI command and documentation reference. - Covers deployments, projects, domains, environment variables, authentication, teams, and more. - Includes quick reference tables and examples for common Vercel tasks. - Enables fast documentation lookup via curl commands for markdown docs and sitemap. - Specifies required binaries: vercel and curl.
元数据
Slug lb-vercel-skill
版本 0.1.0
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Vercel 是什么?

Deploy applications and manage projects with complete CLI reference. Commands for deployments, projects, domains, environment variables, and live documentation access. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1404 次。

如何安装 Vercel?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install lb-vercel-skill」即可一键安装,无需额外配置。

Vercel 是免费的吗?

是的,Vercel 完全免费(开源免费),可自由下载、安装和使用。

Vercel 支持哪些平台?

Vercel 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Vercel?

由 leonaaardob(@leonaaardob)开发并维护,当前版本 v0.1.0。

💬 留言讨论