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.
npx skills add monkilabs/opencastle --skill resend-emailgit clone --depth 1 https://github.com/monkilabs/opencastleWrote 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.
[](https://agentmods.dev/skills/monkilabs/opencastle/resend-email)<a href="https://agentmods.dev/skills/monkilabs/opencastle/resend-email"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/resend-email/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.
<a href="https://agentmods.dev/skills/monkilabs/opencastle/resend-email"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/resend-email.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00037 | $0.00487 |
| Opus 5.5 | $0.00015 | $0.00195 |
| Sonnet 5.5 | $0.00007 | $0.00097 |
| Haiku 4.5 | $0.00004 | $0.00049 |
Grade B, and why
resend-email scanned grade B with 2 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 1mo 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.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
`curl -X POST -H 'Content-Type: application/json' -d '{"type":"email.delivered"}' https://yourapp.com/api/webhooks/resend` Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
`curl -X POST -H 'Content-Type: application/json' -d '{"type":"email.delivered"}' https://yourapp.com/api/webhooks/resend` What it actually says
Resend Email
Docs: https://resend.com/docs
Env: RESEND_API_KEY (resend.com → API Keys), RESEND_WEBHOOK_SECRET (resend.com → Webhooks).
Gotchas
- Resend webhooks are Svix-signed. Verification needs all three headers —
svix-id,svix-timestamp,svix-signature— passed tonew Webhook(process.env.RESEND_WEBHOOK_SECRET).verify(rawBody, headers). Verify against the rawrequest.text(); parsing the JSON first invalidates the signature. Return 400 on failure, 200 on success. Events:email.delivered,email.bounced,email.complained. frommust use a verified domain and the'Name <[email protected]>'form.tois an array.- Pass a React Email component via
react:(nothtml:); the two are mutually exclusive.
Domain setup
- Add the domain at resend.com → Domains, then add the SPF, DKIM, and DMARC records. Verification typically completes within an hour.
- Confirm propagation before blaming the API:
dig TXT yourdomain.com— SPF/DKIM records must appear. - Send one test message and check the received headers show SPF and DKIM pass.
- Smoke-test the webhook endpoint returns 200:
curl -X POST -H 'Content-Type: application/json' -d '{"type":"email.delivered"}' https://yourapp.com/api/webhooks/resend
Failures here are nearly always DNS propagation, a wrong API key scope, or a mismatched webhook secret.
Templates
npm install resend @react-email/components. Build templates from @react-email/components primitives (Html, Head, Body, Container, Heading, Text, Button) — plain HTML/CSS is unreliable across clients. Preview locally with npx react-email dev — the preview server is the react-email package, which @react-email/components does not install.
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.
- 1mo ago Changed · +2 tokens per session b02497aaa1f8
- 1mo ago First seen · 31 lines · 35 tokens per session scan B 5e48fa2337ee
resend-email is a skill published in the GitHub repository monkilabs/opencastle (82 stars, last pushed 10d ago), licensed MIT. It adds 37 tokens to every session and 487 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-04.
resend-email compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| resend-emailmonkilabs/opencastle | Skill | 82 | 10d ago | MIT | B | 37 | Claude Code, Codex |
| spring-data-redisrrezartprebreza/spring-boot-skills | Skill | 370 | 13d ago | MIT | A | 37 | Claude Code, Codex |
| spring-batchrrezartprebreza/spring-boot-skills | Skill | 370 | 13d ago | MIT | A | 66 | Claude Code, Codex |
| transactional-patternsrrezartprebreza/spring-boot-skills | Skill | 370 | 13d ago | MIT | A | 53 | Claude Code, Codex |
| oauth2-resource-serverrrezartprebreza/spring-boot-skills | Skill | 370 | 13d ago | MIT | A | 47 | Claude Code, Codex |
| rest-api-conventionsrrezartprebreza/spring-boot-skills | Skill | 370 | 13d ago | MIT | A | 57 | Claude Code, Codex |
| hateoasrrezartprebreza/spring-boot-skills | Skill | 370 | 13d ago | MIT | A | 44 | Claude Code, Codex |