Agent skill

Cloudflare Email Service

by swyxio in swyxio/skills

Implement or debug Cloudflare Email Service sending, Email Routing, or an Agents SDK email handler.

MITAuto-check passedBackend & APIs

Install Cloudflare Email Service

skills CLI
$ npx skills add swyxio/skills --skill cloudflare-email-service -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install swyxio/skills cloudflare-email-service --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/swyxio/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cloudflare-email-service .claude/skills/cloudflare-email-service && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cloudflare-email-service
GitHub stars
176
Token cost
~684 tokens
SKILL.md length
296 words
Files
6 (incl. references)
Skills in repo
89
Repo updated
First seen
Licence
MIT

At a glance

Implement or debug Cloudflare Email Service sending, Email Routing, or an Agents SDK email handler.

  • The Workers email binding
  • SKILL.md covers Choose the surface, Verify prerequisites and… and Validate the owning path
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Email Service REST API

What it does

Cloudflare Email Service is an agent skill from swyxio/skills. Implement or debug Cloudflare Email Service sending, Email Routing, or an Agents SDK email handler. Use for the Workers email binding, Email Service REST API, SMTP, inbound email() handlers, domain onboarding, deliverability, or Cloudflare email tooling. Do not trigger for provider-neutral email design or non-Cloudflare mail services.

