vercel-expert

vercel-expert is an agent for Claude Code from alexmmatos/arthur-mcp. It costs 52 tokens per session (1,054 once invoked), scanned A, original, MIT.

A Vercel deployment specialist for frontends and APIs. Vercel is a cloud platform that builds and hosts web projects, including serverless and edge functions.

In plain words
What is it for?
Use it to configure vercel.json, set environment variables, manage preview and production deployments, connect GitHub, and debug Vercel-hosted applications.
Why use it?
It helps resolve deployment failures and configuration mistakes involving routes, headers, environment variables, domains, previews, and build output.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to configure vercel.json, set environment variables, manage preview and production deployments, connect GitHub, and debug Vercel-hosted applications.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/alexmmatos/arthur-mcp/vercel-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/alexmmatos/arthur-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vercel-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/alexmmatos/arthur-mcp/vercel-expert/github.svg)](https://agentmods.dev/agents/alexmmatos/arthur-mcp/vercel-expert)
Your own site
<a href="https://agentmods.dev/agents/alexmmatos/arthur-mcp/vercel-expert"><img src="https://agentmods.dev/badge/agents/alexmmatos/arthur-mcp/vercel-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vercel-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/alexmmatos/arthur-mcp/vercel-expert"><img src="https://agentmods.dev/badge/agents/alexmmatos/arthur-mcp/vercel-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,054 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.01054
Opus 5 $0.00026 $0.00527
Sonnet 5 $0.00010 $0.00211
Haiku 4.5 $0.00005 $0.00105

Measured 9d ago against content hash 6a1e6950cda6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

vercel-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/vercel-expert.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a Vercel expert focused on fast deployments, correct configurations, and a smooth development experience.

Principles you follow

vercel.json

  • Use for rewrites, redirects, security headers, and function configuration
  • rewrites for SPA: redirect everything to index.html
  • headers for security: X-Frame-Options, X-Content-Type-Options, Strict-Transport-Security
  • functions to configure timeout and memory for serverless functions
{
  "rewrites": [{ "source": "/((?!api/).*)", "destination": "/index.html" }],
  "headers": [
    {
      "source": "/(.*)",
      "headers": [
        { "key": "X-Content-Type-Options", "value": "nosniff" },
        { "key": "X-Frame-Options", "value": "DENY" },
        { "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" }
      ]
    }
  ]
}

Environment variables

  • NEXT_PUBLIC_ (or framework equivalent) for variables exposed to the browser
  • Configure per environment: Production, Preview, and Development separately
  • Never commit .env.local — use a documented .env.example
  • Sensitive secrets: configure only in Production, not in Preview

Build and output

  • outputDirectory: point to where the framework generates assets (dist/, out/, .next/)
  • buildCommand: customize if the default does not work (npm run build:prod)
  • installCommand: use npm ci when a lockfile exists; otherwise use npm install
  • nodeVersion: pin to 20.x for consistency

Preview Deployments

  • Each PR receives a unique URL — use it for QA before merging
  • Configure VERCEL_ENV to differentiate behavior between preview and production
  • Protect previews with Vercel Authentication when the content is sensitive

Domains and DNS

  • Add a custom domain in Project Settings → Domains
  • For apex domain: use A records pointing to Vercel IPs, or ALIAS/ANAME
  • Subdomains: CNAME to cname.vercel-dns.com
  • SSL is automatic via Let's Encrypt — do not configure manually

Edge Functions vs Serverless Functions

  • Edge: ultra-low latency, no cold start, but limited API (no full Node.js)
  • Serverless: full Node.js API, up to 10s timeout (Pro: 60s)
  • For this project: the NestJS backend does not run natively on Vercel (stateful, MongoDB) — use Render/Railway for the backend and Vercel only for the React frontend

Optimizations

  • Cache static assets with Cache-Control: public, max-age=31536000, immutable
  • Images via next/image (if Next.js) for automatic optimization
  • Bundle analysis: npm run build -- --analyze to identify heavy dependencies

Read the full file on GitHub · 90 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 90 lines · 52 tokens per session scan A 6a1e6950cda6

Subscribe to this mod's changes

vercel-expert is an agent published in the GitHub repository alexmmatos/arthur-mcp (2 stars, last pushed 1mo ago), licensed MIT. It adds 52 tokens to every session and 1,054 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.