Use this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `rese…
Use this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures.
Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Claude CodeNot declared
CursorNot declared
CodexNot declared
GitHub CopilotNot declared
WindsurfNot declared
Gemini CLINot declared
ClineNot declared
OpenCodeNot declared
Repository health
Stars3
Default branchmain
Open issues1
Status
Active
Skill metadata
Parsed from SKILL.md frontmatter.
Version3.0.0
CompatibilityDesigned for skills-compatible coding agents. Live operations require the official `resend` CLI plus a `RESEND_API_KEY` or stored profile. The bundled helper uses Python 3.10+ standard library only.
More metadata
author
OpenAI
version
3.0.0
cli-version
1.4.1
source
https://github.com/resend/resend-cli
last-reviewed
2026-03-14
Package contents
Files included with this skill beyond the listing page.
skill mdSKILL.md8,903 B
docsSUMMARY.md621 B
History
First seen on skills.sh
First recorded snapshot · 53 installs
SKILL.md
Resend CLI
This skill is for agents that should operate Resend through the official CLI first, not by dropping straight to raw REST.
The goal is not just “know the commands”. The goal is to make an agent:
choose the right Resend primitive,
choose the right CLI command,
run it in a deterministic non-interactive way,
detect the important CLI coverage gaps before it gets stuck, and
fall back to MCP/API only when the CLI genuinely does not cover the job.
Start here
Load only the files that match the task:
references/agent-operating-model.md — the default decision process for live Resend work
Campaign to a segment → broadcasts create / broadcasts send
Reusable hosted content → templates *
Sender or receiving setup → domains *
Inbound processing → emails receiving + webhooks
Scoped credentials → api-keys *
Recipient data and preferences → contacts, contact-properties, topics, segments
Local dev event loop → webhooks listen or emails receiving listen
5) Know the current CLI gaps
This version of the skill treats these as especially important:
Template send gap: the CLI manages templates, but the current emails send command surface does not expose a direct --template-id/template-vars flow.
Domain capability update gap:domains update exposes TLS/open/click tracking, but not an explicit sending/receiving capability toggle, while inbound help text references such a toggle.
Stream commands are special:webhooks listen and emails receiving listen are long-running and should be treated as NDJSON/event streams in agent mode.
JSON error channel discrepancy: the README promises machine JSON on stdout only, but the current source writes JSON errors with console.error, so wrappers must parse stderr too.
6) Keep IDs and file paths
Most multi-step flows become much easier if the agent persists:
domain IDs
email IDs
webhook IDs
topic IDs
segment IDs
template IDs/aliases
API key IDs
the file paths it generated for HTML or batch JSON
The mutation ladder
For state-changing live operations:
classify the task
confirm the command sequence
make any needed file assets (.html, batch JSON)
run with --json -q
verify with get, list, or a follow-up check
persist returned IDs and next-step context
only then continue to the next mutation
Bundled helper script
scripts/resend_cli.py is intentionally agent-oriented.
Commands:
probe — find the CLI, report install hints, and show environment basics
catalog — list known commands from the bundled catalogue
info — inspect one command and its notes/gaps
recommend — route a free-text task to the best CLI sequence
scaffold — print or materialise sample commands/files
lint-batch — statically validate an emails batch JSON file
doctor — explain likely causes of common CLI/API failures
run — execute the official CLI with deterministic defaults and tolerant JSON parsing
Examples:
python3 scripts/resend_cli.py probe
python3 scripts/resend_cli.py catalog --resource emails
python3 scripts/resend_cli.py info "emails send"
python3 scripts/resend_cli.py recommend "send 70 different shipment notifications"
python3 scripts/resend_cli.py scaffold batch-send --write-dir ./tmp
python3 scripts/resend_cli.py lint-batch ./tmp/batch-emails.json
python3 scripts/resend_cli.py doctor --command "emails send" --status 403 --message "1010 forbidden"
python3 scripts/resend_cli.py run -- emails list --limit 5
Response shape this skill should produce
A strong answer usually includes:
the exact Resend primitive,
the exact CLI command or command sequence,
any file scaffolding the user needs,
the operational caveats that matter here,
the verification step,
the fallback path if the CLI does not currently cover the flow.
Example prompts this skill should handle
“Use the Resend CLI to send a scheduled password reset email”
“Should I use emails send, emails batch, or broadcasts create?”
“Create a sending + receiving domain in eu-west-1”
“Set up local webhook listening with ngrok”
“Why is my batch file failing?”
“How do I manage multiple Resend accounts from one agent?”