Skip to content

SAGARRAMBADE21/v0skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

v0-vercel — Full Control OpenClaw Skill

Complete programmatic control over the entire Vercel v0 platform from OpenClaw.

Features Covered

Category Commands What It Controls
Project Management 6 Create, list, get, update, delete, lookup by chat
Chat Management 9 Create, stream, send, fork, favorite, delete, privacy, model select
Deployments 3 Deploy, status check, view logs
Vercel Integration 2 Link GitHub/Vercel projects, list integrations
User & Account 4 Profile, billing/plan, permissions, rate limits
Total 24

Setup

1. Get your v0 API Key

Go to v0.dev/chat/settings/keys Requires Premium ($20/mo) or Team ($30/user/mo) plan.

2. Set the API Key

Environment Variable:

# Windows (PowerShell)
$env:V0_API_KEY = "your_key_here"

# Linux / macOS
export V0_API_KEY=your_key_here

OpenClaw Config (~/.openclaw/openclaw.json):

{
  "skills": {
    "entries": {
      "v0-vercel": {
        "enabled": true,
        "env": { "V0_API_KEY": "your_key_here" },
        "apiKey": { "source": "env", "provider": "default", "id": "V0_API_KEY" }
      }
    }
  }
}

3. Install the Skill

cp -r v0-vercel ~/.openclaw/workspace/skills/

Then: /refresh skills

Important: Folder name must be v0-vercel (matches the name field).


Usage

Project Management

node scripts/v0_platform.mjs list-projects
node scripts/v0_platform.mjs create-project "My App" "Description here"
node scripts/v0_platform.mjs get-project <projectId>
node scripts/v0_platform.mjs get-project-by-chat <chatId>
node scripts/v0_platform.mjs update-project <projectId> "New Name"
node scripts/v0_platform.mjs delete-project <projectId> --confirm

Chat Management (AI Code Generation)

# Create with options (generates code + preview URL)
node scripts/v0_platform.mjs create-chat "Build a todo app" --model v0-1.5-md --privacy private

# Create with image attachment
node scripts/v0_platform.mjs create-chat "Match this design" --image "https://..."

# Create with streaming response
node scripts/v0_platform.mjs create-chat-stream "Build a complex app"

# Continue conversation
node scripts/v0_platform.mjs send-message <chatId> "Add dark mode"

# Get generated files
node scripts/v0_platform.mjs get-files <chatId>

# Other operations
node scripts/v0_platform.mjs list-chats
node scripts/v0_platform.mjs get-chat <chatId>
node scripts/v0_platform.mjs fork-chat <chatId>
node scripts/v0_platform.mjs favorite-chat <chatId>
node scripts/v0_platform.mjs delete-chat <chatId> --confirm

Deployments

node scripts/v0_platform.mjs deploy <projectId> <chatId> <versionId>
node scripts/v0_platform.mjs get-deployment <deploymentId>
node scripts/v0_platform.mjs deployment-logs <deploymentId>

Vercel Integration

node scripts/v0_platform.mjs vercel-create <vercelProjectId> "project-name"
node scripts/v0_platform.mjs vercel-list

User & Account

node scripts/v0_platform.mjs user-info        # Profile
node scripts/v0_platform.mjs user-plan         # Billing & credits
node scripts/v0_platform.mjs user-scopes       # Permissions
node scripts/v0_platform.mjs rate-limits       # API usage

File Structure

v0-vercel/
├── SKILL.md                          # Full skill definition (24 tools)
├── README.md                         # This file
└── scripts/
    └── v0_platform.mjs              # Platform API — full control CLI

Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors