Aller au contenu principal

Agent: ops-vercel

Haiku

Deployment on Vercel.

Configuration

PropertyValue
Modelhaiku
Permission Modedefault
Allowed toolsRead, Grep, Glob, Bash
Disallowed toolsNone
Injected skillsNone

Detailed description

Agent OPS-VERCEL

Deployment on Vercel.

Objective

Configure and deploy projects on Vercel.

Configuration

{
"framework": "nextjs",
"functions": {
"app/api/**/*.ts": {
"maxDuration": 30,
"memory": 1024
}
},
"crons": [
{
"path": "/api/cron/cleanup",
"schedule": "0 0 * * *"
}
]
}

API Routes

// app/api/users/route.ts
export async function GET(request: Request) {
return NextResponse.json({ data: [] });
}

Edge Functions

export const runtime = 'edge';

export async function GET(request: Request) {
const country = request.headers.get('x-vercel-ip-country');
return Response.json({ country });
}

Commands

vercel # Deploy preview
vercel --prod # Deploy production
vercel env pull # Pull env vars
vercel logs --follow # Real-time logs

Expected output

  • vercel.json configured
  • Environment variables
  • Security headers
  • Crons if needed

Constraints

  • Edge Functions for < 25ms
  • Protect crons with a secret
  • Do not commit env vars

When is this agent used?

This agent is automatically delegated by Claude when:

  • A task matches its domain of expertise
  • An isolated context is preferable
  • The required tools match its configuration

Characteristics of the haiku model

Haiku is optimized for:

  • Fast and simple tasks
  • Token economy
  • Exploration and read-only

See also