Agent skill

Resend Email Channel for NanoClaw

by nanocoai in nanocoai/nanoclaw

Connects NanoClaw to email through Resend so the agent can hold asynchronous email conversations, using the Chat SDK bridge adapter.

MITAuto-check: notesProductivity & Automation

Install Resend Email Channel for NanoClaw

skills CLI
$ npx skills add nanocoai/nanoclaw --skill add-resend -a claude-code

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

GitHub CLI
$ gh skill install nanocoai/nanoclaw add-resend --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/nanocoai/nanoclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/add-resend .claude/skills/add-resend && 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
add-resend
GitHub stars
31k
Token cost
~1.9k tokens
SKILL.md length
844 words
Files
3
Skills in repo
59
Repo updated
First seen
Licence
MIT

At a glance

Connects NanoClaw to email through Resend so the agent can hold asynchronous email conversations, using the Chat SDK bridge adapter.

  • Works in 4 steps: Copy the adapter → Register the adapter → Install the adapter package → …
  • Letting a NanoClaw agent reply to email threads
  • SKILL.md covers Apply, Credentials, Connect yourself and Next Steps, plus 2 more sections
  • Calls pnpm; needs RESEND_API_KEY and RESEND_WEBHOOK_SECRET

What it does

Email conversations with NanoClaw run through Resend, with the agent handling messages asynchronously. The Resend adapter is copied from the `channels` branch, a self-registration import is appended to the channel barrel, and `@resend/chat-sdk-adapter` is installed pinned to an exact version.

The build proves the dependency is present, since the barrel throws without it, and a registration test checks that the channel is listed. Sending and receiving against a real domain is verified manually after the service starts. The skill includes `REMOVE.md` and an apply-fixtures file.

When your agent uses it

  • Letting a NanoClaw agent reply to email threads
  • Adding an email channel backed by Resend
  • Re-applying the Resend adapter after a NanoClaw upgrade

Example prompts

  • “Add the Resend email channel to NanoClaw.”
  • “Install the Resend adapter and run its registration test.”
  • “Remove the Resend channel from this NanoClaw install.”

Requirements

  • A NanoClaw installation with pnpm
  • A Resend account

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Copy the adapter
  2. Register the adapter
  3. Install the adapter package
  4. Build and validate

What it can do on your machine

Read from SKILL.md and the folder at commit 66f0823. 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

    Shell commands in SKILL.md call:

    • pnpm

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

  • Network

    Links to these hosts (documentation or services it may open):

    • resend.com

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

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • RESEND_API_KEY
    • RESEND_WEBHOOK_SECRET

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

Context cost

