twilio-sendgrid-suppressions

twilio-sendgrid-suppressions is a skill for Claude Code, Codex from twilio/ai. It costs 93 tokens per session (1,088 once invoked), scanned B, original, MIT.

Email-delivery settings for SendGrid, a service that sends email for applications. They cover addresses that bounced, reported spam, used an invalid address, or unsubscribed.

In plain words
What is it for?
Use it to investigate delivery failures, inspect or remove suppressions when appropriate, and build unsubscribe handling for all email or specific categories.
Why use it?
They explain why SendGrid is not sending to an address and help avoid sending unwanted mail or harming the sender’s reputation. They also help identify cases where a legitimate message is blocked.

Skill for Claude CodeCodex ✓ vendor

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the ai plugin — 57 skills shipped together

Good fit Use it to investigate delivery failures, inspect or remove suppressions when appropriate, and build unsubscribe handling for all email or specific categories.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/twilio/ai/twilio-sendgrid-suppressions
View source ↗ twilio/ai
About the project

Twilio for AI provides coding agents with skills and an MCP server for using Twilio services and documentation. The MCP server searches Twilio documentation and API specifications and retrieves full schemas for selected operations, while the skills supply procedural guidance to agents. Its catalogue add-ons are intended for Claude Code, Cursor, Codex, and other tools that support the Agent Skills standard.

twilio/ai · 32 stars · on GitHub

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 twilio/ai --skill twilio-sendgrid-suppressions
Clone the repo
git clone --depth 1 https://github.com/twilio/ai

Made for: Claude Code, Codex.

Or install ai, the plugin that ships this one along with the rest of its 57 skills.

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 twilio-sendgrid-suppressions

README.md
[![agentmods](https://agentmods.dev/badge/skills/twilio/ai/twilio-sendgrid-suppressions/github.svg)](https://agentmods.dev/skills/twilio/ai/twilio-sendgrid-suppressions)
Your own site
<a href="https://agentmods.dev/skills/twilio/ai/twilio-sendgrid-suppressions"><img src="https://agentmods.dev/badge/skills/twilio/ai/twilio-sendgrid-suppressions/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 twilio-sendgrid-suppressions

Your own site · 80×15
<a href="https://agentmods.dev/skills/twilio/ai/twilio-sendgrid-suppressions"><img src="https://agentmods.dev/badge/skills/twilio/ai/twilio-sendgrid-suppressions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,088 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. 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.00093 $0.01088
Opus 5 $0.00046 $0.00544
Sonnet 5 $0.00019 $0.00218
Haiku 4.5 $0.00009 $0.00109

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

Security

Grade B, and why

twilio-sendgrid-suppressions scanned grade B with 2 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 11d 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

requests.post("https://api.sendgrid.com/v3/asm/groups",

Makes network callslowCapability

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

response = requests.get("https://api.sendgrid.com/v3/suppression/bounces", headers=headers)
skills/sendgrid/twilio-sendgrid-suppressions/SKILL.md · 104 lines

How it starts

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

Overview

Suppressions prevent SendGrid from sending to addresses that have bounced, reported spam, or unsubscribed. They protect your sender reputation but can also block legitimate re-sends if not managed correctly.


Suppression Types

Type Endpoint What triggers it Auto-added?
Hard Bounces /v3/suppression/bounces Permanent delivery failure (invalid mailbox, domain doesn't exist) Yes
Soft Bounces No management API — automatic retry only Temporary failure (mailbox full, server down) — SendGrid auto-retries before suppressing Yes, after repeated failures
Blocks /v3/suppression/blocks Temporary rejection by receiving server (reputation, policy, content) Yes
Spam Reports /v3/suppression/spam_reports Recipient marks email as spam Yes
Invalid Emails /v3/suppression/invalid_emails Malformed email address Yes
Global Unsubscribes /v3/suppression/unsubscribes Recipient unsubscribes from all email Yes
Group Unsubscribes (ASM) /v3/asm/groups/{id}/suppressions Recipient unsubscribes from a category Yes

Hard vs Soft bounces: Hard bounces (permanent) immediately suppress the address. Soft bounces (temporary) trigger retries — SendGrid will retry delivery before eventually suppressing if the issue persists.


Managing Suppressions

List bounces (Python)

import os, requests

headers = {"Authorization": f"Bearer {os.environ['SENDGRID_API_KEY']}"}
response = requests.get("https://api.sendgrid.com/v3/suppression/bounces", headers=headers)
for bounce in response.json():
    print(f"{bounce['email']}: {bounce.get('reason', 'unknown')}")

Remove a bounce (Python)

requests.delete(f"https://api.sendgrid.com/v3/suppression/bounces/{email}", headers=headers)

Caution: Deleting suppression records (especially spam reports) allows re-sending to addresses that previously complained. Always confirm with the user before removal and document the business reason.

Read the full file on GitHub · 104 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 104 lines · 93 tokens per session scan B 2d28ac525831

Subscribe to this mod's changes

twilio-sendgrid-suppressions is a skill published in the GitHub repository twilio/ai (32 stars, last pushed 27d ago), licensed MIT. It adds 93 tokens to every session and 1,088 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens