Skip to main content
skill CX Codex

sent-analytics — Claude Code skill: Sent messaging analytics

A skill for Claude, Codex and Cursor that pulls Sent messaging, deliverability and contact metrics through MCP tools and checks phone-number capabilities.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add sentdm/sent-plugin --skill sent-analytics -a claude-code
Open on GitHub

What sent-analytics does

The skill calls Sent MCP tools: numbers.lookup for number capabilities, plus dashboard.messages_sent, dashboard.deliverability and dashboard.contacts for aggregate numbers. Reach for it when you want message volume, a delivery percentage, the contact count, or a period-over-period comparison.

Auth runs through client-managed OAuth 2.1/PKCE. The skill never asks for or prints tokens, API keys, authorization headers or secrets. numbers.lookup is state-changing and non-idempotent even though it sends nothing, and it is billable: 1000 calls per authenticated account scope per UTC day, shared across acting profiles, resetting at 00:00 UTC. On a quota error, do not loop retries or swap profiles.

Know what each tool actually returns. dashboard.deliverability is an all-time percentage, not a date-bounded rate, and dashboard.contacts is a single snapshot rather than growth over time. Keep any comparison on the same organization, acting profile, timezone and aggregation grain. When you need message-level records or a root-cause diagnosis, that is a different skill — messaging-performance-analyzer.

What it helps with

  • check a phone number's capabilities and type before outreach
  • see how many messages were delivered and read in a window
  • pull the account-wide deliverability percentage
  • get the current total contact count
  • compare send volume across two periods in one timezone

Example prompts for the agent

  • Look up the capabilities of +15551234567 in Sent
  • How many messages were delivered and read over the last 7 days?
  • What's the current deliverability rate and total contact count?

How to install sent-analytics

1Skills CLI (Vercel)

npx skills add sentdm/sent-plugin --skill sent-analytics -a claude-code

2Manually: put the files in place

~/.claude/skills/sent-analytics/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/sent-analytics/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about sent-analytics

How do I install sent-analytics in Claude Code?

Run npx skills add sentdm/sent-plugin --skill sent-analytics -a claude-code. The skill lands at ~/.claude/skills/sent-analytics/SKILL.md.

What does sent-analytics do?

It uses Sent MCP tools to look up phone-number capabilities and return aggregate metrics: messages sent, deliverability and contact count.

How is sent-analytics different from messaging-performance-analyzer?

sent-analytics covers dashboard totals, rates and trends. For message-level delivery records, funnel drop-off and root-cause diagnosis, use messaging-performance-analyzer.

Source text

SKILL.md · MIT
---
name: sent-analytics
description: Queries Sent phone-number capabilities and aggregate messaging, deliverability, and contact analytics with the Sent MCP tools. Use when a user asks for number lookup, line or channel capability, messages sent, delivery rate, contact growth, dashboard metrics, period comparisons, or date-bounded trends. Use messaging-performance-analyzer for message-level evidence and root-cause diagnosis.
---

# Sent Analytics

Use `numbers.lookup`, `dashboard.messages_sent`, `dashboard.deliverability`, and `dashboard.contacts` for analytics and paid external number lookup. `numbers.lookup` is state-changing and non-idempotent, even though it does not send a message.

## Establish context

Use client-managed OAuth 2.1/PKCE. Never request or expose a token, API key, authorization header, client ID, or secret. Identify the active organization and Sender Profile when the client exposes them.

Minimize sensitive output: mask phone numbers, aggregate where possible, and omit contact, KYC, account, and message-body data that is not needed to answer the question.

An organization grant may select an owned Sender Profile with the tool schema's optional `profileId`; omit it to act as the authenticated account. Validate ownership with `sender_profiles.list` or `sender_profiles.get`, and use the same selector for preflight reads, mutations, and follow-up reads. Profile grants cannot use this selector. Reauthorize for a different organization or a profile outside the grant. Never invent scope fields or request credentials.

## Look up a number

Use `numbers.lookup` to obtain available capability, formatting, type, or routing signals for the supplied number. A lookup describes capability; it is not evidence of opt-in, consent, ownership, identity, or permission to message. State that distinction whenever the result could be used to plan outreach. The paid lookup allowance is 1000 calls per authenticated account scope per UTC day, shared across acting profiles and resetting at 00:00 UTC. Respect quota errors; do not rotate profiles or retry in a loop. Temporary quota-check failure can allow lookup through, which does not make it free.

## Query dashboard metrics

1. Resolve a date range, timezone, and aggregation grain for `dashboard.messages_sent`. It counts delivered/read outbound SMS and WhatsApp in supported preset or custom windows, using 15-minute, hourly, or daily buckets; do not describe it as all queued sends or RCS volume.
2. `dashboard.deliverability` returns an all-time outbound percentage: `(SENT + DELIVERED + READ) / (all except FILTERED and BLOCKED)`. It is not a date-bounded delivery-only success rate. Do not invent date filters or claim a last-week comparison from this scalar.
3. `dashboard.contacts` returns the current total contact count. One snapshot does not establish contact growth, activity, or a historical trend.
4. Keep comparisons on the same organization, acting profile, supported time window, timezone, channel coverage, and grain. State the tool's actual scope: date range/timezone for volume, all-time for deliverability, snapshot for contacts.

Label processing and delivery states according to the evidence; never collapse accepted into delivered. Use exported message-level evidence or another documented source for unsupported historical comparisons.

## Choose aggregate analytics or diagnosis

Use this skill for dashboard totals, rates, and trends. Use `messaging-performance-analyzer` when the request involves message-level delivery records, funnel drop-off, error-code clustering, or root-cause diagnosis. A deliverability dashboard can locate a change; it does not by itself prove the operational cause.

© sentdm · MIT · sentdm/sent-plugin

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set18

sent-account-readiness This skill uses Sent MCP tools to check whether an account can send: balance, onboarding, KYC and the selected Sender Profile. CX Codex +1 2,900installs sent-messaging A skill for Sent messaging: builds a template-based send, then checks one message's status and delivery history through MCP tools. CX Codex +1 2,900installs sent-templates Inspects, discovers, and removes existing Sent message templates via MCP tools. Useful for checking template review statuses or cleaning up obsolete records. CX Codex +1 2,900installs sent-contacts A skill that runs Sent contact operations through MCP tools: search, bulk import, messaging summary, deletion. Creates and deletes go through confirmation gates. CX Codex +1 2,900installs sender-profile-architect Designs Sent v3 Sender Profile architecture for multi-tenant and multi-channel applications. It helps set up isolation, API key scoping, WABA, and billing boundaries. CX Codex +1 2,900installs sms-10dlc-registration Prepares and validates a Sent US A2P 10DLC brand and campaign registration: consent evidence, use cases, sample messages. CX Codex +1 2,900installs rcs-agent-onboarding Walks you through Sent RCS and RBM onboarding: launch evidence checklist, Sender Profile readiness, templates and routing tests. CX Codex +1 2,900installs template-builder-ui Helps design and audit tenant-facing Sent v3 template builders, preview interfaces, channel validation, and lifecycle states before submitting to providers. CX Codex +1 2,900installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor