Install
openclaw skills install resending-emailsUse 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.
openclaw skills install resending-emailsThis 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:
Load only the files that match the task:
references/agent-operating-model.md — the default decision process for live Resend workreferences/install-auth-and-profiles.md — install methods, auth priority, profiles, config pathsreferences/subprocess-contract.md — how agents should invoke resend safely and parse outputreferences/command-selection.md — fast routing from user intent to the right command(s)references/sending-scheduling-and-batch.md — transactional sends, schedules, tags, attachments, batch limitsreferences/domains-dns-and-deliverability.md — domain creation, verification, receiving, TLS, tracking, 403/domain mismatchreferences/webhooks-and-listeners.md — webhook creation, update, signature handling, temporary local listenersreferences/inbound-receiving-and-threading.md — inbound list/get/attachments/forward/listen flowsreferences/contacts-topics-segments-and-broadcasts.md — subscription modelling, targeting, campaignsreferences/templates-and-coverage-gaps.md — template lifecycle and the important current CLI gapsreferences/diagnostics-and-fallbacks.md — debug order, CLI quirks, when to fall back to MCP/APIreferences/recipes.md — short end-to-end playbooksreferences/sources.md — first-party source manifest and refresh notesMachine-readable assets:
assets/command-catalog.json — command index with detail levels (source_inspected, readme_confirmed, tree_confirmed)assets/task-router.json — route common tasks to command sequencesassets/error-map.json — fast-fail diagnosis hintsassets/coverage-gaps.json — current CLI limitations and ambiguities that matter to agentsassets/subprocess-contract.json — deterministic invocation defaultsassets/scaffold-index.json — reusable command/file scaffoldsassets/source-manifest.json — authoritative URLs used to build this skillBundled helper:
scripts/resend_cli.py — agent wrapper for probing, routing, scaffolding, batch linting, diagnosis, and safe subprocess executionDefault order of preference:
Do not choose raw REST just because it is familiar.
For bounded commands:
--json -qRESEND_API_KEY or a stored profile over typing secrets interactivelyRESEND_NO_UPDATE_NOTIFIER=1 for deterministic outputdoctor early when the environment is unknownWhen you do not know whether the CLI is installed, authenticated, or pointed at the right account:
resend --json -q doctor
This is usually the fastest first read on:
emails sendemails batchemails update / emails cancelbroadcasts create / broadcasts sendtemplates *domains *emails receiving * + webhooks *api-keys *contacts, contact-properties, topics, segmentswebhooks listen or emails receiving listenThis version of the skill treats these as especially important:
emails send command surface does not expose a direct --template-id/template-vars flow.domains update exposes TLS/open/click tracking, but not an explicit sending/receiving capability toggle, while inbound help text references such a toggle.webhooks listen and emails receiving listen are long-running and should be treated as NDJSON/event streams in agent mode.console.error, so wrappers must parse stderr too.Most multi-step flows become much easier if the agent persists:
For state-changing live operations:
.html, batch JSON)--json -qget, list, or a follow-up checkscripts/resend_cli.py is intentionally agent-oriented.
Commands:
probe — find the CLI, report install hints, and show environment basicscatalog — list known commands from the bundled catalogueinfo — inspect one command and its notes/gapsrecommend — route a free-text task to the best CLI sequencescaffold — print or materialise sample commands/fileslint-batch — statically validate an emails batch JSON filedoctor — explain likely causes of common CLI/API failuresrun — execute the official CLI with deterministic defaults and tolerant JSON parsingExamples:
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
A strong answer usually includes:
emails send, emails batch, or broadcasts create?”eu-west-1”resend output safely?”