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.
npx skills add hoangatg/ai-agent-toolkit --skill vercel-deploymentgit clone --depth 1 https://github.com/hoangatg/ai-agent-toolkitWrote 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.
[](https://agentmods.dev/skills/hoangatg/ai-agent-toolkit/vercel-deployment)<a href="https://agentmods.dev/skills/hoangatg/ai-agent-toolkit/vercel-deployment"><img src="https://agentmods.dev/badge/skills/hoangatg/ai-agent-toolkit/vercel-deployment/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.
<a href="https://agentmods.dev/skills/hoangatg/ai-agent-toolkit/vercel-deployment"><img src="https://agentmods.dev/badge/skills/hoangatg/ai-agent-toolkit/vercel-deployment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00038 | $0.00791 |
| Opus 5 | $0.00019 | $0.00396 |
| Sonnet 5 | $0.00008 | $0.00158 |
| Haiku 4.5 | $0.00004 | $0.00079 |
Grade A, and why
vercel-deployment scanned grade A with 1 finding 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 8d 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- No Node.js APIs (fs, child_process) How it starts
The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vercel Deployment
Push to deploy. Preview everything. Ship with confidence.
1. Deployment Model
How It Works
git push → Build → Preview URL → Review → Merge → Production
Environment Types
| Environment | Trigger | URL |
|---|---|---|
| Production | Push to main | app.com |
| Preview | Push to any branch / PR | branch-xxx.vercel.app |
| Development | vercel dev |
localhost:3000 |
2. Configuration
vercel.json Essentials
| Setting | Purpose |
|---|---|
| redirects | URL redirects (301/302) |
| rewrites | URL rewrites (proxy) |
| headers | Custom response headers |
| functions | Serverless function config |
| crons | Scheduled functions |
3. Edge & Serverless Functions
| Type | Runtime | Cold Start | Best For |
|---|---|---|---|
| Serverless | Node.js | ~250ms | API routes, heavy logic |
| Edge | V8 Isolates | ~0ms | Fast responses, middleware |
Edge Function Limitations
- No Node.js APIs (fs, child_process)
- Limited execution time (30s)
- Smaller bundle size
- Limited npm packages
4. Caching & ISR
Incremental Static Regeneration
| Pattern | Use Case |
|---|---|
| Time-based | revalidate: 60 (every 60s) |
| On-demand | revalidateTag() / revalidatePath() |
| Static | Build-time only |
Cache Headers
| Header | Effect |
|---|---|
s-maxage=60 |
CDN cache for 60s |
stale-while-revalidate |
Serve stale while fetching new |
no-store |
Never cache |
5. Performance
| Feature | Impact |
|---|---|
| Edge Network | Global CDN, close to users |
| Image Optimization | Auto next/image on edge |
| Font Optimization | next/font zero CLS |
| Analytics | Web Vitals tracking |
| Speed Insights | Real user monitoring |
6. Environment Variables
| Type | Scope |
|---|---|
| Production | Only production deploys |
| Preview | Only preview deploys |
| Development | vercel dev only |
| NEXT_PUBLIC_ | Exposed to browser |
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.
- 8d ago First seen · 124 lines · 38 tokens per session scan A cfa98f6f73f9
vercel-deployment is a skill published in the GitHub repository hoangatg/ai-agent-toolkit (1 stars, last pushed 5mo ago), licensed MIT. It adds 38 tokens to every session and 791 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
web-security-check
Use this agent to validate the live deployed surface of a web application before production promotion.
production-orchestrator
Use this agent for end-to-end PRD-to-production pipeline execution with zero-tolerance validation, compliance gates, and rollback capability.
codex
Delegate coding tasks to the OpenAI Codex CLI for features, refactoring, PR reviews, and batch fixes. Requires the codex CLI and typically a git repository.
opencode
Delegate coding tasks to the OpenCode CLI for feature work, refactoring, PR review, and autonomous-style runs. Requires opencode installed where the agent can execute shell commands.
deepnote
DeepNote knowledge base: persistent interlinked markdown wiki with ingest, query, lint, link graph and history.
sre
Use this agent for site reliability engineering - incident response, SLOs/SLIs, monitoring, chaos engineering, runbooks, and system reliability.