Vercel is a platform and command-line tool for developing, previewing, and deploying web applications. Developers and teams use it to publish projects from templates, imported repositories, or local workspaces.
Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/vercel/vercelnpx agentmods add skills/vercel/vercel/fix-vi-flaky-testWrote 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/vercel/vercel/fix-vi-flaky-test)<a href="https://agentmods.dev/skills/vercel/vercel/fix-vi-flaky-test"><img src="https://agentmods.dev/badge/skills/vercel/vercel/fix-vi-flaky-test/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/vercel/vercel/fix-vi-flaky-test"><img src="https://agentmods.dev/badge/skills/vercel/vercel/fix-vi-flaky-test.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.00042 | $0.01393 |
| Opus 5.5 | $0.00017 | $0.00557 |
| Sonnet 5.5 | $0.00008 | $0.00279 |
| Haiku 4.5 | $0.00004 | $0.00139 |
Grade D, and why
fix-vi-flaky-test scanned grade D with 3 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 9d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
if command -v apt-get >/dev/null; then sudo apt-get update -qq && sudo apt-get install -y -qq gcc libc6-dev; else sudo dnf install -y -q gcc; fi Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y -q --profile minimal --default-toolchain 1.96.1 --target wasm32-wasip2 Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y -q --profile minimal --default-toolchain 1.96.1 --target wasm32-wasip2 How it starts
The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Fix a flaky test in vercel-internal
You were asked to fix one flaky test from test.yml, or to add diagnostics for a shard hang.
Your instructions list the attempts that failed and then passed on rerun, their branches, and log
lines. code-change covers publishing; this skill covers this repository's tests.
A test seen on one branch may be that pull request's own problem: check whether the pull request
changed the failing test or what it tests (git log on the pinned commit, or the run's PR). If it
did, finish without a change and say so.
Set up the sandbox
The sandbox has Node and pnpm but no C compiler or Rust, and part of the build needs both. Its
Linux varies (Ubuntu with apt-get, or Amazon Linux with dnf). Run these once, from the
workspace root (about four minutes in all):
if command -v apt-get >/dev/null; then sudo apt-get update -qq && sudo apt-get install -y -qq gcc libc6-dev; else sudo dnf install -y -q gcc; fi
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y -q --profile minimal --default-toolchain 1.96.1 --target wasm32-wasip2
Then install dependencies with install_dependencies and filter vercel..., and build what the
CLI's tests import:
. "$HOME/.cargo/env"
cd repo/packages/python-analysis && pnpm run build:wasm && cd ../..
pnpm --filter "vercel^..." run build
Use pnpm --filter, not turbo: Turbo also needs Cargo just to read the task graph. For a test in
another package, build "<package>^..." instead.
Run the test
- One CLI unit test file:
cd repo/packages/cli && node ./scripts/test.mjs --run --retry=0 <file>. - One CLI Unit shard, the same files as
CLI Unit / … / 6/7:VITEST_SHARD=6/7 node ./scripts/test.mjs --run --retry=0 test/unit/(about two minutes). - Vitest retries every failed test three times in this repository. Always pass
--retry=0when reproducing, and run the test or shard several times; a flaky test usually passes once.
A hang: [test] chunk timed out after 1200s
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.
- 9d ago First seen · 98 lines · 42 tokens per session scan D 2b10c47845cb
fix-vi-flaky-test is a skill published in the GitHub repository vercel/vercel (16,534 stars, last pushed 3d ago), licensed Apache-2.0. It adds 42 tokens to every session and 1,393 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it D with 3 findings (asks for root, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-28.
fix-vi-flaky-test compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| fix-vi-flaky-testvercel/vercel | Skill | 17k | 3d ago | Apache-2.0 | D | 42 | Claude Code, Codex |
| claw-adminx-cmd/x-cmd | Skill | 4.7k | 6d ago | Apache-2.0 | A | 48 | Claude Code, Codex |
| optimizex-cmd/x-cmd | Skill | 4.7k | 6d ago | Apache-2.0 | A | 29 | Claude Code, Codex |
| atmos-introspectioncloudposse/atmos | Skill | 1.4k | yesterday | Apache-2.0 | A | 44 | Claude Code |
| atmos-schemascloudposse/atmos | Skill | 1.4k | yesterday | Apache-2.0 | A | 32 | Claude Code |
| atmos-lintcloudposse/atmos | Skill | 1.4k | yesterday | Apache-2.0 | A | 64 | Claude Code |
| atmos-diagnosticscloudposse/atmos | Skill | 1.4k | yesterday | Apache-2.0 | A | 33 | Claude Code |