Resend Email Channel for NanoClaw loads about 1.9k tokens when it runs. Until then it costs about 16 tokens; SKILL.md has 844 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~16
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:85
    `ncl` or the OneCLI vault instead of `.env` by swapping only the consumer. Here
  • NoteMentions a .env fileSKILL.md:86
    they go to `.env` (set-if-absent — a value you've already filled in is never
  • NoteMentions a .env fileSKILL.md:153
    new one and update `RESEND_API_KEY` in `.env`.
  • NoteMentions a .env fileSKILL.md:159
    the service so it loads the adapter and `.env`, then re-send the hello.

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 nanocoai/nanoclaw at commit 66f0823, republished under its MIT licence (© nanocoai). 844 words, ~1,924 tokens.

Download SKILL.mdSave it as .claude/skills/add-resend/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
add-resend
description
Add Resend (email) channel integration via Chat SDK.

Add Resend Email Channel

Connect NanoClaw to email via Resend for async email conversations. NanoClaw doesn't ship channels in trunk — this skill copies the Resend adapter in from the channels branch.

The mechanical steps under Apply carry nc: directive fences: an agent reads the prose and applies them, and a parser can apply them deterministically from the same document. Every directive is idempotent, so the whole skill is safe to re-run; anything a parser can't apply falls back to the prose beside it.

Apply

1. Copy the adapter

Fetch the channels branch and copy the Resend adapter into src/channels/ (overwrite — the branch is canonical):

nccopy
src/channels/resend.ts
src/channels/resend-registration.test.ts
2. Register the adapter

Append the self-registration import to the channel barrel (skipped if the line is already present). This one line is the skill's only reach-in into core:

ncappend
import './resend.js';
3. Install the adapter package

Pinned to an exact version — the supply-chain policy rejects ranges and latest:

ncdep
@resend/chat-sdk-adapter@0.1.1
4. Build and validate

Build guards the typed createChatSdkBridge(...) core call and proves the dependency is installed (the adapter imports @resend/chat-sdk-adapter; if it isn't installed the barrel throws). End-to-end email delivery against a real domain is verified manually once the service runs.

ncrun
pnpm run build
ncrun
pnpm exec vitest run src/channels/resend-registration.test.ts

resend-registration.test.ts imports the real channel barrel and asserts the registry contains resend. It goes red if the import line is deleted or drifts, if the barrel fails to evaluate, or if @resend/chat-sdk-adapter isn't installed (the import throws) — so it also covers the dependency from step 3.

Credentials

Resend account and domain setup is human and interactive — these steps are prose, not directives (no parser can verify a sending domain or click through the Resend UI). A recipe rebuild produces a compiling, registered adapter that cannot receive a message until they're done.

  1. Go to resend.com and create an account.
  2. Add and verify your sending domain.
  3. Go to API Keys and create a new key.
  4. Set up a webhook:
    • Go to Webhooks > Add webhook.
    • URL: https://your-domain/webhook/resend.
    • Events: select email.received.
    • Copy the signing secret.
Store the credentials

Capture the secrets, then write them. prompt only asks and binds the answer to a name; a separate directive consumes it — so the same prompts could feed ncl or the OneCLI vault instead of .env by swapping only the consumer. Here they go to .env (set-if-absent — a value you've already filled in is never overwritten):

ncprompt
Paste the Resend API key — API Keys, starts with `re_`.
ncprompt
Paste the webhook signing secret — Webhooks, the value you copied above.
ncprompt
The bot's sending email address on your verified domain (e.g. `bot@yourdomain.com`).
ncprompt
The display name to send as (e.g. `NanoClaw`).
ncenv-set
RESEND_API_KEY={{api_key}}
RESEND_FROM_ADDRESS={{from_address}}
RESEND_FROM_NAME={{from_name}}
RESEND_WEBHOOK_SECRET={{webhook_secret}}

Connect yourself

Because email is direct-addressable, the bot can write to you first — so wire your own address as the owner and have it email you a hello. Tell it your address and which agent should answer your email (ncl groups list shows their folders):

ncprompt
Your email address — I'll wire you as owner and email you a hello.
ncprompt
Which agent should answer your email? Enter its folder (run `ncl groups list`).

Register yourself as the owner, wire your address so the agent answers your email, and send the hello:

ncrun
ncl users create --id resend:{{owner_email}} --kind resend --display-name Owner
ncl roles grant --user resend:{{owner_email}} --role owner
ncl messaging-groups create --channel-type resend --platform-id resend:{{owner_email}} --is-group 0
ncl wirings create --channel-type resend --platform-id resend:{{owner_email}} --agent-group {{agent_folder}} --engage-mode pattern --engage-pattern .
ncl messaging-groups send --channel-type resend --platform-id resend:{{owner_email}} --sender-id resend:{{owner_email}} --sender Owner --text "Hi — I'm your NanoClaw assistant, reachable by email now. Reply to this thread anytime."

The hello arrives as a fresh email thread; reply to keep the conversation going. Your own address is the conversation key (resend:<your-address>).

Next Steps

If you're in the middle of /setup, return to the setup flow now. (Answering an open inbox — anyone who emails in, not just you — is a separate, not-yet-wired case: email is plain-message, so the router never auto-creates a group for an unknown sender; each correspondent's resend:<their-address> must be wired explicitly.)

Show full SKILL.md (322 more words)Show less

Channel Info

  • type: resend
  • terminology: Resend handles email. The bot has one fixed sending identity (RESEND_FROM_ADDRESS, e.g. bot@yourdomain.com); every external correspondent the bot emails with is a separate conversation, keyed by their address.
  • how-to-find-id: The platform ID is the correspondent's email address, prefixed — resend:<their-address> (e.g. resend:you@example.com) — not the bot's from-address. The adapter derives it from the reply-to party (channelIdFromThreadId returns resend:<address>); each distinct email thread from that person (by root Message-ID) is a sub-conversation under it.
  • supports-threads: no (the adapter sets supportsThreads: false; replies still thread via email headers, but the router does not treat threads as the primary conversation unit)
  • typical-use: Async communication -- email conversations with longer response expectations
  • default-isolation: Same agent group if you want your agent to handle email alongside other channels. Separate agent group if email contains sensitive correspondence that shouldn't be accessible from other channels.

Troubleshooting

Sends fail with 401. The API key comes from the Resend dashboard's API Keys page and starts with re_. Keys are shown once at creation — if in doubt, create a new one and update RESEND_API_KEY in .env.

The hello email never lands, or hits spam. The sending domain must show as verified under Resend → Domains — until the SPF/DKIM DNS records propagate, sends are rejected or spam-foldered. RESEND_FROM_ADDRESS must be an address on that verified domain; a free-mail from-address will not work.

Replies never reach the agent. Inbound only flows via the webhook: Resend → Webhooks must point at your public host at /webhook/resend (shared webhook server, port 3000) with the email.received event selected, and RESEND_WEBHOOK_SECRET must match that webhook's signing secret. Resend's webhook page lists delivery attempts — a run of failures means the URL is unreachable or the secret mismatches.

Adapter installed but nothing flows. Run pnpm exec vitest run src/channels/resend-registration.test.ts — red means the barrel import or the @resend/chat-sdk-adapter install drifted, so re-run the Apply steps. If green, restart the service so it loads the adapter and .env, then re-send the hello.

© nanocoai, 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 2 other files in .claude/skills/add-resend of nanocoai/nanoclaw.

  • SKILL.md
  • REMOVE.md
  • apply-fixtures.json

Open the folder on GitHubat commit 66f0823

Compare with similar skills

Resend Email Channel for NanoClaw 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.

Resend Email Channel for NanoClaw compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Resend Email Channel for NanoClaw this skillnanocoai/nanoclaw31k—~1.9kAutomated safety check: NotesMIT
Openloomi Connectorsmelandlabs/openloomi1k—~3.3kAutomated safety check: PassApache-2.0
Ak Dev New Messaging Integrationyaalalabs/agent-kernel192—~4.6kAutomated safety check: PassApache-2.0
Ak Add Integrationyaalalabs/agent-kernel192—~3.1kAutomated safety check: PassApache-2.0
Instagram Skillsupreme-gg-gg/instagram-cli2.2k—~1.4kAutomated safety check: PassMIT
Traul Message Searchdandaka/traul113—~3.9kAutomated safety check: NotesAGPL-3.0

Similar skills

  • Openloomi Connectors

    melandlabs/openloomi

    openloomi Connectors tools - manage the native 7 messaging integrations and pair with the composio skill for the 1000+ apps OAuth layer (Slack, Discord, X, Gmail, Outlook, Google…

    1k GitHub stars~3.3k tokensUpdated 15 days ago
    Productivity & AutomationAuto-check passed
  • Ak Dev New Messaging Integration

    yaalalabs/agent-kernel

    Step-by-step guide for adding a new messaging platform integration to Agent Kernel.

    192 GitHub stars~4.6k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Ak Add Integration

    yaalalabs/agent-kernel

    Add a messaging platform integration to an existing Agent Kernel project.

    192 GitHub stars~3.1k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Instagram Skill

    supreme-gg-gg/instagram-cli

    How to use Instagram CLI to interact with Instagram from the command line on behalf of a user.

    2.2k GitHub stars~1.4k tokensUpdated 1 mo ago
    Productivity & AutomationAuto-check passed
  • Drives the traul CLI to sync, search and monitor messages from Slack, Telegram, Discord, Linear, Gmail, WhatsApp, Claude Code sessions and Markdown files.

    113 GitHub stars~3.9k tokensUpdated 5 mo ago
    Productivity & AutomationAuto-check: notes
  • Li Inbox

    Jakeschincariol/linkedin-agent-skill

    Triage the LinkedIn inbox - sort connection requests and DMs into leads, recruiters, peers and spam, and draft the replies worth sending.

    1.6k GitHub stars~723 tokensUpdated 22 days ago
    Productivity & AutomationAuto-check passed

More from nanocoai/nanoclaw

All 59 skills in this repo
  • Installs or refreshes Iron Proxy and its Iron Control web console for NanoClaw, with a local Docker setup, database, credentials and a human approval bridge.

    31k GitHub stars~4.6k tokensUpdated 3 days ago
    Auto-check: notes
  • Installs or refreshes OneCLI as the gateway provider for NanoClaw, copying the adapter files, registering the provider and running the setup script.

    31k GitHub stars~1.1k tokensUpdated 3 days ago
    Auto-check: notes
  • Agent Browser

    nanocoai/nanoclaw

    Drives a web browser from the shell with the agent-browser CLI: open pages, read an element snapshot, click and fill by reference, grab text and screenshots.

    31k GitHub starsUsed in 2 repos~1.6k tokens
    Auto-check passed
  • Guides a conversational migration from an OpenClaw install to NanoClaw v2, carrying over identity, channel credentials, scheduled tasks and workspace files.

    31k GitHub stars~6k tokensUpdated 3 days ago
    Auto-check: notes
  • Wires up an additional phone number onto an already-installed Dial channel, so one NanoClaw install answers SMS and AI voice calls on more than one line.

    31k GitHub stars~1.5k tokensUpdated 3 days ago
    Auto-check passed
  • Add Dial Tool

    nanocoai/nanoclaw

    Installs the `dial` CLI and a credential in NanoClaw agent containers so chosen agents can send SMS, place AI voice calls and receive verification codes.

    31k GitHub stars~4.4k tokensUpdated 3 days ago
    Auto-check passed

Works with

Questions about Resend Email Channel for NanoClaw

What does Resend Email Channel for NanoClaw do?

Connects NanoClaw to email through Resend so the agent can hold asynchronous email conversations, using the Chat SDK bridge adapter. Email conversations with NanoClaw run through Resend, with the agent handling messages asynchronously. The Resend adapter is copied from the `channels` branch, a self-registration import is appended to the channel barrel, and `@resend/chat-sdk-adapter` is installed pinned to an exact version.

When should I use Resend Email Channel for NanoClaw?

Resend Email Channel for NanoClaw fits situations like: letting a NanoClaw agent reply to email threads; adding an email channel backed by Resend; re-applying the Resend adapter after a NanoClaw upgrade.

How do I install Resend Email Channel for NanoClaw in Claude Code?

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

How do I install Resend Email Channel for NanoClaw in Codex?

Run `npx skills add nanocoai/nanoclaw --skill add-resend -a codex`. Or copy the skill folder (.claude/skills/add-resend in nanocoai/nanoclaw) into .agents/skills/add-resend in your project. Codex loads it when a task matches its description.

Can I use Resend Email Channel for NanoClaw 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 nanocoai/nanoclaw --skill add-resend -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-resend, .gemini/skills/add-resend, .github/skills/add-resend and .opencode/skills/add-resend in your project.

What does Resend Email Channel for NanoClaw need to run?

Going by SKILL.md and its folder, Resend Email Channel for NanoClaw needs the command-line tools its instructions call (pnpm) and credentials named RESEND_API_KEY and RESEND_WEBHOOK_SECRET. Our summary lists: A NanoClaw installation with pnpm; A Resend account.

Does Resend Email Channel for NanoClaw access the network?

SKILL.md names 1 domain. As links in the text: resend.com. This is read from the text; nothing was executed.

Is Resend Email Channel for NanoClaw safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Resend Email Channel for NanoClaw use?

Resend Email Channel for NanoClaw 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 Resend Email Channel for NanoClaw use?

About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Resend Email Channel for NanoClaw?

Skills that share tags, products or a category with Resend Email Channel for NanoClaw: Openloomi Connectors (melandlabs/openloomi, 1k stars), Ak Dev New Messaging Integration (yaalalabs/agent-kernel, 192 stars), Ak Add Integration (yaalalabs/agent-kernel, 192 stars) and Instagram Skill (supreme-gg-gg/instagram-cli, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Resend Email Channel for NanoClaw?

nanocoai (a GitHub organization) maintains it in nanocoai/nanoclaw, which has 30,902 GitHub stars. The repository holds 59 skills in this directory. The repository was last updated on October 6, 2026.

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