Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

AWS SES

БесплатноЗапускает вложенные скриптыНе проверен

Amazon SES playbook. Scripts: check account/sandbox status, create a domain identity and print DKIM/SPF records, verify DNS, derive an SMTP password locally…

airo7от airo7861 установка в других каталогах

Об этом скилле

AWS SES — Sandbox to Production Playbook

Everything you need to go from a fresh AWS account to a working, production-capable email-sending setup through Amazon SES, including Sendy newsletter integration as a worked example.


Scope & Permissions

What the bundled scripts actually do, and nothing else:

Script AWS calls Other access Mutates?
check_ses_status.py GetAccount, GetEmailIdentity — No
bounce_stats.py GetAccount, ListSuppressedDestinations, CloudWatch GetMetricStatistics — No
verify_dns.py GetEmailIdentity runs dig (validated names only) No
setup_domain.py CreateEmailIdentity, GetEmailIdentity, PutEmailIdentityMailFromAttributes — Yes (--dry-run available)
send_test_email.py GetAccount, SendEmail — Yes — sends mail (--dry-run available)
gen_smtp_password.py none (local HMAC) reads the boto3 credential chain or stdin Only writes a file if --output is given

Everything else in this document — production-access cases, SNS/configuration sets, Sendy, aws CLI, curl, openssl snippets — is reference material for the user to run themselves. Agents must:

  • ask before running any command that sends email, creates/changes AWS resources, or calls a third-party URL (e.g. a Sendy instance);
  • never print, log, or paste IAM secrets, SMTP passwords, or API keys;
  • not read other skills' directories, install cron jobs or startup hooks, or write state outside the user-specified paths.

Network: AWS SES v2 and CloudWatch endpoints in the configured region, plus DNS lookups via dig. No other hosts.


1. When to Use

Trigger this skill when the user wants to:

  • Send email through AWS SES from an application or script.
  • Escape the SES sandbox and get production access.
  • Verify a domain identity (including DKIM + SPF records).
  • Generate SES SMTP credentials from an IAM secret.
  • Set up Sendy (self-hosted PHP newsletter app) with SES as the SMTP backend.
  • Troubleshoot "email not sending," "domain stuck in PENDING," or "production access denied."

2. Step 1 — Prerequisites & Credentials

AWS account readiness

You need an AWS account with billing enabled and a programmatic IAM user (or role). Grant only what the current task needs. IAM uses the ses: prefix for both the v1 and v2 SES APIs (there is no sesv2: prefix). Replace <region>, <acct> and mydomain.com.

Read-only diagnostics (check_ses_status.py, bounce_stats.py, verify_dns.py):

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "SesReadAccount",
            "Effect": "Allow",
            "Action": [
                "ses:GetAccount",
                "ses:ListSuppressedDestinations",
                "cloudwatch:GetMetricStatistics"
            ],
            "Resource": "*"
        },
        {
            "Sid": "SesReadIdentity",
            "Effect": "Allow",
            "Action": "ses:GetEmailIdentity",
            "Resource": "arn:aws:ses:<region>:<acct>:identity/mydomain.com"
        }
    ]
}

Domain setup (setup_domain.py) — add only while configuring the domain, then remove:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "SesDomainSetup",
            "Effect": "Allow",
            "Action": [
                "ses:CreateEmailIdentity",
                "ses:GetEmailIdentity",
                "ses:PutEmailIdentityMailFromAttributes"
            ],
            "Resource": "arn:aws:ses:<region>:<acct>:identity/mydomain.com"
        }
    ]
}

Sending (send_test_email.py, SMTP users) — locked to one identity and one From domain:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "SesSendFromMyDomain",
            "Effect": "Allow",
            "Action": ["ses:SendEmail", "ses:SendRawEmail"],
            "Resource": "arn:aws:ses:<region>:<acct>:identity/mydomain.com",
            "Condition": {
                "StringLike": {"ses:FromAddress": "*@mydomain.com"}
            }
        }
    ]
}

If you send with a configuration set, also allow its ARN (arn:aws:ses:<region>:<acct>:configuration-set/<name>) on the sending statement. Use a separate IAM user for SMTP credentials (Sendy, your app) with only the sending policy — its secret becomes the SMTP password.

Credentials

Use the standard AWS credential chain — never put keys in shell commands, in this skill's folder, or in a repository:

aws configure --profile ses        # or: aws configure sso --profile ses
export AWS_PROFILE=ses
export AWS_DEFAULT_REGION=eu-north-1   # or nearest SES region

On EC2/ECS/Lambda, attach an IAM role instead and set only the region.

If you must use a .env file, keep it outside any git repo and outside the installed skill directory, and chmod 600 it. This repo's .gitignore and .skillignore exclude .env*, `*.pe

Полный SKILL.md на ClawHub

Установить AWS SES в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл AWS SES?

Amazon SES playbook. Scripts: check account/sandbox status, create a domain identity and print DKIM/SPF records, verify DNS, derive an SMTP password locally, send a test email, report bounce/complaint stats. Production-access requests and Sendy setup are written guidance only — no script automates them.

Как установить скилл AWS SES?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл AWS SES запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить AWS SES с