check-vercel-rules

check-vercel-rules is a command for Claude Code from Lykhoyda/rn-dev-agent. It costs 41 tokens per session (826 once invoked), scanned A, original, MIT.

A command that checks a project’s JavaScript and TypeScript files against Vercel Labs coding rules. It can review changed files, the whole project, or run as a continuous-integration check.

In plain words
What is it for?
Use it for manual project audits, checking edited files, creating a baseline of existing violations, or blocking non-compliant code in CI.
Why use it?
It finds rule violations before they reach review or release and can make violations fail a CI check. It also supports machine-readable report formats.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the rn-dev-agent plugin — 28 skills, 17 commands, 6 agents, 6 hooks shipped together

Good fit Use it for manual project audits, checking edited files, creating a baseline of existing violations, or blocking non-compliant code in CI.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Lykhoyda/rn-dev-agent
Claude Code
/plugin install rn-dev-agent

Made for: Claude Code.

Or install rn-dev-agent, the plugin that ships this one along with the rest of its 28 skills, 17 commands, 6 agents, 6 hooks.

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 check-vercel-rules

README.md
[![agentmods](https://agentmods.dev/badge/commands/lykhoyda/rn-dev-agent/check-vercel-rules/github.svg)](https://agentmods.dev/commands/lykhoyda/rn-dev-agent/check-vercel-rules)
Your own site
<a href="https://agentmods.dev/commands/lykhoyda/rn-dev-agent/check-vercel-rules"><img src="https://agentmods.dev/badge/commands/lykhoyda/rn-dev-agent/check-vercel-rules/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 check-vercel-rules

Your own site · 80×15
<a href="https://agentmods.dev/commands/lykhoyda/rn-dev-agent/check-vercel-rules"><img src="https://agentmods.dev/badge/commands/lykhoyda/rn-dev-agent/check-vercel-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 826 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.
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.00041 $0.00826
Opus 5.5 $0.00016 $0.00330
Sonnet 5.5 $0.00008 $0.00165
Haiku 4.5 $0.00004 $0.00083

Measured 2mo ago against content hash a7c5c9b75586, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

check-vercel-rules 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 2mo 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.

packages/claude-plugin/commands/check-vercel-rules.md · 65 lines

How it starts

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

Run the Vercel rule audit: $ARGUMENTS

Why this command exists

The PostToolUse audit hook (hooks/vercel-rules-audit.sh) checks rules on single-file edits during a session. This command runs the same checker across a broader scope — the whole project, just changed files, or for CI/pre-ship gating — and emits the chosen output format.

It wraps scripts/check-vercel-rules.mjs. Same checker, three call sites:

  • PostToolUse hook (per edit, automatic)
  • This slash command (manual, project-scoped)
  • pre-ship-checker integration (CI, blocks on violations)

Modes

Argument Behavior
(none) --all walk of cwd; reports violations; exit 0
--changed [files...] Check only specified files (or stdin one-per-line)
--all Walk cwd for .tsx/.jsx/.ts/.js; max 200 files
--ci Same as --all but exits 1 on any violation (use in pre-commit/CI)
--baseline-snapshot Write current violations to baseline path; exit 0
--format hook|json|sarif Output shape (default hook)

Run

# Default: --all on cwd, hook-format output
if [[ -z "$ARGUMENTS" ]]; then
  node "${CLAUDE_PLUGIN_ROOT:-${CURSOR_PLUGIN_ROOT:-${RN_DEV_AGENT_CODEX_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:?set it to the installed rn-dev-agent plugin root, then re-run}}}}/scripts/check-vercel-rules.mjs" --all
else
  node "${CLAUDE_PLUGIN_ROOT:-${CURSOR_PLUGIN_ROOT:-${RN_DEV_AGENT_CODEX_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:?set it to the installed rn-dev-agent plugin root, then re-run}}}}/scripts/check-vercel-rules.mjs" $ARGUMENTS
fi

After the run

  • No violations → no output. The repo is clean against the v1.0 grep-checker subset.
  • Violations reported → each line cites a rule ID and points to the upstream rule file under third_party/vercel-labs/agent-skills/skills/... for the full explanation + fix.
  • Want to suppress legacy violations? Run /rn-dev-agent:check-vercel-rules --baseline-snapshot to snapshot the current set; subsequent runs (and the PostToolUse hook) will only report NEW violations. Critical for retrofit on existing codebases.
  • Want SARIF for GitHub code-scanning? Use --format sarif; the output conforms to SARIF 2.1.0 and uploads cleanly to the Code Scanning API.

Read the full file on GitHub · 65 lines

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. 2mo ago Changed a7c5c9b75586
  2. 3mo ago First seen · 65 lines · 41 tokens per session scan A 3846f1ec99b4

Subscribe to this mod's changes

check-vercel-rules is a command published in the GitHub repository Lykhoyda/rn-dev-agent (20 stars, last pushed 1mo ago), licensed MIT. It adds 41 tokens to every session and 826 once invoked, about $0.0002 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-30.

Related

check-vercel-rules compared with commands from other repositories

check-vercel-rules next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
check-vercel-rulesLykhoyda/rn-dev-agentCommand201mo agoMITA41Claude Code
dashboard-list-modelsBlackBeltTechnology/pi-agent-dashboardCommand357todayMITA18Claude Code
dashboard-flow-autoBlackBeltTechnology/pi-agent-dashboardCommand357todayMITA19Claude Code
dashboard-session-abort-allBlackBeltTechnology/pi-agent-dashboardCommand357todayMITA16Claude Code
dashboard-server-tunnel-offBlackBeltTechnology/pi-agent-dashboardCommand357todayMITA13Claude Code
dashboard-session-renameBlackBeltTechnology/pi-agent-dashboardCommand357todayMITA18Claude Code
dashboard-session-thinkingBlackBeltTechnology/pi-agent-dashboardCommand357todayMITA20Claude Code