← 返回 Skills 市场
nightfullstar

Vercel Deploy

作者 nightfullstar · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
5317
总下载
1
收藏
45
当前安装
1
版本数
在 OpenClaw 中安装
/install vercel-deploy
功能描述
Deploy and manage Vercel projects. Use when deploying applications to Vercel, managing environment variables, checking deployment status, viewing logs, or performing Vercel operations. Supports production and preview deployments. Practical infrastructure operations - no "AI will build your app" magic.
使用说明 (SKILL.md)

Vercel Deployment & Management

Deploy and manage Vercel projects. No "AI will build your app" nonsense - just practical Vercel operations.

Configuration

Vercel Setup

Get your token:

  1. Go to https://vercel.com/account/tokens
  2. Create token (name it "OpenClaw")
  3. Set in environment:
export VERCEL_TOKEN="your-token-here"

Or store in .env:

VERCEL_TOKEN=your-token-here

Vercel Operations

Deploy Project

# Deploy to preview
scripts/vercel_deploy.sh --project bountylock --preview

# Deploy to production
scripts/vercel_deploy.sh --project bountylock --production

Manage Environment Variables

# List env vars
scripts/vercel_env.sh --project bountylock --list

# Set env var
scripts/vercel_env.sh --project bountylock --set \
  --key NEXT_PUBLIC_RPC_URL \
  --value "https://sepolia.base.org" \
  --env production

# Delete env var
scripts/vercel_env.sh --project bountylock --delete \
  --key OLD_VAR \
  --env production

Check Deployment Status

# Get latest deployment
scripts/vercel_status.sh --project bountylock

# Get specific deployment
scripts/vercel_status.sh --deployment dpl_abc123

View Logs

# Get deployment logs
scripts/vercel_logs.sh --deployment dpl_abc123

# Get runtime logs
scripts/vercel_logs.sh --project bountylock --function api/bounties

Common Workflows

Initial Testnet Deployment

  1. Set environment variables:
# Contract addresses (after deploying to Sepolia)
scripts/vercel_env.sh --project bountylock --set \
  --key NEXT_PUBLIC_CONTRACT_ADDRESS \
  --value "0x..." \
  --env production

# RPC URL
scripts/vercel_env.sh --project bountylock --set \
  --key NEXT_PUBLIC_RPC_URL \
  --value "https://sepolia.base.org" \
  --env production

# Chain ID
scripts/vercel_env.sh --project bountylock --set \
  --key NEXT_PUBLIC_CHAIN_ID \
  --value "84532" \
  --env production
  1. Deploy:
scripts/vercel_deploy.sh --project bountylock --production
  1. Check status:
scripts/vercel_status.sh --project bountylock

Update Environment Variables

# Update contract address after redeployment
scripts/vercel_env.sh --project bountylock --set \
  --key NEXT_PUBLIC_CONTRACT_ADDRESS \
  --value "0xNEW_ADDRESS" \
  --env production

# Trigger new deployment to use updated vars
scripts/vercel_deploy.sh --project bountylock --production

Debug Deployment Issues

# Get latest deployment info
scripts/vercel_status.sh --project bountylock

# Get build logs
scripts/vercel_logs.sh --deployment dpl_abc123

# Check environment variables
scripts/vercel_env.sh --project bountylock --list

Security Best Practices

  1. Token Scope: Use project-scoped tokens when possible
  2. Rotation: Rotate tokens periodically
  3. Audit: Review deployment logs regularly
  4. Secrets: Never commit tokens to git

Troubleshooting

"Authentication failed"

  • Check token is set correctly
  • Verify token hasn't expired

"Project not found"

  • Verify project name matches Vercel project
  • Check account has access to project

"Deployment failed"

  • Check build logs: scripts/vercel_logs.sh --deployment dpl_xxx
  • Verify environment variables are set correctly
  • Check for build errors in code

Reference Files

安全使用建议
Review commands before letting the agent run them, especially production deployments and environment-variable deletion. Use a project-scoped Vercel token, avoid storing it permanently unless necessary, do not enter secret env values until the script masks output, and consider pinning the Vercel CLI and adding confirmations.
功能分析
Type: OpenClaw Skill Name: vercel-deploy Version: 1.0.0 The skill bundle is classified as benign. All scripts (`vercel_deploy.sh`, `vercel_env.sh`, `vercel_status.sh`) use the official `npx vercel` CLI for Vercel operations, which is aligned with the stated purpose of deploying and managing Vercel projects. The `VERCEL_TOKEN` is securely handled as an environment variable. The `SKILL.md` and other documentation files provide clear instructions and security best practices (e.g., token rotation, not committing tokens to git), and do not contain any prompt injection attempts to manipulate the agent into performing actions outside the skill's defined scope or to exfiltrate data. A confirmation step is included for production deployments, enhancing safety.
能力评估
Purpose & Capability
The Vercel deployment purpose is coherent, but scripts/vercel_env.sh logs full environment-variable values and auto-confirms deletions, and scripts/vercel_deploy.sh requires --project without enforcing it in the deployment command.
Instruction Scope
README.md claims destructive operations require approval, but scripts/vercel_env.sh removes Vercel environment variables with the --yes flag and no local confirmation prompt.
Install Mechanism
The metadata has no install spec or required binaries, while scripts/vercel_deploy.sh runs the Vercel CLI through npx without a pinned package version; this is purpose-aligned but should be visible to users.
Credentials
The skill requires VERCEL_TOKEN even though registry metadata declares no required env vars or primary credential, and scripts/vercel_env.sh may print sensitive environment-variable values.
Persistence & Privilege
README.md suggests persisting VERCEL_TOKEN in ~/.bashrc while later saying tokens are not stored; this broadens exposure for a token that can deploy and modify Vercel projects.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install vercel-deploy
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /vercel-deploy 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Deploy to Vercel, manage environment variables, check status/logs. Practical infrastructure operations - no 'AI will build your app' magic.
元数据
Slug vercel-deploy
版本 1.0.0
许可证
累计安装 46
当前安装数 45
历史版本数 1
常见问题

Vercel Deploy 是什么?

Deploy and manage Vercel projects. Use when deploying applications to Vercel, managing environment variables, checking deployment status, viewing logs, or performing Vercel operations. Supports production and preview deployments. Practical infrastructure operations - no "AI will build your app" magic. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 5317 次。

如何安装 Vercel Deploy?

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

Vercel Deploy 是免费的吗?

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

Vercel Deploy 支持哪些平台?

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

谁开发了 Vercel Deploy?

由 nightfullstar(@nightfullstar)开发并维护,当前版本 v1.0.0。

💬 留言讨论