/bento:plunkfrom bento
Operates the Plunk email platform HTTP API on a deployed bento VPS: send transactional emails, manage contacts, track events, and trigger automations via REST endpoints.
Ships in bento. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You operate the HTTP API of a Plunk stack that is already deployed by bento. This is day-2 work: send transactional emails, track events, manage contacts. This skill carries the bento-specific wiring and operational traps — for exact endpoint paths and request bodies, go to the official docs (linked at the bottom); they are the source of truth and move faster than this file.
Golden rule — use the HTTP API, never the DB. All contact, event, and email operations must go through the REST endpoints. Read-only DB inspection to understand state is always fine.
For getting Plunk running use /bento:deploy. For AWS SES credentials use
/bento:auth or set them directly in the stack envs.
ssh "$user@$host" "jq -r '.envs.plunk.PLUNK_API_HOST' \$HOME/.config/bento/state.json"
Base URL for every API call: https://<PLUNK_API_HOST> (api-<stack-key>.<domain>).
PLUNK_HOST is the dashboard; API paths there return 404. Traefik sends both
hostnames to the container's port 80, where the image's internal nginx routes
by Host header. Container name convention in the Swarm:
plunk_container() { ssh "$user@$host" "docker ps --filter name=plunk_plunk -q | head -1"; }
From outside: always use https://<PLUNK_API_HOST>.
Authorization: Bearer <key> on every authenticated call. Keys are minted in
the Plunk dashboard → Project → API Keys; there is no DB bootstrap path.
| Key type | Prefix | Scope |
|---|---|---|
| Secret key | sk_... | Server-side: send, contacts CRUD, event tracking (/events/track) |
| Public key | pk_... | Client-side only: POST /v1/track (browser/app tracking) |
Never echo either key. Store in env vars and reference by name.
Four groups — look up exact paths and bodies in the docs:
POST /v1/send (secret key)POST /v1/track (public key, upserts contact + fires automations); POST /events/track (secret key, authenticated variant)POST /v1/verify (secret key)Minimal anchor — a transactional send:
curl -s -X POST "https://$PLUNK_API_HOST/v1/send" \
-H "Authorization: Bearer $PLUNK_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{"to":"[email protected]","subject":"Hi","body":"<p>Hello</p>","from":"[email protected]"}'
SES sandbox / unverified domain is the #1 non-delivery cause. AWS SES starts
in sandbox — only verified recipients, low send limits. Request production access
in the AWS console and verify your sending domain in Plunk (Project → Domains)
so DKIM/SPF are in place; Plunk enforces domain ownership before allowing a
from address.
No opens, clicks or deliveries means the SNS feedback chain is broken.
Plunk only learns what happened to an email from SES events: configuration set
(SES_CONFIGURATION_SET) → SNS topic → HTTPS subscription to
https://<PLUNK_API_HOST>/webhooks/sns. If /activity shows email.sent but
never email.delivered, check that subscription first: it must be Confirmed
and on the API host. A subscription left on the old image's path
(https://<PLUNK_HOST>/api/webhooks/incoming/sns) stays Confirmed while every
event 404s. The same break hides bounces and complaints, so Plunk keeps mailing
dead addresses. Setup and check: docs/reference/plunk-ses.md.
EMAIL_RATE_LIMIT_PER_SECOND has a silent fallback. If ses:GetSendQuota
is denied at worker startup, the worker silently falls back to 14 msg/s. In SES
sandbox that immediately triggers throttling. Set EMAIL_RATE_LIMIT_PER_SECOND=1
for sandbox accounts.
/v1/track uses the public key; /v1/send uses the secret key. Mixing them
returns a 401. /contacts and /events/track also require the secret key.
Transactional emails do NOT subscribe new contacts by default. POST /v1/send
creates the contact as unsubscribed unless "subscribed": true is explicitly
passed. POST /v1/track does subscribe new contacts by default.
Template variable syntax is {{fieldName}}. Unmatched placeholders are
replaced with empty string, not left as-is. Use {{field ?? default}} for
fallbacks. System vars (email, unsubscribeUrl, subscribeUrl, manageUrl,
id) are always available in transactional bodies without passing them in data.
GET /contacts/:id; for emails, the
data.emails array from the /v1/send response./health first, then the configuration set exists,
then SES sandbox / domain verification.Docs (source of truth): https://docs.useplunk.com — API reference for all paths, bodies, and response shapes. When this skill and the docs disagree, the docs win — tell the operator.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub felipefontoura/bento --plugin bento14 skills in this plugin
/authRegister an AI-provider API key on a VPS running bento, via SSH, and propagate it to every BENTO_MANAGED stack. Drives bento-auth (Anthropic, OpenAI, OpenRouter, z.ai, Gemini, and any OpenAI-compatible endpoint). Use when the user says "add my OpenAI key", "register an Anthropic key", "set up provider auth on my bento server". NOTE: subscriptions (Claude Pro/Max, ChatGPT Plus) are OUT OF SCOPE — those use each app's native sign-in./chatwootOperate the Chatwoot customer support platform via HTTP API on an already-deployed bento VPS — reply to a customer, send a support message, create a new conversation, list open conversations, assign a conversation to an agent, resolve or reopen a ticket, create or search a contact, list help desk inboxes, add a private note, filter conversations by status/inbox/team/label. Use when the user says "reply to a customer", "send a message to a contact", "create a support ticket", "list open chats", "assign this conversation", "resolve a ticket", "create a contact in chatwoot", "set up a help desk inbox", "check unassigned conversations", "list my inboxes", "add a note to a conversation", "search for a contact", "get chatwoot conversations", or any other day-2 support desk operation. Deploying Chatwoot itself is `/bento:deploy`.Other plugins' skills for the same job