agent-11: Skill for Claude Code

.claude/skills/saas-email/SKILL.md

saas-email is a skill for Claude Code from TheWayWithin/agent-11. It costs 3 tokens per session (2,294 once invoked), scanned A, original, MIT.

A guide to sending transactional email from software-as-a-service applications. Transactional email is an automated message tied to an action, such as account verification, password reset, notification, invoice, or invitation.

In plain words
What is it for?
Use it to build welcome messages, verification and password-reset emails, notifications, invoices, invitations, digests, and provider-independent sending code.
Why use it?
It helps keep email templates, queues, delivery tracking, and email providers organized as an application grows.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is TheWayWithin/agent-11's own configuration. It tells Claude Code how to work on agent-11 itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-11 configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TheWayWithin/agent-11. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/TheWayWithin/agent-11/main/.claude/skills/saas-email/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/TheWayWithin/agent-11

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for saas-email

README.md
[![agentmods](https://agentmods.dev/badge/skills/thewaywithin/agent-11/saas-email.svg)](https://agentmods.dev/skills/thewaywithin/agent-11/saas-email)
Your own site
<a href="https://agentmods.dev/skills/thewaywithin/agent-11/saas-email"><img src="https://agentmods.dev/badge/skills/thewaywithin/agent-11/saas-email.svg" alt="Measured on agentmods" height="20"></a>
Per session 3 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,294 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00003 $0.02294
Opus 5 $0.00002 $0.01147
Sonnet 5 $0.00001 $0.00459
Haiku 4.5 $0.00000 $0.00229

Measured 2d ago against content hash c3d904c5a41c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

saas-email scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/saas-email/SKILL.md · 374 lines

How it starts

The opening of the file, as written. The whole thing — 374 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SaaS Transactional Email

Capability

Implement reliable transactional email delivery for SaaS applications including templating, queuing, delivery tracking, and provider abstraction. Covers common email types: welcome, verification, password reset, notifications, and invoices.

Use Cases

  • Welcome and onboarding emails
  • Email verification and password reset
  • Notification emails (activity alerts, reminders)
  • Invoice and receipt emails
  • Team invitation emails
  • Digest and summary emails

Patterns

Email Service Abstraction

When to use: Decouple email sending from specific provider (Resend, SendGrid, etc.)

Implementation: Create provider-agnostic interface with consistent API.

// Email service interface
interface EmailService {
  send(options: SendEmailOptions): Promise<EmailResult>;
  sendBatch(emails: SendEmailOptions[]): Promise<EmailResult[]>;
}

interface SendEmailOptions {
  to: string | string[];
  subject: string;
  template: string;
  data: Record<string, unknown>;
  replyTo?: string;
  tags?: string[];
}

// Resend implementation
class ResendEmailService implements EmailService {
  private client: Resend;

  constructor(apiKey: string) {
    this.client = new Resend(apiKey);
  }

  async send(options: SendEmailOptions): Promise<EmailResult> {
    const html = await renderTemplate(options.template, options.data);

    const result = await this.client.emails.send({
      from: 'Your App <[email protected]>',
      to: Array.isArray(options.to) ? options.to : [options.to],
      subject: options.subject,
      html,
      reply_to: options.replyTo,
      tags: options.tags?.map(t => ({ name: t, value: 'true' }))
    });

    return {
      id: result.id,
      success: true
    };
  }

  async sendBatch(emails: SendEmailOptions[]): Promise<EmailResult[]> {
    return Promise.all(emails.map(e => this.send(e)));
  }
}

// Usage
const emailService = new ResendEmailService(process.env.RESEND_API_KEY);

await emailService.send({
  to: '[email protected]',
  subject: 'Welcome to Our App',
  template: 'welcome',
  data: { userName: 'John', appName: 'MyApp' }
});

Read the full file on GitHub · 374 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 374 lines · 3 tokens per session scan A c3d904c5a41c

Subscribe to this mod's changes

saas-email is a skill published in the GitHub repository TheWayWithin/agent-11 (15 stars, last pushed 15d ago), licensed MIT. It adds 3 tokens to every session and 2,294 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.