resend-cli: Instructions file for Codex

AGENTS.md

resend-cli AGENTS.md is an instructions file for Codex, OpenCode from resend/resend-cli. It costs 328 tokens per session, scanned A, a copy of react-email AGENTS.md, MIT.

A set of repository instructions for AI coding agents working on the Resend command-line project. It covers testing, contribution rules, change scope, and pull request preparation.

In plain words
What is it for?
Guiding bug fixes and new features, requiring linting, type checks, and tests, and keeping external contributions tied to an issue or agreed design proposal.
Why use it?
It tells an agent and its human reviewer what checks and approval steps are required before a change is handed back.

Instructions file for CodexOpenCode

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

This is resend/resend-cli's own configuration. It tells Codex and OpenCode how to work on resend-cli 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 resend-cli configures →

Reuse

Borrowing it

Nothing to install: this file belongs to resend/resend-cli. 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/resend/resend-cli/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/resend/resend-cli

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/resend/resend-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/resend/resend-cli/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 328 This file is loaded in full into every session.
When invoked 328 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 88% copy Near-identical to another mod 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.00328 $0.00328
Opus 5.5 $0.00131 $0.00131
Sonnet 5.5 $0.00066 $0.00066
Haiku 4.5 $0.00033 $0.00033

Measured 17d ago against content hash 253e93cce2ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

resend-cli 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 17d 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.

Origin

This is a copy

88% identical to react-email AGENTS.md — 5 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AGENTS.md · 34 lines

What it actually says

AGENTS.md

Instructions for AI coding agents working in this repository.

Rules for everyone

AI tools are welcome for exploring the codebase, drafting changes, and writing tests. The person you're working for is responsible for the result.

  • Add tests for bug fixes and new behavior, and run them before handing the change back.
  • Do not add comments explaining the code.

Rules for external contributors

These apply to external contributors working from a fork.

  • The person must understand and review everything before it is submitted, including pull requests, issues, and discussions.
  • The person must understand and review the pull request description and make sure it accurately describes the change.
  • Keep the change scoped to the problem being solved. No drive-by refactors, formatting changes, or unrelated fixes.
  • Make sure there is an issue or discussion first. Bug fixes need an open issue, and features need an agreed-upon RFC in Discussions. If neither exists, tell the person to open one before writing code.

Before handing the change back

Run these from the repository root and fix what fails:

pnpm lint
pnpm typecheck
pnpm test

Pull request title

Titles follow <type>(<scope>): <message>, where type is feat, fix, chore, or refactor, the scope is optional, and the message starts lowercase. For example: fix: resolve issue with send command. CI checks this.

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. 17d ago First seen · 34 lines · 328 tokens per session scan A 253e93cce2ef

Subscribe to this mod's changes

resend-cli AGENTS.md is an instructions file published in the GitHub repository resend/resend-cli (416 stars, last pushed today), licensed MIT. It adds 328 tokens to every session, about $0.0013 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to react-email AGENTS.md, differing in 5 lines, and is treated as a copy.

Related

resend-cli AGENTS.md compared with instructions from other repositories

resend-cli AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
resend-cli AGENTS.mdresend/resend-cliInstructions file416todayMITA328Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode