supabase-email-templates

supabase-email-templates is a skill for Claude Code, Codex from Ampli-Group/agentic-mobile-blueprint. It costs 0 tokens per session (728 once invoked), scanned A, original, MIT.

A guide for customizing the email messages sent by Supabase Auth during local development and production.

In plain words
What is it for?
It helps customize recovery, confirmation, invitation, magic-link, and email-change messages using HTML files and Supabase configuration.
Why use it?
It explains the exact templates, configuration, local testing, and deployment steps needed to change authentication emails reliably.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit It helps customize recovery, confirmation, invitation, magic-link, and email-change messages using HTML files and Supabase configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ampli-group/agentic-mobile-blueprint/supabase-email-templates
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Ampli-Group/agentic-mobile-blueprint --skill supabase-email-templates
Clone the repo
git clone --depth 1 https://github.com/Ampli-Group/agentic-mobile-blueprint

Made for: Claude Code, Codex.

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 supabase-email-templates

README.md
[![agentmods](https://agentmods.dev/badge/skills/ampli-group/agentic-mobile-blueprint/supabase-email-templates/github.svg)](https://agentmods.dev/skills/ampli-group/agentic-mobile-blueprint/supabase-email-templates)
Your own site
<a href="https://agentmods.dev/skills/ampli-group/agentic-mobile-blueprint/supabase-email-templates"><img src="https://agentmods.dev/badge/skills/ampli-group/agentic-mobile-blueprint/supabase-email-templates/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for supabase-email-templates

Your own site · 80×15
<a href="https://agentmods.dev/skills/ampli-group/agentic-mobile-blueprint/supabase-email-templates"><img src="https://agentmods.dev/badge/skills/ampli-group/agentic-mobile-blueprint/supabase-email-templates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 728 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00000 $0.00728
Opus 5.5 $0.00000 $0.00291
Sonnet 5.5 $0.00000 $0.00146
Haiku 4.5 $0.00000 $0.00073

Measured 1mo ago against content hash 99bc8920a14d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

supabase-email-templates scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST 'http://localhost:54321/auth/v1/recover' \
.agents/skills/supabase-email-templates/SKILL.md · 96 lines

How it starts

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

Supabase Email Templates

Customize Supabase Auth email templates for local development and production.

When to use

  • Create custom email templates (password reset, confirmation, etc.)
  • Test templates locally with Inbucket
  • Deploy templates to production

Template Types

Use exact names: recovery, confirmation, invite, magic_link, email_change

Setup

1. Create template at supabase/templates/emails/recovery.html:

<body style="margin: 0; padding: 0;">
  <table style="max-width: 600px; margin: 0 auto;">
    <tr><td style="padding: 40px; text-align: center;">
      <h1>Your App</h1>
      <a href="{{ .ConfirmationURL }}" 
         style="display: inline-block; padding: 12px 32px; 
                background: #2563eb; color: #fff; border-radius: 6px;">
        Reset Password
      </a>
    </td></tr>
  </table>
</body>

2. Configure in supabase/config.toml (path relative to project root):

[auth.email.template.recovery]
subject = "Reset your password"
content_path = "./supabase/templates/emails/recovery.html"

3. Restart auth container:

docker restart supabase_auth_<project-name>

Local Testing

Test with Inbucket at http://localhost:54324:

# Send test email
curl -X POST 'http://localhost:54321/auth/v1/recover' \
  -H "apikey: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0" \
  -H "Content-Type: application/json" \
  -d '{"email": "[email protected]"}'

# View at http://localhost:54324

Template Variables

Available: {{ .ConfirmationURL }}, {{ .Email }}, {{ .SiteURL }}, {{ .Token }}

Troubleshooting

Default template still showing?

  • After supabase start, always restart auth: docker restart supabase_auth_<project>
  • Send new test email (old emails cached)

Template not found (404)?

  • After renaming files: supabase stop && supabase start
  • Then restart auth container

Read the full file on GitHub · 96 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. 1mo ago First seen · 96 lines · 0 tokens per session scan A 99bc8920a14d

Subscribe to this mod's changes

supabase-email-templates is a skill published in the GitHub repository Ampli-Group/agentic-mobile-blueprint (4 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 728 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.