vercel-doctor

vercel-doctor is a skill for Claude Code from lukedj78/dev-flow. It costs 177 tokens per session (2,903 once invoked), scanned A, original, MIT.

A pre-deployment checker for existing Next.js projects that will run on Vercel, a platform for deploying web applications. It runs the independent vercel-doctor command-line tool to identify code patterns that may increase Vercel costs or hurt performance.

In plain words
What is it for?
Use it to scan a Next.js project, create human-readable or machine-readable reports, generate suggested fixes, and review cost risks before a Vercel deployment.
Why use it?
It can reveal expensive implementation patterns before deployment increases the bill. Its findings can be routed to the development areas responsible for caching or image handling.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dev-flow plugin — 55 skills shipped together

Good fit Use it to scan a Next.js project, create human-readable or machine-readable reports, generate suggested fixes, and review cost risks before a Vercel deployment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lukedj78/dev-flow/vercel-doctor
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 lukedj78/dev-flow --skill vercel-doctor
Clone the repo
git clone --depth 1 https://github.com/lukedj78/dev-flow

Made for: Claude Code.

Or install dev-flow, the plugin that ships this one along with the rest of its 55 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lukedj78/dev-flow/vercel-doctor"><img src="https://agentmods.dev/badge/skills/lukedj78/dev-flow/vercel-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 177 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,903 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 5 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 19
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 20
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 21
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 37
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 66
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00177 $0.02903
Opus 5.5 $0.00071 $0.01161
Sonnet 5.5 $0.00035 $0.00581
Haiku 4.5 $0.00018 $0.00290

Measured 3d ago against content hash 7ef65b73acca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vercel-doctor 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 3d 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.

vercel-doctor/SKILL.md · 141 lines

How it starts

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

vercel-doctor — cost & performance pre-deploy gate for Vercel/Next.js

Runs on a project that already exists and targets Vercel. It wraps the third-party vercel-doctor CLI — which scans a Next.js codebase for patterns that cost money on Vercel — and turns its report into applied fixes, routing each finding to the skill that owns it.

Third-party tool. vercel-doctor is not an official Vercel product — it's an independent open-source project by Aniket-508, published to npm as vercel-doctor (bin vercel-doctor, MIT). Verified against the npm registry + repo README (latest at time of writing: 1.2.0 — pin or re-check, the flag set can change). It reads your codebase and phones home unless --offline; treat its AI-fix prompts as suggestions to verify, not gospel.

Verified invocation + flags

npx -y vercel-doctor@latest .                       # scan the project at <path>
npx -y vercel-doctor@latest . --output markdown --report docs/vercel/doctor-report.md
npx -y vercel-doctor@latest . --ai-prompts docs/vercel/doctor-fixes.json
Flag Effect
--output <human|json|markdown> report format (default human)
--report <file> write the report to a file
--ai-prompts <file> export fix prompts as JSON (only issues with a known fix strategy)
--score print only the health score
--verbose list the matching files per rule
--diff [base] scan only files changed vs the base branch
--project <name> / -y, --yes pick workspace project(s) / scan all without prompting
--no-lint / --no-dead-code skip the lint / dead-code analyses
--offline skip telemetry
-v, --version / -h, --help version / help

If a flag above is rejected, the CLI has moved — run npx -y vercel-doctor@latest --help and use what it reports rather than guessing.

⚠️ Two behaviours the --help does not tell you (found by running it)

Read the full file on GitHub · 141 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago Changed 7ef65b73acca
  2. 4d ago Changed · +14 tokens per session c28aba426d81
  3. 1mo ago Changed · +4 lines 1ebde2adfa5c
  4. 1mo ago First seen · 137 lines · 163 tokens per session scan A fa28f56dc3bc

Subscribe to this mod's changes

vercel-doctor is a skill published in the GitHub repository lukedj78/dev-flow (6 stars, last pushed yesterday), licensed MIT. It adds 177 tokens to every session and 2,903 once invoked, about $0.0007 per session on Opus 5.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-08-31.

Related

Other skills, from other repositories

vercel-deploy

Deploy applications and websites to Vercel. Use this skill when the user requests deployment actions such as "Deploy my app", "Deploy this to production", "Create a preview deployment", "Deploy and give me the link", or "Push this live". No authentication required - returns preview URL and claimable deployment link.

bytedance/deer-flow · 69 tokens

moai-platform-deployment

Deployment and hosting platform specialist covering Vercel, Railway, and Convex. Use when deploying applications, configuring edge functions, setting up continuous deployment, or managing serverless infrastructure.

modu-ai/moai-adk · 42 tokens

moai-platform-database-cloud

Cloud database platform specialist covering Neon (serverless PostgreSQL), Supabase (PostgreSQL 16 with real-time), and Firebase Firestore (NoSQL with offline sync). Use when choosing or setting up cloud databases.

modu-ai/moai-adk · 51 tokens

docker-deploy

Use this skill when writing or reviewing a Dockerfile, docker-compose setup, or container image build for a project, or when debugging a container that won't build, start, or stay healthy. Triggers: user says "docker", "Dockerfile", "container", "image", "docker compose", "containerize", "multi-stage", "distroless"…

WrongStack/WrongStack · 87 tokens

multi-service-orchestration

PM2 process management, backend/frontend cascade execution, parallel worktree builds, and cross-service integration testing.

a5c-ai/babysitter · 27 tokens

backup-recovery

Design and verify backups and restoration for owned databases, files and application state. Use when preparing recovery, migrating data or testing backups; protect the source and prove restore into an isolated destination before calling recovery ready.

WrongStack/WrongStack · 45 tokens