Resend CLI Skill for Openclaw

A professional-grade email infrastructure skill for automating transactional emails, domain management, and marketing workflows via the Resend API.

maciejlis
v1.0.5
Mar 14, 2026
0
985
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install resend-cli

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install resend-cli using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Resend CLI Skill?

This skill integrates the official Resend CLI into an AI agent environment, providing a robust interface for managing email operations. Designed for developers using Openclaw Skills, it allows for the programmatic sending of emails, verification of sender domains, and management of contact segments without manual dashboard intervention. It bridges the gap between local development and production email infrastructure through a structured command-line interface.

By utilizing this skill, agents can handle high-volume batch sends, schedule future broadcasts, and configure webhooks for real-time event tracking. It is built to support the full lifecycle of developer-centric email management, from initial authentication to complex template publishing and inbound email processing.

Resend CLI Skill Use Cases

  • Automating the delivery of transactional emails and reports directly from code-driven triggers.
  • Programmatically creating and verifying new domains for SaaS multi-tenancy setups using Openclaw Skills.
  • Synchronizing contact lists and segmenting users based on external database activities.
  • Scheduling and managing marketing broadcasts with dynamic template variables.
  • Monitoring and responding to inbound emails by listing and forwarding received messages.

How Resend CLI Skill Works

  1. The AI agent identifies the required email operation and checks for valid Resend credentials or API keys.
  2. Commands are issued to the Resend CLI using the --json flag to ensure all output is returned in a structured, machine-readable format.
  3. For destructive actions like deleting domains or API keys, the skill automatically handles the --yes confirmation requirement to maintain non-interactive flow.
  4. The agent processes the JSON response from the CLI, checking for success or specific error codes like auth_error or validation_failed.
  5. Structured data, such as DNS records or email status, is then used for subsequent workflow steps within the agent environment.

Resend CLI Skill Setup

To get started with this skill, install the Resend CLI via Homebrew:

brew install resend/cli/resend

Alternatively, install via NPM:

npm install -g resend-cli

Next, authenticate by setting your API key as an environment variable or by logging in:

export RESEND_API_KEY='re_your_api_key'
# OR
resend login

Resend CLI Skill Data Schema & Taxonomy

The skill manages data across several entities, ensuring organized storage and metadata retrieval:

Entity Data Type Storage/Mechanism
Authentication API Keys / Profiles ~/.config/resend/credentials.json
Emails Sent, Scheduled, Received Resend API (queried via CLI)
Contacts CRM Metadata / Segments Relational API mapping
Templates HTML / Text / Variables Version-controlled drafts and published states
Infrastructure Domain DNS Records Region-specific configurations

Resend CLI Skill Advanced Features

  • Multi-profile support for managing different environments (Staging/Production) within Openclaw Skills.
  • Advanced template management featuring variable substitution with triple-brace syntax and fallbacks.
  • Support for 17 unique webhook event types including delivery, bounce, and open tracking.
  • Domain-scoped API keys to limit agent permissions to specific sending tasks for enhanced security.
  • Batch email processing allowing up to 100 unique recipients in a single command execution.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*