vercel-action: Instructions file for Claude Code

CLAUDE.md

vercel-action CLAUDE.md is an instructions file for Claude Code from amondnet/vercel-action. It costs 669 tokens per session, scanned A, original, MIT.

Repository instructions for a GitHub Action that deploys projects to Vercel, a service for hosting websites and applications. The project uses pnpm, a JavaScript package manager, and a monorepo, which keeps multiple related projects in one repository.

In plain words
What is it for?
Use it when installing dependencies, running checks and tests, building the action, or preparing a release whose bundled dist folder must be committed.
Why use it?
It gives coding agents the project’s package-manager choice, important commands, architecture notes, and release requirements so they can work consistently.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is amondnet/vercel-action's own configuration. It tells Claude Code how to work on vercel-action itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything vercel-action configures →

Reuse

Borrowing it

Nothing to install: this file belongs to amondnet/vercel-action. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/amondnet/vercel-action/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/amondnet/vercel-action

Made for: Claude Code.

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 vercel-action CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/amondnet/vercel-action/claude-md/github.svg)](https://agentmods.dev/instructions/amondnet/vercel-action/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/amondnet/vercel-action/claude-md"><img src="https://agentmods.dev/badge/instructions/amondnet/vercel-action/claude-md/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 vercel-action CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/amondnet/vercel-action/claude-md"><img src="https://agentmods.dev/badge/instructions/amondnet/vercel-action/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 669 This file is loaded in full into every session.
When invoked 669 The same file — it is already loaded in full.
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.00669 $0.00669
Opus 5.5 $0.00268 $0.00268
Sonnet 5.5 $0.00134 $0.00134
Haiku 4.5 $0.00067 $0.00067

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

Security

Grade A, and why

vercel-action CLAUDE.md 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.

CLAUDE.md · 78 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

@AGENTS.md

Project Overview

This is a GitHub Action that deploys projects to Vercel. It's a pnpm-based package that integrates with GitHub workflows to automate deployments, providing more control than Vercel's native GitHub integration.

Package Manager

This project uses pnpm as its package manager. The project is configured as a monorepo with workspaces for the example projects. Make sure to use pnpm commands instead of npm.

Essential Commands

Development

pnpm install            # Install dependencies
pnpm start              # Run the action locally (node ./index.js)
pnpm run lint           # Run ESLint
pnpm run lint:fix       # Run ESLint and fix issues
pnpm test               # Run Jest tests
pnpm run all            # Run lint, package, and test in sequence

Building for Distribution

pnpm run build        # Build the action with ncc (outputs to dist/)

Important: The dist/ folder must be committed when creating releases. This contains the bundled action code that GitHub Actions will execute.

Architecture

Core Components

  1. index.js: Main entry point that:

    • Reads GitHub Action inputs (vercel-token, github-token, etc.)
    • Executes Vercel CLI commands for deployment
    • Comments on PRs/commits with deployment URLs
    • Handles alias domain assignment
    • Manages environment variables for Vercel org/project
  2. action.yml: Defines the GitHub Action interface:

    • Input parameters configuration
    • Output values (preview-url, preview-name)
    • Runtime environment (Node.js 20)

Key Dependencies

  • @actions/core: GitHub Actions toolkit for inputs/outputs
  • @actions/exec: Execute shell commands
  • @actions/github: GitHub API interactions
  • vercel: CLI for deployments
  • axios: HTTP requests for alias management

Deployment Flow

  1. Action reads configuration from inputs and environment
  2. Sets up Vercel org/project IDs from .vercel/ directory
  3. Executes vercel command with appropriate flags
  4. Parses deployment URL from output
  5. Optionally assigns alias domains
  6. Comments on GitHub PR/commit with deployment info

Read the full file on GitHub · 78 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 First seen · 78 lines · 669 tokens per session scan A 93ec07f1f2b5

Subscribe to this mod's changes

vercel-action CLAUDE.md is an instructions file published in the GitHub repository amondnet/vercel-action (764 stars, last pushed 3mo ago), licensed MIT. It adds 669 tokens to every session, about $0.0027 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

vercel-action CLAUDE.md compared with instructions from other repositories

vercel-action CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vercel-action CLAUDE.mdamondnet/vercel-actionInstructions file7643mo agoMITA669Claude Code
plan-forge naming.instructions.mdsrnichols/plan-forgeInstructions file62d agoMITA1,453GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot