agentleFS
MicrosoftKnown publishermicrosoft/amplifier-app-nanoclaw/.claude/skills/add-resend/SKILL.md

add-resend

Skill4 starsChanged 6 months agoMITView on GitHub

Add Resend (email) channel integration via Chat SDK.

  • Reads credentials
  • Installs packages

3 other projects use a version of this, 3 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 1 is common, 0 are distinctive, and 1 is very specific to this project.

  • 1

    Common

    Most of the 3 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Common:

    Add and verify your sending domain.

    line 59
  2. Very specific:

    If you're in the middle of /setup, return to the setup flow now.

    line 82

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Add Resend Email Channel

Connect NanoClaw to email via Resend for async email conversations.

Install

NanoClaw doesn't ship channels in trunk. This skill copies the Resend adapter in from the channels branch.

Pre-flight (idempotent)

Skip to Credentials if all of these are already in place:

  • src/channels/resend.ts exists
  • src/channels/index.ts contains import './resend.js';
  • @resend/chat-sdk-adapter is listed in package.json dependencies

Otherwise continue. Every step below is safe to re-run.

1. Fetch the channels branch

git fetch origin channels

2. Copy the adapter

git show origin/channels:src/channels/resend.ts > src/channels/resend.ts

3. Append the self-registration import

Append to src/channels/index.ts (skip if the line is already present):

import './resend.js';

4. Install the adapter package (pinned)

pnpm install @resend/chat-sdk-adapter@0.1.1

5. Build

pnpm run build

Credentials

  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.

Configure environment

Add to .env:

RESEND_API_KEY=re_...
RESEND_FROM_ADDRESS=bot@yourdomain.com
RESEND_FROM_NAME=NanoClaw
RESEND_WEBHOOK_SECRET=your-webhook-secret

Sync to container: mkdir -p data/env && cp .env data/env/env

Next Steps

If you're in the middle of /setup, return to the setup flow now.

Otherwise, run /manage-channels to wire this channel to an agent group.

Channel Info

  • type: resend
  • terminology: Resend handles email. Each email thread (identified by subject/In-Reply-To headers) is a separate conversation. The "from address" is the bot's identity.
  • how-to-find-id: The platform ID is the from email address (e.g. bot@yourdomain.com). Each sender's email thread becomes its own conversation.
  • supports-threads: yes (via email threading headers -- replies to the same thread stay together)
  • 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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.