resend
Skill42 starsChanged 8 months agoMITView on GitHub
Send transactional or notification emails via the Resend API — text and HTML content, multiple recipients, CC/BCC, reply-to, and file attachments. Single Python script with stdin pipe support. Triggers on 'send email', 'transactional email', 'email notification', 'Resend API', 'send via Resend'.
- Reads credentials
- Installs packages
20 other projects use a version of this.
Adopted by
Most recently taken up by
- Ghost7802/awesome-api-skillstheir own version, first seen Nov 29, 2026
- Folken2/skillstheir own version, first seen Nov 29, 2026
- igoroliveirg/claude-skillstheir own version, first seen Nov 22, 2026
- heymegabyte/claude-skillstheir own version, first seen Nov 15, 2026
- heymegabyte/agent-skillstheir own version, first seen Nov 15, 2026
- vercel-labs/emulatetheir own version, first seen Oct 29, 2026
Used with
Projects with it also use resend-cli, agent-email-inbox and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
resendSkillresend-cli
Operate the Resend platform from the terminal — send emails (including React Email .tsx templates via --react-email), manage domains, contacts, broadcasts, templates, webhooks, API keys, logs, automations, and events via the `resend` CLI. Use when the user wants to run Resend commands in the shell, scripts, or CI/CD pipelines, or send/preview React Email templates. Always load this skill before running `resend` commands — it contains the non-interactive flag contract and gotchas that prevent silent failures.
Also in 4 projects that use this
igoroliveirgSkillagent-email-inbox
Use when building any system where email content triggers actions — AI agent inboxes, automated support handlers, email-to-task pipelines, or any workflow processing untrusted inbound email. Always use this skill when the user wants to receive emails and act on them programmatically, even if they don't mention "agent" — the skill contains critical security patterns (sender allowlists, content filtering, sandboxed processing) that prevent untrusted email from controlling your system.
Also in 3 projects that use this
sirakinbSkillemail-best-practices
Use when building email features, emails going to spam, high bounce rates, setting up SPF/DKIM/DMARC authentication, implementing email capture, ensuring compliance (CAN-SPAM, GDPR, CASL), handling webhooks, retry logic, or deciding transactional vs marketing.
Also in 6 projects that use this
VercelSkillreact-email
React Email renderer for json-render that turns JSON specs into HTML or plain-text emails using @react-email/components and @react-email/render. Use when working with @json-render/react-email, building transactional or marketing emails from JSON, creating email catalogs, rendering AI-generated email specs, or when the user mentions react-email, HTML email, or transactional email.
Also in 6 projects that use this
jcsaaddupuySkillopenai
OpenAI API integration guide
Also in 3 projects that use this
OpenAISkillposthog
Analyze product data and manage product tooling in PostHog. Use when the user wants product analytics or insights, HogQL/SQL queries, feature flags, experiments and A/B tests, error tracking, session replay, surveys, LLM analytics, dashboards, data warehouse, or PostHog documentation.
Also in 3 projects that use this
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 20
- renatoasse/opensquad★ 2.1ksame name
- vercel-labs/emulate★ 2.1ksame name
- resend/resend-skills★ 220same name
- alanalvestech/hitank★ 38same name
- heymegabyte/agent-skills★ 30same name
- heymegabyte/claude-skills★ 30same name
- Ghost7802/awesome-api-skills★ 13same name
- TommyBez/skillsboard★ 10same name
- domhhv/habitrack★ 8same name
- Nirusan/claude-config★ 7same name
10 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository102 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- agents-md-managerSkill
- architecture-md-builderSkill
- autoresearchSkill
- claude-agent-sdkSkill
- claude-md-managerSkill
- claude-usageSkill
- dag-typesafeSkill
- fableSkill
- glossarySkill
- openrouter-usageSkill
- react-best-practicesSkill
- skill-optimizerSkill
- stop-slopSkill
- tamarruSkill
- test-harness-auditorSkill
- user-model-builderSkill
- atmosphere-shaderSkill
- blender-forgeSkill
- component-gallerySkill
- conductor-motionSkill
- design-auditSkill
- design-critiqueSkill
- design-mdSkill
- design-polishSkill
- gemini-claude-resonanceSkill
- gemini-forgeSkill
- gpt-atelierSkill
- grainientSkill
- image-forgeSkill
- image-wellSkill
- meshySkill
- mindnode-uiSkill
- minoan-frontend-designSkill
- nano-banana-proSkill
- overwatch-slidedeckSkill
- painterly-canvasSkill
- paper-designSkill
- particle-swarm-simSkill
- pellicolaSkill
- photo-to-slack-emojiSkill
- pretextSkill
- recordlySkill
- rocaille-shaderSkill
- scroll-cinemaSkill
- shadcnSkill
- shapeSkill
- smolvlmSkill
- speak-responseSkill
- sprite-forgeSkill
- threejs-particle-canvasSkill
- vellum-editorialSkill
- webgpu-threejs-tslSkill
- agent-browserSkill
- beautiful-mermaidSkill
- classical-887Skill
- claude-peersSkill
- cloudflareSkill
- codex-ctoSkill
- codex-orchestratorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 20 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Add to secrets: Add export RESEND_API_KEY=re_xxxxxxxxx to ~/.config/env/secrets.env
- Very specific: line 108
Use --from ALIAS as a shorthand for named senders:
- Very specific: line 125
If --from doesn't match an alias, it's used as-is (full email or Name <email> format).
“Common” is measured: kept by at least 6 in 10 of the 20 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Resend Email Skill
Send emails via the Resend transactional email API.
IMPORTANT: Confirm Before Sending
Always confirm with the user before sending an email. Show them the recipient(s), subject, and body content and get explicit approval. Email is not reversible.
When to Use This Skill
- Sending a transactional or notification email
- Sending HTML email (inline or from a file)
- Sending email with attachments
- Piping content from another command into an email body
Prerequisites
- API Key: Get a Resend API key at https://resend.com/api-keys (format:
re_xxxxxxxxx) - Add to secrets: Add
export RESEND_API_KEY=re_xxxxxxxxxto~/.config/env/secrets.env - Verify domain (optional): By default, send from
onboarding@resend.dev(test only). For production, verify a domain at https://resend.com/domains - Install requests:
uv pip install --system requests
Credentials checked in order: RESEND_API_KEY env var > ~/.config/env/secrets.env > ~/.claude.json
Quick Start
# Simple text email
python3 ~/.claude/skills/resend/scripts/send.py \
--to "recipient@example.com" \
--subject "Hello from Claude" \
--body "This is a test email."
# HTML email from a file
python3 ~/.claude/skills/resend/scripts/send.py \
--to "recipient@example.com" \
--subject "Weekly Report" \
--html report.html
# Pipe content as body
echo "Pipeline output here" | python3 ~/.claude/skills/resend/scripts/send.py \
--to "recipient@example.com" \
--subject "Build Results"
# Multiple recipients with CC
python3 ~/.claude/skills/resend/scripts/send.py \
--to "alice@example.com" "bob@example.com" \
--cc "manager@example.com" \
--subject "Meeting Notes" \
--body "Attached are the notes from today."
# With attachments
python3 ~/.claude/skills/resend/scripts/send.py \
--to "recipient@example.com" \
--subject "Invoice" \
--body "Please find the invoice attached." \
--attachments invoice.pdf
# Custom from address (requires verified domain)
python3 ~/.claude/skills/resend/scripts/send.py \
--from "tom@minoanmystery.org" \
--to "recipient@example.com" \
--subject "Test" \
--body "Sent from a verified domain."
# Inline HTML string
python3 ~/.claude/skills/resend/scripts/send.py \
--to "recipient@example.com" \
--subject "Styled Email" \
--html "<h1>Hello</h1><p>This is <strong>bold</strong>.</p>"
# Dry run (print payload without sending)
python3 ~/.claude/skills/resend/scripts/send.py \
--to "recipient@example.com" \
--subject "Test" \
--body "Hello" \
--dry-runParameters
python3 ~/.claude/skills/resend/scripts/send.py [OPTIONS]| Flag | Description | Required |
--to EMAIL [EMAIL...] | Recipient email address(es) | Yes |
--subject TEXT | Email subject line | Yes |
--body TEXT | Plain text body (or pipe via stdin) | One of --body, --html, or stdin |
--html FILE_OR_STRING | HTML body: path to .html file, or inline HTML string | One of --body, --html, or stdin |
--from EMAIL | Sender address (default: Tom di Mino <tom@send.minoanmystery.org>) | No |
--cc EMAIL [EMAIL...] | CC recipients | No |
--bcc EMAIL [EMAIL...] | BCC recipients | No |
--reply-to EMAIL | Reply-to address | No |
--attachments FILE [FILE...] | File paths to attach | No |
--dry-run | Print the payload without sending | No |
Body resolution: --body and --html can be combined for multipart email (text + HTML). If neither is provided, stdin is used as plain text. --body "" sends an empty text part.
Sender Aliases
Use --from ALIAS as a shorthand for named senders:
| Alias | Expands to |
tom | Tom di Mino <tom@send.minoanmystery.org> |
kothar | Kothar wa Khasis <kothar@send.minoanmystery.org> |
claudius | Claudius, Artifex Maximus <claudius@send.minoanmystery.org> |
minoan | Minoan Mystery <contact@send.minoanmystery.org> |
# Send as Kothar
--from kothar
# Send as Claudius
--from claudiusIf --from doesn't match an alias, it's used as-is (full email or Name <email> format).
Test Addresses
Resend provides test addresses that don't affect domain reputation:
delivered@resend.dev— simulates successful deliverybounced@resend.dev— simulates a bounce
Rate Limits
Resend enforces 2 requests per second. The script does not batch or retry — if sending multiple emails, add a 1-second delay between invocations.
Troubleshooting
| Problem | Fix |
RESEND_API_KEY not found | Add export RESEND_API_KEY=re_xxx to ~/.config/env/secrets.env |
missing_required_field | Ensure --to and --subject are provided, plus body content |
validation_error on from | Default onboarding@resend.dev only works for test sends. Verify a domain at resend.com/domains |
rate_limit_exceeded | Wait 1 second between sends (2 req/s limit) |
| Attachment not found | Use absolute paths or paths relative to CWD |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

