vercel-action: Instructions file for Codex

AGENTS.md

vercel-action AGENTS.md is an instructions file for Codex, OpenCode from amondnet/vercel-action. It costs 856 tokens per session, scanned A, original, MIT.

Repository instructions for making small, safe changes to a Vercel deployment action. They require reading related code, checking alternatives, documenting assumptions, and avoiding secrets.

In plain words
What is it for?
Use them when changing, reviewing, or testing the referenced Vercel action and its supporting code or configuration.
Why use it?
They give contributors a consistent way to understand the affected code and reduce accidental breakage in deployment automation.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is amondnet/vercel-action's own configuration. It tells Codex and OpenCode 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/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/amondnet/vercel-action

Made for: Codex, OpenCode.

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 AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/amondnet/vercel-action/agents-md"><img src="https://agentmods.dev/badge/instructions/amondnet/vercel-action/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 856 This file is loaded in full into every session.
When invoked 856 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.00856 $0.00856
Opus 5.5 $0.00342 $0.00342
Sonnet 5.5 $0.00171 $0.00171
Haiku 4.5 $0.00086 $0.00086

Measured 2mo ago against content hash 052ddd2f6ad2, 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 AGENTS.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.

AGENTS.md · 85 lines

How it starts

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

AGENTS.md

Problem definition → small, safe change → change review → refactor — repeat the loop.

Mandatory Rules

  • Before changing anything, read the relevant files end to end, including all call/reference paths.
  • Keep tasks, commits, and PRs small.
  • If you make assumptions, record them in the Issue/PR/ADR.
  • Never commit or log secrets; validate all inputs and encode/normalize outputs.
  • Avoid premature abstraction and use intention-revealing names.
  • Compare at least two options before deciding.

Mindset

  • Think like a senior engineer.
  • Don’t jump in on guesses or rush to conclusions.
  • Always evaluate multiple approaches; write one line each for pros/cons/risks, then choose the simplest solution.

Code & File Reference Rules

  • Read files thoroughly from start to finish (no partial reads).
  • Before changing code, locate and read definitions, references, call sites, related tests, docs/config/flags.
  • Do not change code without having read the entire file.
  • Before modifying a symbol, run a global search to understand pre/postconditions and leave a 1–3 line impact note.

Required Coding Rules

  • Before coding, write a Problem 1-Pager: Context / Problem / Goal / Non-Goals / Constraints.
  • Enforce limits: file ≤ 300 LOC, function ≤ 50 LOC, parameters ≤ 5, cyclomatic complexity ≤ 10. If exceeded, split/refactor.
  • Prefer explicit code; no hidden “magic.”
  • Follow DRY, but avoid premature abstraction.
  • Isolate side effects (I/O, network, global state) at the boundary layer.
  • Catch only specific exceptions and present clear user-facing messages.
  • Use structured logging and do not log sensitive data (propagate request/correlation IDs when possible).
  • Account for time zones and DST.

Testing Rules

  • New code requires new tests; bug fixes must include a regression test (write it to fail first).
  • Tests must be deterministic and independent; replace external systems with fakes/contract tests.
  • Include ≥1 happy path and ≥1 failure path in e2e tests.
  • Proactively assess risks from concurrency/locks/retries (duplication, deadlocks, etc.).

Read the full file on GitHub · 85 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 · 85 lines · 856 tokens per session scan A 052ddd2f6ad2

Subscribe to this mod's changes

vercel-action AGENTS.md is an instructions file published in the GitHub repository amondnet/vercel-action (764 stars, last pushed 3mo ago), licensed MIT. It adds 856 tokens to every session, about $0.0034 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 AGENTS.md compared with instructions from other repositories

vercel-action AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vercel-action AGENTS.mdamondnet/vercel-actionInstructions file7643mo agoMITA856Codex, OpenCode
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
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode