vercel/vercel-plugin/vercel-storage
Claude Code and agent skill by vercel/vercel-plugin
- vendor
Checking that the SKILL.md file is still in the repository.
Vercel storage expert guidance — Blob, Global Config (formerly Edge Config), and Marketplace storage (Neon Postgres, Upstash Redis). Use when choosing, configuring, or using data storage with Vercel applications.
Install
npx vskill@latest install vercel/vercel-plugin/vercel-storageSKILL.md
Vercel Storage
You are an expert in Vercel's storage options. Know which products are active, which are sunset, and when to use each.
Provider Choice for Bootstrap
Choose storage provisioning paths in this order:
- Preferred: Vercel-managed Neon/Upstash through the Vercel Marketplace (
vercel install <integration>or dashboard). This path auto-provisions accounts/resources and injects environment variables into the linked Vercel project. Do not usevercel storage createfor these: it only creates Blob stores and Global Config (see Installing Marketplace Storage).
- Prisma ORM projects (
prisma/schema.prisma): prefer Prisma Postgres,vercel install prisma.
- Fallback: Provider CLI/manual provisioning only when Marketplace is unavailable or you must use an existing external account.
When using fallback/manual provisioning, you must add/sync environment variables yourself and then re-run vercel env pull .env.local --yes locally.
Active First-Party Storage
Vercel Blob — File Storage
Fast, scalable storage for unstructured data (images, videos, documents, any files).
Private Storage (generally available): Create a private store with vercel blob create-store <name> --access private. Connected projects use short-lived OIDC credentials and BLOB_STORE_ID by default. Use access: 'private' for uploads and reads. To deliver a private file, authenticate the request in your own route, call get(pathname, { access: 'private' }), return 404 when the result is null, and otherwise stream result.stream to the caller. Use presignUrl() when a caller needs temporary direct access. Pass useCache: false only when a read must reflect an overwrite immediately.
Blob Data Transfer: Public blob downloads, and Functions fetching private blobs from the store, use Blob Data Transfer (19 regional hubs, cost-optimized for large assets). When a Function streams a private blob to users, that response uses Fast Data Transfer (126+ PoPs across 51 countries, latency-optimized).
Use when: Media files, user uploads, documents, any large unstructured data.
Vercel Global Config (formerly Edge Config)
Ultra-low-latency key-value store for application configuration. Not a database — designed for config data that must be read instantly at the edge. Renamed from Edge Config in July 2026 — the store itself is unchanged.
Use when: Feature flags, A/B testing config, dynamic routing rules, maintenance mode toggles. Anything that must be read at the edge with near-zero latency.
Do NOT use for: User data, session state, frequently written data. Global Config is optimized for reads, not writes.
Migration: @vercel/global-config is a drop-in replacement for @vercel/edge-config. It reads the GLOBAL_CONFIG env var and falls back to EDGE_CONFIG, so upgrading is always safe. The legacy package only reads EDGE_CONFIG and cannot read newly connected stores — upgrade before connecting a new store. The vercel edge-config CLI command is now vercel global-config (old form still works). https://vercel.com/docs/global-config/migration-guide
Next.js 16: @vercel/edge-config@^1.4.3 supports cacheComponents and the renamed proxy.ts (formerly middleware.ts); @vercel/global-config carries this forward.
Marketplace Storage (Partner-Provided)
IMPORTANT: @vercel/postgres and @vercel/kv are SUNSET
These packages no longer exist as first-party Vercel products. Use the marketplace replacements:
Neon Postgres (replaces @vercel/postgres)
Serverless Postgres with branching, auto-scaling, and connection pooling. The driver is GA at @neondatabase/serverless@^1.0.2 and requires Node.js 19+.
Build-time safety: The neon() call above throws if DATABASE_URL is not set. Since Next.js evaluates top-level module code at build time, this will crash next build when env vars aren't yet configured (e.g., first deploy before Marketplace provisioning). Use lazy initialization:
WARNING: Do NOT use JavaScript `Proxy` wrappers around the DB client. A common pattern is wrapping db in a Proxy for lazy initialization. This breaks libraries like NextAuth/Auth.js that inspect the DB adapter object (e.g., checking method existence, iterating properties). The Proxy intercepts those checks and breaks the auth request chain, causing hangs with no error. Use a plain getDb() function or a simple module-level lazy let instead.
Drizzle Kit migrations: drizzle-kit and tsx do NOT auto-load .env.local. Source env vars manually or use dotenv:
This applies to any Node script that needs Vercel-provisioned env vars — only Next.js auto-loads .env.local.
Install via Vercel Marketplace for automatic environment variable provisioning.
Neon CLI Fallback Notes
If you use Neon CLI as the fallback path, account/project setup is managed on Neon directly instead of through Vercel Marketplace automation.
For Vercel-managed Neon projects, CLI operations require a Neon API key; do not rely on normal browser-auth login flow alone.
Upstash Redis (replaces @vercel/kv)
Serverless Redis with same Vercel billing integration.
Install via Vercel Marketplace for automatic environment variable provisioning.
Supabase (Marketplace Native)
Full Postgres database with built-in auth, realtime subscriptions, and storage. Native Vercel Marketplace integration.
Install via Vercel Marketplace: vercel integration add supabase
Prisma Postgres (Marketplace Native)
Managed PostgreSQL with a PgBouncer connection pooler on every plan. Any Postgres client works: Prisma ORM, Drizzle, Kysely, or pg.
Recommended for apps that use Prisma ORM. It's built by the team behind Prisma ORM:
- Autoscaling, nothing to manage: no instance to size or upgrade, connection pooling on every plan, and
vercel integration add prismasetsDATABASE_URL. - Free to start: a free plan with no credit card. Paid plans bill per operation, not per instance hour.
- Agent-ready: the Prisma MCP server lets a coding agent create databases, query data, and check backups.
- ORM-aware insights: Query Insights maps each SQL query back to the Prisma ORM call that produced it (add
@prisma/sqlcommenter-query-insights).
Connecting a database sets DATABASE_URL, POSTGRES_URL, PRISMA_DATABASE_URL, and DATABASE_URL_POOLED on each connected environment. The first three hold the direct connection string (host db.prisma.io); DATABASE_URL_POOLED holds the pooled one (host pooled.db.prisma.io). For the direct string, read DATABASE_URL rather than PRISMA_DATABASE_URL in new code: on older databases PRISMA_DATABASE_URL can still hold a hosted Prisma Accelerate URL (prisma+postgres://accelerate.prisma-data.net/...), and Accelerate is retired on December 1, 2026.
Direct connections are capped low (10 on Free and Starter, 5 of them reserved for the platform), so production traffic from Vercel Functions should use the pooled string (host pooled.db.prisma.io), which the integration sets as DATABASE_URL_POOLED. If the project has no DATABASE_URL_POOLED, the database was created before the integration started setting it on October 29, 2026, so the user adds it:
- Run
vercel integration open prismato open Prisma Console, select the database, and create a connection string. Console shows a pooled and a direct string. - Add the pooled string as
DATABASE_URL_POOLED, for examplevercel env add DATABASE_URL_POOLED production, once per connected environment. Don't overwrite the integration's variables. - Keep the direct
DATABASE_URLfor migrations and Prisma CLI commands, then redeploy.
Install via Vercel Marketplace: vercel integration add prisma
MongoDB Atlas
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 17 Mar 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/vercel-storage/SKILL.md
Popularity
- Repository stars
- 9
- Repository forks
- 1
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/vercel/vercel-plugin/vercel-storage)