vercel-action CLAUDE.md

vercel-action CLAUDE.md is an instructions file for coding agents 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

Install

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.

agentmods
npx agentmods add instructions/amondnet/vercel-action/claude-md
Clone the repo
git clone --depth 1 https://github.com/amondnet/vercel-action

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00669 $0.00669
Opus 5 $0.00334 $0.00334
Sonnet 5 $0.00134 $0.00134
Haiku 4.5 $0.00067 $0.00067

Measured 5d ago against content hash 93ec07f1f2b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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. 5d 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 (765 stars, last pushed 1mo ago), licensed MIT. It adds 669 tokens to every session, about $0.0033 per session on Opus 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.