← スキル一覧に戻る
Resend CLI (

resend-cli
by tavva
⭐ 0🍴 0📅 2026年1月25日
SKILL.md
name: resend-cli description: This skill should be used when the user asks to "send an email", "send email via Resend", "list emails", "check email status", "cancel scheduled email", "manage domains", "add domain", "verify domain DNS", "create API key", "list API keys", "manage templates", "create email template", or mentions Resend, transactional email, or email delivery. Also triggers on requests to configure Resend, check domain verification, or manage email infrastructure.
Resend CLI (resend)
Command-line interface for the Resend email platform. Send transactional emails, manage domains, API keys, and templates.
Quick Reference
resend config setup # Interactive configuration
resend config show # Show current config
resend emails send [OPTIONS] # Send an email
resend emails list # List recent emails
resend emails get <ID> # Get email details
resend emails cancel <ID> # Cancel scheduled email
resend emails update <ID> # Update scheduled email
resend domains create <DOMAIN> # Add a domain
resend domains list # List all domains
resend domains get <ID> # Get domain details (includes DNS records)
resend domains verify <ID> # Trigger DNS verification
resend domains update <ID> # Update domain settings
resend domains delete <ID> # Remove a domain
resend api-keys create <NAME> # Create an API key
resend api-keys list # List API keys
resend api-keys delete <ID> # Delete an API key
resend templates create <NAME> # Create a template
resend templates list # List templates
resend templates get <ID> # Get template details
resend templates update <ID> # Update a template
resend templates delete <ID> # Delete a template
Common Tasks
Send a Simple Email
resend emails send \
--from "sender@yourdomain.com" \
--to "recipient@example.com" \
--subject "Hello" \
--text "Plain text body"
Send HTML Email
resend emails send \
--from "sender@yourdomain.com" \
--to "recipient@example.com" \
--subject "Newsletter" \
--html "<h1>Welcome</h1><p>Thanks for subscribing!</p>"
Send to Multiple Recipients
resend emails send \
--from "sender@yourdomain.com" \
--to "alice@example.com" \
--to "bob@example.com" \
--cc "manager@example.com" \
--subject "Team Update" \
--text "Weekly sync notes..."
Schedule an Email
resend emails send \
--from "sender@yourdomain.com" \
--to "recipient@example.com" \
--subject "Reminder" \
--text "Don't forget!" \
--scheduled-at "2025-01-20T09:00:00Z"
Check Email Status
# List recent emails
resend emails list
# Get details of specific email
resend emails get <email-id>
Cancel a Scheduled Email
resend emails cancel <email-id>
Add and Verify a Domain
# Add domain
resend domains create example.com
# Add domain in specific region
resend domains create example.com --region eu-west-1
# Get DNS records to configure
resend domains get <domain-id>
# Trigger verification after configuring DNS
resend domains verify <domain-id>
Configure Domain Tracking
resend domains update <domain-id> --open-tracking true --click-tracking true
Manage API Keys
# Create a new API key
resend api-keys create "My CLI Key"
# Create with restricted permissions
resend api-keys create "Sending Only" --permission sending_access
# Create restricted to specific domain
resend api-keys create "Domain Key" --domain-id <domain-id>
# List all API keys
resend api-keys list
# Delete an API key
resend api-keys delete <key-id>
Create and Use Templates
# Create a template
resend templates create "Welcome Email" \
--subject "Welcome to {{company}}!" \
--html "<h1>Welcome, {{name}}!</h1>"
# List templates
resend templates list
# Get template details
resend templates get <template-id>
# Update a template
resend templates update <template-id> --subject "New Subject"
# Delete a template
resend templates delete <template-id>
Output Formats
All list commands support output format selection:
resend emails list # Default table format
resend emails list --json # JSON output
resend domains list --json --output domains.json # Save to file
Configuration
The CLI uses profile-based configuration. Credentials resolve in order:
- Environment variables (
RESEND_API_KEY,RESEND_PROFILE) - Config file profile (
~/.config/resend/config.yml)
Setup Profile
resend config setup
Use Specific Profile
resend emails list --profile production
Config File Structure
profiles:
default:
api_key: re_123456789
production:
api_key: re_prod_key
Additional Resources
For complete CLI documentation including all options:
references/cli-reference.md- Full command reference with all flags
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です