vercel-automation – skill Agent & Tự động hóa cho agent AI
Tự động hóa các tác vụ Vercel qua Rube MCP (Composio): quản lý deployment, domain, DNS, biến môi trường, project và team. Luôn tìm công cụ trước để lấy schema hiện tại.
Cài skill vercel-automation bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/vercel-automation-14f4b.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /vercel-automation – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/vercel-automation-14f4b.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $vercel-automation – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/vercel-automation-14f4b.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /vercel-automation – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/vercel-automation-14f4b.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /vercel-automation – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Vercel Automation via Rube MCP
Automate Vercel platform operations through Composio's Vercel toolkit via Rube MCP.
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active Vercel connection via
RUBE_MANAGE_CONNECTIONSwith toolkitvercel - Always call
RUBE_SEARCH_TOOLSfirst to get current tool schemas
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. Adding the endpoint does not authenticate Vercel; use a host-supported authorized connection.
1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
2. Call RUBE_MANAGE_CONNECTIONS with toolkit vercel
3. If connection is not ACTIVE, follow the returned auth link to complete Vercel OAuth
4. Confirm connection status shows ACTIVE before running any workflows
Core Workflows
Resolve the exact team/project/environment and immutable source revision before changes. Deployment creation publishes code and can incur cost; production promotion, DNS changes and secret updates require the user’s scoped request. Inspect existing DNS records and preserve mail/verification entries. Never print secret values while listing environment variables; respect current sensitive/encrypted types and branch scopes. A timeout may leave a deployment created: reconcile before retrying. Use bounded polling, verify the live URL/alias and report logs with credentials/personal data redacted.
1. Monitor and Inspect Deployments
When to use: User wants to list, inspect, or debug deployments
Tool sequence:
1. VERCEL_LIST_ALL_DEPLOYMENTS or VERCEL_GET_DEPLOYMENTS - List deployments with filters [Required]
2. VERCEL_GET_DEPLOYMENT or VERCEL_GET_DEPLOYMENT_DETAILS - Get specific deployment info [Optional]
3. VERCEL_GET_DEPLOYMENT_LOGS or VERCEL_GET_RUNTIME_LOGS - View build/runtime logs [Optional]
4. VERCEL_GET_DEPLOYMENT_EVENTS - Get deployment event timeline [Optional]
5. VERCEL_LIST_DEPLOYMENT_CHECKS - View deployment check results [Optional]
Key parameters:
projectId: Filter deployments by projectstate: Filter by deployment state (e.g., 'READY', 'ERROR', 'BUILDING')limit: Number of deployments to returntarget: Filter by environment ('production', 'preview')deploymentIdoridOrUrl: Specific deployment identifier
Pitfalls:
- Deployment IDs and URLs are both accepted as identifiers in most endpoints
- Build logs and runtime logs are separate; use the appropriate tool
VERCEL_GET_DEPLOYMENT_LOGSreturns build logs;VERCEL_GET_RUNTIME_LOGSreturns serverless function logs- Deployment events include status transitions and are useful for debugging timing issues
2. Create and Manage Deployments
When to use: User wants to trigger a new deployment
Tool sequence:
1. VERCEL_LIST_PROJECTS - Find the target project [Prerequisite]
2. VERCEL_CREATE_NEW_DEPLOYMENT - Trigger a new deployment [Required]
3. VERCEL_GET_DEPLOYMENT - Monitor deployment progress [Optional]
Key parameters:
name: Project name for the deploymenttarget: Deployment target ('production' or 'preview')gitSource: Git repository source with ref/branch infofiles: Array of file objects for file-based deployments
Pitfalls:
- Either
gitSourceorfilesmust be provided, not both - Git-based deployments require proper repository integration
- Production deployments update the production domain alias automatically
- Deployment creation is asynchronous; poll with GET_DEPLOYMENT for status
3. Manage Environment Variables
When to use: User wants to add, list, or remove environment variables for a project
Tool sequence:
1. VERCEL_LIST_PROJECTS - Find the project ID [Prerequisite]
2. VERCEL_LIST_ENV_VARIABLES - List existing env vars [Required]
3. VERCEL_ADD_ENVIRONMENT_VARIABLE - Add a new env var [Optional]
4. VERCEL_DELETE_ENVIRONMENT_VARIABLE - Remove an env var [Optional]
Key parameters:
projectId: Target project identifierkey: Environment variable namevalue: Environment variable valuetarget: Array of environments ('production', 'preview', 'development')type: Variable type ('plain', 'secret', 'encrypted', 'sensitive')
Pitfalls:
- Environment variable names must be unique per target environment
type: 'secret'variables cannot be read back after creation; only the ID is returned- Deleting an env var requires both
projectIdand the env varid(not the key name) - Changes require a new deployment to take effect
4. Manage Domains and DNS
When to use: User wants to configure custom domains or manage DNS records
Tool sequence:
1. VERCEL_GET_DOMAIN - Check domain status and configuration [Required]
2. VERCEL_GET_DOMAIN_CONFIG - Get DNS/SSL configuration details [Optional]
3. VERCEL_LIST_PROJECT_DOMAINS - List domains attached to a project [Optional]
4. VERCEL_GET_DNS_RECORDS - List DNS records for a domain [Optional]
5. VERCEL_CREATE_DNS_RECORD - Add a new DNS record [Optional]
6. VERCEL_UPDATE_DNS_RECORD - Modify an existing DNS record [Optional]
Key parameters:
domain: Domain name (e.g., 'example.com')name: DNS record name/subdomaintype: DNS record type ('A', 'AAAA', 'CNAME', 'MX', 'TXT', 'SRV')value: DNS record valuettl: Time-to-live in seconds
Pitfalls:
- Domain must be added to the Vercel account before DNS management
- SSL certificates are auto-provisioned but may take time for new domains
- Use the exact DNS recommendations returned for the domain/provider; apex alias/flattening support is provider-dependent
- MX records require priority values
5. Manage Projects
When to use: User wants to list, inspect, or update project settings
Tool sequence:
1. VERCEL_LIST_PROJECTS - List all projects [Required]
2. VERCEL_GET_PROJECT - Get detailed project information [Optional]
3. VERCEL_UPDATE_PROJECT - Modify project settings [Optional]
Key parameters:
idOrName: Project ID or name for lookupname: Project name for updatesframework: Framework preset (e.g., 'nextjs', 'vite', 'remix')buildCommand: Custom build command overriderootDirectory: Root directory if not repo root
Pitfalls:
- Project names are globally unique within a team/account
- Changing framework settings affects subsequent deployments
rootDirectoryis relative to the repository root
6. Team Management
When to use: User wants to view team info or list team members
Tool sequence:
1. VERCEL_LIST_TEAMS - List all teams the user belongs to [Required]
2. VERCEL_GET_TEAM - Get detailed team information [Optional]
3. VERCEL_GET_TEAM_MEMBERS - List members of a specific team [Optional]
Key parameters:
teamId: Team identifierlimit: Number of results per pagerole: Filter members by role
Pitfalls:
- Team operations require appropriate team-level permissions
- Personal accounts have no teams; team endpoints return empty results
- Member roles include 'OWNER', 'MEMBER', 'DEVELOPER', 'VIEWER'
Common Patterns
ID Resolution
Project name -> Project ID:
1. Call VERCEL_LIST_PROJECTS
2. Find project by name in response
3. Extract id field for subsequent operationsDomain -> DNS Records:
1. Call VERCEL_GET_DNS_RECORDS with domain name
2. Extract record IDs for update/delete operationsPagination
- Use
limitparameter to control page size - Check response for pagination tokens or
nextfields - Continue fetching until no more pages are indicated
Known Pitfalls
Deployment States:
- States include: INITIALIZING, ANALYZING, BUILDING, DEPLOYING, READY, ERROR, CANCELED, QUEUED
- READY indicates build/deployment readiness, not correct routing or application health; verify the exact URL and production alias
- ERROR deployments should be inspected via logs for failure details
Environment Variables:
- Secret type vars are write-only; values cannot be retrieved after creation
- Env vars are scoped to environments (production, preview, development)
- A redeployment is needed for env var changes to take effect
Rate Limits:
- Vercel API has rate limits per endpoint
- Implement backoff on 429 responses
- Batch operations where possible to reduce API calls
Quick Reference
| Task | Tool Slug | Key Params |
|------|-----------|------------|
| List projects | VERCEL_LIST_PROJECTS | limit |
| Get project details | VERCEL_GET_PROJECT | idOrName |
| Update project | VERCEL_UPDATE_PROJECT | idOrName, name, framework |
| List deployments | VERCEL_LIST_ALL_DEPLOYMENTS | projectId, state, limit |
| Get deployment | VERCEL_GET_DEPLOYMENT | idOrUrl |
| Create deployment | VERCEL_CREATE_NEW_DEPLOYMENT | name, target, gitSource |
| Deployment logs | VERCEL_GET_DEPLOYMENT_LOGS | deploymentId |
| Runtime logs | VERCEL_GET_RUNTIME_LOGS | deploymentId |
| List env vars | VERCEL_LIST_ENV_VARIABLES | projectId |
| Add env var | VERCEL_ADD_ENVIRO
… (nội dung đầy đủ có trong gói tải về)
Skill liên quan
- voice-agents – Voice agent là mặt tiền tiên tiến nhất của tương tác AI — con người nói chuyện tự nhiên…
- voice-ai-development – Chuyên gia xây dựng ứng dụng voice AI — từ voice agent thời gian thực đến ứng dụng có…
- voice-ai-engine-development – Xây dựng engine hội thoại AI giọng nói thời gian thực bằng pipeline worker bất đồng bộ…
- vps-server-management – Quản lý VPS được ủy quyền và agent phía máy chủ thông qua quy trình SSH và vận hành thận…
- web-scraper – Thu thập dữ liệu web thông minh với nhiều chiến lược. Trích xuất dữ liệu có cấu trúc từ…
- webflow-automation – Tự động hóa CMS collection của Webflow, xuất bản site, quản lý trang, tải tài nguyên lên…
- webly – Xuất bản website hoặc chia sẻ tệp tại một URL trực tiếp trong vài giây, không cần tài…
- whatsapp-automation – Tự động hóa tác vụ WhatsApp Business qua Rube MCP (Composio): gửi tin nhắn, quản lý…