Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-sendgrid

БесплатноБез исполняемых скриптовНе проверен

Every Twilio SendGrid endpoint, plus offline suppression diffs, stats time-series rollups, and a template-variable... Trigger phrases: `send transactional…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

Twilio SendGrid — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the sendgrid-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install sendgrid --cli-only
    
  2. Verify: sendgrid-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

go install github.com/mvanhorn/printing-press-library/library/productivity/sendgrid/cmd/sendgrid-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

When to Use This CLI

Use sendgrid-pp-cli for any SendGrid task an agent or operator wants to run from the terminal: transactional mail sends, suppression hygiene, contact list mirror, marketing campaign post-mortems, deliverability stats reporting, template management, and subuser rollups. It is the right choice when the workflow needs cross-endpoint joins (bounce investigations) or offline analysis (stats rollups, diffs) that the live API alone cannot produce.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Local state that compounds

  • suppression sync — Bidirectional sync between SendGrid suppressions and an external CSV/CRM source, with dry-run preview and unified schema across the four inconsistent suppression types.

    When you need to reconcile SendGrid's suppression list with another system without writing custom glue code per suppression type.

    sendgrid-pp-cli suppression sync --from internal-suppressions.csv --apply --dry-run --json
    
  • suppression diff — Three-way diff between the local SQLite mirror, live API, and an external CSV; shows adds, drops, and drift across the suppression universe.

    When auditing CRM ↔ SendGrid drift before a cleanup pass or migration.

    sendgrid-pp-cli suppression diff bounces --against crm-export.csv --json
    
  • stats rollup — Pulls flat windowed stats from the API, stores them in SQLite, and computes day/week/month rollups plus WoW/MoM deltas.

    Use for trend reporting and weekly deliverability standups without paying for paid analytics.

    sendgrid-pp-cli stats rollup --by week --metric opens,clicks --window 90d --json
    
  • templates diff — Side-by-side semantic diff of two template versions (HTML, plain text, subject, test data) with HTML-aware normalization.

    Use during template review to see exactly what changed between draft versions.

    sendgrid-pp-cli templates diff d-abc123 v1 v2
    

Pre-flight checks the API skips

  • templates lint — Statically extracts {{handlebars}} from a template version and cross-checks them against a contact record or JSON payload, flagging missing or typo'd variables before send.

    Use before any production send to catch silently-empty template variables that would otherwise ship as blanks.

    sendgrid-pp-cli templates lint d-abc123 --against '{"first_name":"Sam"}' --json
    

Cross-endpoint joins

  • bounce why — Joins suppressions, email activity, and stats locally to produce a narrative explaining why a specific address keeps bouncing.

    When a customer reports they aren't getting emails and you need a fast root cause.

    sendgrid-pp-cli bounce why [email protected] --json
    
  • subusers rollup — Fans out per-subuser stats pulls in parallel, caches them locally, and produces a single aggregated table for ESP operators managing tenant hierarchies.

    Use for tenant-level deliverability reporting when you run subusers and need per-tenant numbers in one view.

    sendgrid-pp-cli subusers rollup --metric reputation,bounces --window 30d --json
    

Rate-aware streaming

  • activity tail — Streams Email Activity events with rate-limit-aware polling (respects the 6/min cap), local FTS, and filters by status/from/to.

    Use during a deliverability incident to watch events as they happen without tripping the rate limit.

    sendgrid-pp-cli activity tail --filter status:bounce --json
    

Command Ref

Полный SKILL.md на GitHub

Установить pp-sendgrid в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

FAQ

Что делает скилл pp-sendgrid?

Every Twilio SendGrid endpoint, plus offline suppression diffs, stats time-series rollups, and a template-variable... Trigger phrases: `send transactional mail`, `manage SendGrid suppressions`, `audit SendGrid bounces`, `SendGrid templates lint`, `SendGrid stats rollup`, `use sendgrid`, `run sendgrid`.

Как установить скилл pp-sendgrid?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-sendgrid запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-sendgrid с