Vercel CLI With Tokens
vercel-labs/agent-skills
Deploys and manages Vercel projects through the CLI using an access token from the environment or a .env file instead of interactive login.
Runbook for deploying or redeploying the CodFlow Astro storefront to Vercel, with required environment variables, CLI or Git methods and checks afterwards.
$ npx skills add bighadj22/codflow --skill storefront-vercel -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install bighadj22/codflow storefront-vercel --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/bighadj22/codflow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/storefront-vercel .claude/skills/storefront-vercel && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "storefront-vercel" agent skill from https://github.com/bighadj22/codflow/tree/main/.agents/skills/storefront-vercel into .claude/skills/storefront-vercel/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "storefront-vercel", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/bighadj22/codflow/tree/main/.agents/skills/storefront-vercelType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add bighadj22/codflow --skill storefront-vercel -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install bighadj22/codflow storefront-vercel --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bighadj22/codflow.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/storefront-vercel .agents/skills/storefront-vercel && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "storefront-vercel" agent skill from https://github.com/bighadj22/codflow/tree/main/.agents/skills/storefront-vercel into .agents/skills/storefront-vercel/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "storefront-vercel", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add bighadj22/codflow --skill storefront-vercel -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install bighadj22/codflow storefront-vercel --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bighadj22/codflow.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/storefront-vercel .cursor/skills/storefront-vercel && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "storefront-vercel" agent skill from https://github.com/bighadj22/codflow/tree/main/.agents/skills/storefront-vercel into .cursor/skills/storefront-vercel/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "storefront-vercel", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/bighadj22/codflow.git --path .agents/skills/storefront-vercel--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add bighadj22/codflow --skill storefront-vercel -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install bighadj22/codflow storefront-vercel --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bighadj22/codflow.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/storefront-vercel .gemini/skills/storefront-vercel && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "storefront-vercel" agent skill from https://github.com/bighadj22/codflow/tree/main/.agents/skills/storefront-vercel into .gemini/skills/storefront-vercel/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "storefront-vercel", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install bighadj22/codflow storefront-vercelInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add bighadj22/codflow --skill storefront-vercel -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/bighadj22/codflow.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/storefront-vercel .github/skills/storefront-vercel && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "storefront-vercel" agent skill from https://github.com/bighadj22/codflow/tree/main/.agents/skills/storefront-vercel into .github/skills/storefront-vercel/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "storefront-vercel", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add bighadj22/codflow --skill storefront-vercel -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install bighadj22/codflow storefront-vercel --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bighadj22/codflow.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/storefront-vercel .opencode/skills/storefront-vercel && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "storefront-vercel" agent skill from https://github.com/bighadj22/codflow/tree/main/.agents/skills/storefront-vercel into .opencode/skills/storefront-vercel/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "storefront-vercel", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
storefront-vercelRunbook for deploying or redeploying the CodFlow Astro storefront to Vercel, with required environment variables, CLI or Git methods and checks afterwards.
This skill covers deploying the CodFlow storefront theme (cod-astro/theme01) to Vercel instead of Cloudflare Workers. It explains why Vercel can be preferable: it avoids Cloudflare's error 1042, where a Worker on a free workers.dev subdomain cannot fetch another one, and it offers edge caching and per-branch preview deployments. The storefront picks its adapter from DEPLOY_TARGET, which must be set to vercel.
Required variables are DEPLOY_TARGET, COD_SERVER_URL and STORE_API_KEY, with MEDIA_DOMAIN optional for an R2 image CDN, and STORE_API_KEY is a secret that must stay on the server side. Two methods are given: the Vercel CLI through npx, recommended for agents, which checks login with vercel whoami and falls back to a VERCEL_TOKEN in headless or CI settings, and the Vercel dashboard with Git for continuous deployment. After deploying, the agent verifies that the storefront works.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit ed79aa9. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npxcurlnpmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npx, curl and npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
STORE_API_KEYVERCEL_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
CodFlow Storefront Vercel Deploy loads about 2.2k tokens when it runs. Until then it costs about 125 tokens; SKILL.md has 881 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from bighadj22/codflow at commit ed79aa9, republished under its Apache-2.0 licence (© bighadj22). 881 words, ~2,240 tokens.
.claude/skills/storefront-vercel/SKILL.md (or your agent's skills folder).cod-astro/theme01 is the customer-facing storefront theme for CodFlow (Astro 7).
While the CodFlow backend (cod-server) and merchant dashboard (cod-client-astro)
run on Cloudflare Workers (using D1, R2, and KV), the storefront supports dynamic
deployment targets (DEPLOY_TARGET=vercel or DEPLOY_TARGET=cloudflare).
Deploying the storefront to Vercel is often preferred because:
cod-server is deployed on a free *.workers.dev subdomain without a custom domain, Cloudflare blocks another Cloudflare Worker on *.workers.dev from fetching it. Vercel runs outside Cloudflare's internal network, allowing the storefront to fetch cod-server on *.workers.dev without needing a custom domain.Before deploying, collect these values:
| Variable | Description | Example |
|---|---|---|
DEPLOY_TARGET | Mandatory. Tells astro.config.mjs to use @astrojs/vercel | vercel |
COD_SERVER_URL | Mandatory. Base URL of deployed cod-server API | https://api.yourdomain.com or https://codflow-server.<account>.workers.dev |
STORE_API_KEY | Mandatory. Raw store API key matching the seeded key in D1 | Generated in codflow-setup Step 4 |
MEDIA_DOMAIN | Optional. Custom domain for R2 image CDN | media.yourdomain.com |
[!IMPORTANT]
STORE_API_KEYis secret. It is used on the server side in SSR routes and API proxies. Never expose it in client-side bundles.
Choose Method 1 (Vercel CLI) for automated/terminal deployments, or Method 2 (Vercel Dashboard / Git) for continuous deployment from GitHub.
npx vercel (or installed globally).npx vercel whoaminpx vercel loginVERCEL_TOKEN in the environment (export VERCEL_TOKEN="<token>").Navigate to the storefront directory:
cd cod-astro/theme01Run initial setup:
npx vercel linkFollow the interactive prompts (or provide flags in non-interactive sessions):
No (or Yes if linking existing)<project>-storefront (e.g. mystore-storefront)./Add the required production environment variables using the CLI:
# 1. Deployment Target
printf "vercel" | npx vercel env add DEPLOY_TARGET production
# 2. Backend API URL (must start with https://)
printf "https://<your-cod-server-domain>" | npx vercel env add COD_SERVER_URL production
# 3. Store API Key
printf "<your-raw-store-api-key>" | npx vercel env add STORE_API_KEY production
# 4. Optional: Media Domain (if R2 custom domain is configured)
printf "<media.yourdomain.com>" | npx vercel env add MEDIA_DOMAIN production(Optional: also add them to preview and development environments if you plan to use preview branches).
Execute production deployment with the Vercel adapter:
cd cod-astro/theme01
npx vercel --prodVercel will upload the project, execute npm run build:vercel (or astro build with DEPLOY_TARGET=vercel), compile the SSR serverless/edge functions, and provide the live production URL (e.g. https://<project>-storefront.vercel.app).
Use this method when connecting a GitHub / GitLab / Bitbucket repository:
Import Repository in Vercel:
codflow-os repository.Configure Project Settings:
codflow-storefrontAstrocod-astro/theme01. Check the option "Include source files outside of the Root Directory in the Build Step" (needed because workspace dependencies resolve to root node_modules).npm run build:vercelastro build if DEPLOY_TARGET=vercel is set in Environment Variables)..vercel/output).npm install / root workspace install).Configure Environment Variables: Under Environment Variables, add:
DEPLOY_TARGET = vercelCOD_SERVER_URL = https://<your-cod-server-domain>STORE_API_KEY = <your-raw-store-api-key>MEDIA_DOMAIN = <media.yourdomain.com> (optional)Deploy:
@astrojs/vercel, and assign a production URL.Once deployment completes, run these checks against the live Vercel URL:
| Target | Test Command / Action | Expected Result |
|---|---|---|
| Homepage | curl -s -o /dev/null -w "%{http_code}" https://<storefront-url> | 200 (HTML response) |
| Catalog SSR | Open https://<storefront-url>/ in browser | Products load with images, prices, and title |
| Product Detail | Open https://<storefront-url>/product/<slug> | Product page renders with checkout / order form |
| Cart / Order Flow | Submit test order (or test modal) | Order registers and thank-you page displays |
# Verify homepage returns 200 OK
curl -s -I "https://<your-storefront>.vercel.app" | head -n 5
# Verify API connectivity through storefront proxy
curl -s "https://<your-storefront>.vercel.app/api/cart/validate" \
-H "Content-Type: application/json" \
-d '{"items":[]}'
# Expect valid JSON responseTo attach a custom domain to the Vercel storefront:
store.yourdomain.com or yourdomain.com).store.yourdomain.com): Add CNAME pointing to cname.vercel-dns.com.yourdomain.com): Add A record pointing to 76.76.21.21.| Problem | Cause | Solution |
|---|---|---|
Build fails: Cannot find module '@astrojs/vercel' | Missing dependency in cod-astro/theme01 | Run npm install @astrojs/vercel --workspace=cod-astro-theme01 at repository root. |
| Build produces Cloudflare output instead of Vercel output | DEPLOY_TARGET not set to vercel | Ensure DEPLOY_TARGET=vercel is present in Vercel environment variables, or run npm run build:vercel. |
| Storefront loads but shows empty products / error banner | COD_SERVER_URL incorrect or unreachable | Confirm COD_SERVER_URL has https:// prefix and matches the live API worker. Verify curl https://<api-url>/api/docs returns 200. |
| Orders fail with 401 Unauthorized | STORE_API_KEY mismatch | The value in Vercel STORE_API_KEY must match the key seeded into the D1 database in codflow-setup Step 5. Re-check or update the secret in Vercel. |
| Monorepo build fails to resolve shared packages | Vercel root directory configuration | If using Git integration, ensure "Include source files outside of the Root Directory" is enabled in Vercel project settings, or deploy via npx vercel inside cod-astro/theme01. |
Node.js version warning: Node.js 26 is not supported | Vercel serverless functions support up to Node 24 | Normal warning on Node 26 development machines; Vercel automatically runs Node 24 in its cloud functions. |
| Images do not load from R2 | MEDIA_DOMAIN misconfigured or missing CORS | Verify MEDIA_DOMAIN is set (hostname only, without https://). Ensure R2 bucket CORS policy allows requests from the Vercel domain. |
© bighadj22, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/storefront-vercel of bighadj22/codflow.
Open the folder on GitHubat commit ed79aa9
CodFlow Storefront Vercel Deploy next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| CodFlow Storefront Vercel Deploy this skillbighadj22/codflow | 350 | — | ~2.2k | Automated safety check: Pass | Apache-2.0 | |
| Vercel CLI With Tokensvercel-labs/agent-skills | 32k | 7 repos | ~2.6k | Automated safety check: Notes | None | |
| Env Managerbobmatnyc/claude-mpm | 155 | — | ~2k | Automated safety check: Notes | MIT | |
| Frontmcp Deploymentagentfront/frontmcp | 146 | — | ~9.2k | Automated safety check: Notes | Apache-2.0 | |
| Add Vercel to NanoClawnanocoai/nanoclaw | 31k | — | ~1.5k | Automated safety check: Warn | MIT | |
| Frontmcp Production Readinessagentfront/frontmcp | 146 | — | ~6.5k | Automated safety check: Pass | Apache-2.0 |
vercel-labs/agent-skills
Deploys and manages Vercel projects through the CLI using an access token from the environment or a .env file instead of interactive login.
bobmatnyc/claude-mpm
Environment variable validation, synchronization, and management across local development, CI/CD, and deployment platforms
agentfront/frontmcp
A skill your agent uses when deploying, building for production, packaging, or shipping a FrontMCP server.
nanocoai/nanoclaw
Gives NanoClaw agents the ability to deploy web apps to Vercel by installing the Vercel CLI in agent containers and wiring up credential injection through OneCLI.
agentfront/frontmcp
Pre-production audit, hardening, and go-live checklists for FrontMCP servers.
ancoleman/ai-design-components
Deployment patterns from Kubernetes to serverless and edge functions.
bighadj22/codflow
Wires an app to the Yalidine (Guepex) Algerian courier API: parcels, zone lookups, delivery fees and verified delivery-status webhooks.
bighadj22/codflow
Bundles Meta's official Pixel and Conversions API documentation so tracking changes, event deduplication and conversion events are checked against the real spec.
bighadj22/codflow
A step-by-step workflow for changing the CodFlow repository: read the AGENTS.md contract, respect package boundaries, verify before claiming done and keep PRs small.
bighadj22/codflow
Guides an agent through eight customer tools in a cash-on-delivery CRM for Algerian e-commerce: search, profiles, phone lookup, order history, groups, tags and deletion.
bighadj22/codflow
Guides connecting and maintaining the EcoTrack courier adapter in CodFlow, one API shared by 82 Algerian couriers, using the official API reference and a rollout plan.
bighadj22/codflow
Creates new API endpoints, and converts older ones, with the defineRoute() pattern used in cod-server, including auth strategies, scopes and OpenAPI output.
Works with
Categories
Runbook for deploying or redeploying the CodFlow Astro storefront to Vercel, with required environment variables, CLI or Git methods and checks afterwards. This skill covers deploying the CodFlow storefront theme (cod-astro/theme01) to Vercel instead of Cloudflare Workers.dev subdomain cannot fetch another one, and it offers edge caching and per-branch preview deployments.
CodFlow Storefront Vercel Deploy fits situations like: deploying the CodFlow storefront to Vercel for the first time; switching the storefront from Cloudflare Workers to Vercel; troubleshooting a failing Vercel storefront deployment.
Run `npx skills add bighadj22/codflow --skill storefront-vercel -a claude-code`. Or copy the skill folder (.agents/skills/storefront-vercel in bighadj22/codflow) into .claude/skills/storefront-vercel in your project. Claude Code loads it when a task matches its description.
Run `npx skills add bighadj22/codflow --skill storefront-vercel -a codex`. Or copy the skill folder (.agents/skills/storefront-vercel in bighadj22/codflow) into .agents/skills/storefront-vercel in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add bighadj22/codflow --skill storefront-vercel -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/storefront-vercel, .gemini/skills/storefront-vercel, .github/skills/storefront-vercel and .opencode/skills/storefront-vercel in your project.
Going by SKILL.md and its folder, CodFlow Storefront Vercel Deploy needs the command-line tools its instructions call (npx, curl and npm) and credentials named STORE_API_KEY and VERCEL_TOKEN. Our summary lists: A Vercel account, with the Vercel CLI through npx or a VERCEL_TOKEN; A deployed CodFlow cod-server and its URL; The store API key from the CodFlow setup.
SKILL.md contains no URLs. Its commands use npx, curl and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
CodFlow Storefront Vercel Deploy is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with CodFlow Storefront Vercel Deploy: Vercel CLI With Tokens (vercel-labs/agent-skills, 32k stars), Env Manager (bobmatnyc/claude-mpm, 155 stars), Frontmcp Deployment (agentfront/frontmcp, 146 stars) and Add Vercel to NanoClaw (nanocoai/nanoclaw, 31k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
bighadj22 (a GitHub user) maintains it in bighadj22/codflow, which has 350 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 6, 2026.
Source: bighadj22/codflow on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.