vercel-deploy

vercel-deploy is a skill for Claude Code, Codex from chadixearth/graphyloop. It costs 52 tokens per session (745 once invoked), scanned A, original, MIT.

A guide for deploying applications to Vercel, a hosting platform for web projects, and diagnosing deployment failures.

In plain words
What is it for?
Use it to prepare preview or production deployments, check build requirements, copy environment keys safely, run database migrations in the right order, and plan rollbacks.
Why use it?
It catches missing environment settings, incorrect project links, unsafe database ordering, and other problems that can make a deployment fail or break at runtime.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to prepare preview or production deployments, check build requirements, copy environment keys safely, run database migrations in the right order, and plan rollbacks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chadixearth/graphyloop/vercel-deploy
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.

Any agent
npx skills add chadixearth/graphyloop --skill vercel-deploy
Clone the repo
git clone --depth 1 https://github.com/chadixearth/graphyloop

Made for: Claude Code, Codex.

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-deploy

README.md
[![agentmods](https://agentmods.dev/badge/skills/chadixearth/graphyloop/vercel-deploy/github.svg)](https://agentmods.dev/skills/chadixearth/graphyloop/vercel-deploy)
Your own site
<a href="https://agentmods.dev/skills/chadixearth/graphyloop/vercel-deploy"><img src="https://agentmods.dev/badge/skills/chadixearth/graphyloop/vercel-deploy/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-deploy

Your own site · 80×15
<a href="https://agentmods.dev/skills/chadixearth/graphyloop/vercel-deploy"><img src="https://agentmods.dev/badge/skills/chadixearth/graphyloop/vercel-deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 745 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.00745
Opus 5 $0.00026 $0.00373
Sonnet 5 $0.00010 $0.00149
Haiku 4.5 $0.00005 $0.00075

Measured 5d ago against content hash 3718ceecb426, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

vercel-deploy 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 5d 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.

skills/vercel-deploy/SKILL.md · 63 lines

How it starts

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

Vercel deploy

A deploy is user-visible and hard to undo. The checks below cost a minute; skipping them costs a broken production URL, or a build that succeeds and then throws at runtime because a key only existed locally.

When to activate

  • Shipping a preview or production deployment.
  • "works locally, fails on Vercel" symptoms.
  • Setting up a project's deploy pipeline for the first time.

Procedure

  1. preflight target=deploy. Clear every blocker: missing VERCEL_TOKEN, no build script, env files not git-ignored.
  2. Link the project (vercel link) so .vercel/project.json pins org and project id — otherwise later commands are ambiguous about where they ship.
  3. Mirror runtime env keys into Vercel. A local .env.local is NOT deployed. Every key the app reads at runtime must exist in the Vercel project, per environment (production / preview / development): vercel env add <KEY> production. Never print the values.
  4. Migrate the database BEFORE the app deploy. New code against an old schema fails immediately; old code against an additive schema usually survives. Dry-run first, keep a rollback note. Destructive changes (drop, rename, narrowing a type) need two deploys — add the new shape, ship code, remove the old shape later.
  5. Build locally (npm run build) — the cheapest possible failure.
  6. Preview deploy (vercel deploy) and verify the REAL URL: the touched flow, not just that the page renders. Check function logs for runtime errors.
  7. Production (vercel deploy --prod) only after explicit user approval, with the rollback command recorded in the report.

Rollback

  • vercel rollback (or promote the previous deployment) restores the app in seconds.
  • A migration does not roll back with the app. If the deploy included a destructive migration, the rollback plan is the down migration — write it before applying the up.

Common failure modes

Symptom Cause
Build passes, runtime 500 env key exists locally, missing in the Vercel project
Works in preview, breaks in production key set for preview only, or a different database per environment
Module not found in the build runtime import from devDependencies, or a case-sensitive path that only works locally
Client-side "invalid API key" server-only key referenced from client code, or a public key missing its NEXT_PUBLIC_ prefix
Function timeout long request in a serverless handler — move it to a background job
Stale content after deploy cached route/ISR — confirm revalidation instead of assuming a bad build

Read the full file on GitHub · 63 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. 5d ago First seen · 63 lines · 52 tokens per session scan A 3718ceecb426

Subscribe to this mod's changes

vercel-deploy is a skill published in the GitHub repository chadixearth/graphyloop (2 stars, last pushed 23d ago), licensed MIT. It adds 52 tokens to every session and 745 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.