Its SKILL.md is about 680 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/cli-and-mcp.md`, `references/deliverability.md` and `references/rest-api.md`).

It sits in Backend & APIs, covering Transactional email and REST APIs. It works with Cloudflare and Model Context Protocol. The repository describes itself as: Agent skills for Claude Code and other AI agents. The licence is MIT.

When your agent uses it

  • The Workers email binding
  • Email Service REST API
  • Inbound email() handlers
  • Domain onboarding

Example prompts

  • “/cloudflare-email-service”

What it can do on your machine

Read from SKILL.md and the folder at commit 038ef34. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cloudflare Email Service loads about 684 tokens when it runs, and up to ~9.7k if it reads all its reference files. Until then it costs about 91 tokens; SKILL.md has 296 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~91
When it runs · the whole SKILL.md, loaded when a task matches
~684
With references · SKILL.md plus every file in references/, read only if the agent opens them
~9.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from swyxio/skills at commit 038ef34, republished under its MIT licence (© swyxio). 296 words, ~684 tokens.

Download SKILL.mdSave it as .claude/skills/cloudflare-email-service/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
cloudflare-email-service
description
Implement or debug Cloudflare Email Service sending, Email Routing, or an Agents SDK email handler. Use for the Workers email binding, Email Service REST API, SMTP, inbound `email()` handlers, domain onboarding, deliverability, or Cloudflare email tooling. Do not trigger for provider-neutral email design or non-Cloudflare mail services.

Cloudflare Email Service

Retrieve current Cloudflare documentation and installed Workers types before using API signatures, limits, pricing, or CLI commands. Email Service is evolving and the Workers binding, REST API, SMTP, and Email Routing have distinct contracts.

Choose the surface

NeedUseReference
Send from a WorkerEmail bindingsending.md
Send from outside WorkersREST API or SMTPrest-api.md
Receive, forward, reject, or parse mailEmail Routing email() handlerrouting.md
Configure domains or agent toolingWrangler/API/MCP setupcli-and-mcp.md
Diagnose bounces, authentication, or reputationDeliverabilitydeliverability.md

Prefer the Worker binding inside Workers unless the existing application already has a reason to use another supported surface. Do not invent one request shape for all surfaces: field names and response envelopes differ.

Verify prerequisites and boundaries

  • Resolve the exact account, domain, environment, and sending or routing configuration before changing provider state.
  • Confirm the sending domain is onboarded and that the target Worker environment has the required binding.
  • Keep API tokens and message secrets in the platform's secret mechanism, never in source or diagnostic output.
  • Treat inbound message.raw as a single-use stream; buffer it once when several consumers need the content.
  • Forward only to destinations allowed by the current Email Routing contract.
  • Preserve the existing application handler when adding email; do not expand a delivery task into unrelated persistence, marketing, or workflow architecture.

For Agents SDK email, verify the installed Agents SDK version and read both the Agents and Email Service documentation. Do not assume their release cadence or types are synchronized.

Validate the owning path

Use a controlled address and a non-sensitive fixture. Verify the exact sender domain, recipient handling, text/HTML or raw MIME shape, and the surface actually used by the application. Distinguish provider acceptance, queueing, delivery, bounce, forwarding, and application processing; one does not prove the others.

© swyxio, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (references) in cloudflare-email-service of swyxio/skills.

  • SKILL.md
  • references/cli-and-mcp.md
  • references/deliverability.md
  • references/rest-api.md
  • references/routing.md
  • references/sending.md

Open the folder on GitHubat commit 038ef34

Compare with similar skills

Cloudflare Email Service next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cloudflare Email Service compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cloudflare Email Service this skillswyxio/skills176—~684Automated safety check: PassMIT
Cloudflare Email Servicehodgef/apiker1272 repos~2kAutomated safety check: PassMIT
Cloudflare Email Servicecloudflare/skills3k2 repos~1.7kAutomated safety check: PassApache-2.0
Openmaopenma-ai/open-managed-agents315—~854Automated safety check: PassApache-2.0
Prepare Cloudflare Production DeploymentLubomirGeorgiev/cloudflare-workers-nextjs-saas-template786—~5.9kAutomated safety check: NotesMIT
Cloudflare Browser Renderingeinverne/dotfiles121—~4.9kAutomated safety check: PassGPL-3.0

Similar skills

  • Send and receive transactional emails with Cloudflare Email Service (Email Sending + Email Routing).

    127 GitHub starsUsed in 2 repos~2k tokens
    Backend & APIsAuto-check passed
  • Cloudflare Email Service

    cloudflare/skills

    Official

    Implement or troubleshoot Cloudflare Email Sending and Email Routing integrations and their delivery configuration.

    3k GitHub starsUsed in 2 repos~1.7k tokens
    Backend & APIsAuto-check passed
  • Openma

    openma-ai/open-managed-agents

    Use the openma platform to build, deploy, and manage AI agents.

    315 GitHub stars~854 tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Prepare Cloudflare Production Deployment

    LubomirGeorgiev/cloudflare-workers-nextjs-saas-template

    Source-of-truth runbook for preparing this Vinext Cloudflare Workers SaaS template for production deployment.

    786 GitHub stars~5.9k tokensUpdated yesterday
    DevOps & CloudAuto-check: notes
  • Guide for implementing Cloudflare Browser Rendering - a headless browser automation API for screenshots, PDFs, web scraping, and testing.

    121 GitHub stars~4.9k tokensUpdated 1 mo ago
    Productivity & AutomationAuto-check passed
  • OpenAPI to MCP Server

    mcp-use/mcp-use

    Turns an OpenAPI or Swagger spec into an MCP server with the mcp-use TypeScript SDK, mapping each operation to a tool, wiring auth, testing and deploying.

    11k GitHub stars~5.2k tokensUpdated yesterday
    Backend & APIsAuto-check passed

More from swyxio/skills

All 89 skills in this repo
  • Programmatic Agents

    swyxio/skills

    Run a selected coding-agent CLI programmatically, with latency, error, usage, cost, and trace logging.

    176 GitHub stars~2.2k tokensUpdated 5 days ago
    Auto-check passed
  • Design, implement, audit, or refresh protected username and handle namespaces for public products.

    176 GitHub stars~1.1k tokensUpdated 5 days ago
    Auto-check passed
  • New Mac Setup

    swyxio/skills

    Fully automated new Mac setup for fullstack web developers and AI engineers.

    176 GitHub stars~4.3k tokensUpdated 5 days ago
    Auto-check passed
  • Youtube API

    swyxio/skills

    Manage YouTube videos programmatically via the YouTube Data API v3 — upload video files, upload custom thumbnails, update video metadata (titles, descriptions, tags), and query video/channel info…

    176 GitHub stars~2.2k tokensUpdated 5 days ago
    Auto-check passed
  • Batch YouTube Studio upload workflow for videos sourced from Airtable, Google Drive, Loom, YouTube, or local files.

    176 GitHub stars~1.5k tokensUpdated 5 days ago
    Auto-check: warnings
  • Reconstruct and visually analyze paired agent, game, or policy trajectories to determine whether changed actions produced their intended effects.

    176 GitHub stars~1.8k tokensUpdated 5 days ago
    Auto-check passed

Categories

Questions about Cloudflare Email Service

What does Cloudflare Email Service do?

Implement or debug Cloudflare Email Service sending, Email Routing, or an Agents SDK email handler. Cloudflare Email Service is an agent skill from swyxio/skills. Implement or debug Cloudflare Email Service sending, Email Routing, or an Agents SDK email handler.

When should I use Cloudflare Email Service?

Cloudflare Email Service fits situations like: the Workers email binding; email Service REST API; inbound email() handlers; domain onboarding.

How do I install Cloudflare Email Service in Claude Code?

Run `npx skills add swyxio/skills --skill cloudflare-email-service -a claude-code`. Or copy the skill folder (cloudflare-email-service in swyxio/skills) into .claude/skills/cloudflare-email-service in your project. Claude Code loads it when a task matches its description.

How do I install Cloudflare Email Service in Codex?

Run `npx skills add swyxio/skills --skill cloudflare-email-service -a codex`. Or copy the skill folder (cloudflare-email-service in swyxio/skills) into .agents/skills/cloudflare-email-service in your project. Codex loads it when a task matches its description.

Can I use Cloudflare Email Service in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add swyxio/skills --skill cloudflare-email-service -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cloudflare-email-service, .gemini/skills/cloudflare-email-service, .github/skills/cloudflare-email-service and .opencode/skills/cloudflare-email-service in your project.

What does Cloudflare Email Service need to run?

SKILL.md names no scripts, command-line tools or credentials: Cloudflare Email Service is instructions for the agent only.

Does Cloudflare Email Service access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cloudflare Email Service safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cloudflare Email Service use?

Cloudflare Email Service is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cloudflare Email Service use?

About 684 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 9k tokens, read only when the agent opens those files.

What are the alternatives to Cloudflare Email Service?

Skills that share tags, products or a category with Cloudflare Email Service: Cloudflare Email Service (hodgef/apiker, 127 stars), Cloudflare Email Service (cloudflare/skills, 3k stars), Openma (openma-ai/open-managed-agents, 315 stars) and Prepare Cloudflare Production Deployment (LubomirGeorgiev/cloudflare-workers-nextjs-saas-template, 786 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cloudflare Email Service?

swyxio (a GitHub user) maintains it in swyxio/skills, which has 176 GitHub stars. The repository holds 89 skills in this directory. The repository was last updated on October 5, 2026.

Source: swyxio/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.