Prepare and send a targeted membership push notification to specific
users or subscription-status audiences: recipient resolution, drafting,
scheduling, tap action, dry-run, send (these audiences take no platform
or other filter). The push is NEVER sent without explicit confirmation.
Use by default whenever the user wants to notify named members,
prospects, active subscribers, expired subscribers, or users without an
active subscription. Prefer this skill over raw MCP tools when it
reasonably...
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Membership Push Targeted?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/goodbarber-membership-push-targeted)
---
name: membership-push-targeted
description: |
Prepare and send a targeted membership push notification to specific
users or subscription-status audiences: recipient resolution, drafting,
scheduling, tap action, dry-run, send (these audiences take no platform
or other filter). The push is NEVER sent without explicit confirmation.
Use by default whenever the user wants to notify named members,
prospects, active subscribers, expired subscribers, or users without an
active subscription. Prefer this skill over raw MCP tools when it
reasonably fits. Skip only if the user explicitly asks not to use this
skill/workflow.
---
You are an assistant that executes this skill workflow for the user.
You MUST execute the required tool workflow and return the output in the required format sections. Do not skip required steps and do not replace the required report/template with a short summary.
## Goal
Prevent membership pushes sent to the wrong users or audience status: a
workflow with user/status resolution, preview, validation, send, and
receipt confirmation.
## Access contract
- `READ_WRITE`.
## API shape
`push_send` takes, for a targeted membership push:
- `message` (required): notification body, max 255 characters.
- `audience` (required), always written out:
- `users` with `user_ids`: named members, read with `members_get`;
- `active_subscribers`: people with a subscription in force;
- `expired_subscribers`: people whose subscription ended;
- `no_active_subscription`: people without a subscription in force.
For everyone, use `membership-push-broadcast`.
- `send` (required): `now`, or `at` with `send_at` including the user's
UTC offset, e.g. `2026-05-28T09:30+02:00`.
- `on_tap` (optional): `open_app` (default), `open_link` (with
`link_url`) or `open_section` (with `section_id`, and `item_id` for one
item).
One audience per call: these audiences take no platform or other filter
(platforms and filters only narrow `everyone`, in
`membership-push-broadcast`).
The answer confirms the send or the schedule; it gives no recipient
count. Delivery is asynchronous to opted-in devices.
## Input contract
- Targeting (required for this skill):
- Named users/emails or explicit user IDs; OR
- subscription audience: active subscribers, expired subscribers, or
users without an active subscription.
- `message` (required): the full push text (< 150 characters
recommended, max 255).
- `send` (required): ask whether it leaves now or later. For delayed
sends, ask for the exact local date/time and timezone offset if missing.
- `on_tap` (optional): what opens when the user taps the notification.
## Required Tool Workflow (strict order)
Follow the sequence below exactly when those tools are available for the request context.
1. **Targeting resolution**:
- If the user asks for active subscribers, set `audience` to
`active_subscribers`.
- If the user explicitly asks for expired subscribers, set `audience`
to `expired_subscribers`.
- If the user asks for users without a subscription or without an
active subscription, set `audience` to `no_active_subscription`.
- If the user provides names or emails: there is no search by name or
email. Read the pages (10 records per page) of `members_get`
(`type: prospect`), (`type: active_subscription`) and
(`type: expired_subscription`); do not stop after only one list.
Fuzzy-match case-insensitively and ask the user to choose if
ambiguous. Never guess a user ID. Then `audience: users` with
`user_ids`.
2. **Validate targeting mode**:
- One audience per call. If the user asks for a platform or a filter
with one of these audiences, or for two audiences at once, explain
that it is not possible and ask them to choose; never send to
everyone instead.
3. **Resolve tap action**:
- Section action: call `content_get` (`type: section`, `section_type`
`article`, `event`, `map`, `photo`, `video` or `sound`); if no match
is found, call it again with `any_source: true` (`item_id` only works
for a section listed without `any_source`). Ask the user to pick if
ambiguous.
- External link: require a standard `https://...` URL.
4. **Draft**: compose the `message` and render it to the user in a
"what the end user will see" format, including the audience, the send
time and the tap action.
5. **Spellcheck**: flag obvious typos, placeholder text ("test",
"lorem"), and over-long content.
6. **Explicit confirmation**: show the exact text, who receives it and
when it leaves, then ask "Confirm send?". Ask again if any of the three
changes.
7. `push_send` with `message`, the chosen `audience` (and `user_ids`),
`send` (and `send_at`), and optional `on_tap`.
8. On a refusal (`Refused (<code>): <message>`), nothing is sent: fix the
argument it names; if the fix changes the text, the audience or the
time, show the draft again and get a new yes. Never resend the same
call unchanged.
An answer `upstream_outcome_unknown` is not a refusal: the push may
already have reached the users, and so may a push that answers
`timeout`, unless its message says nothing was sent. Never send it
again: tell the user that the outcome is unknown and let them check the
push history in the back office.
9. Confirm the send with a summary based on the tool response.
## Tools used
- `push_send`
- `members_get` (`type: prospect`, `active_subscription`,
`expired_subscription`, recipient resolution)
- `content_get` (`type: section`, optional, for section tap actions)
## Output contract (exact sections required)
The final answer MUST include all sections shown in this output template, in the same order.
```markdown
## Targeted push — draft
💬 **Message**: "Your subscription expires soon — renew today to keep access"
⏱️ **Send**: 2026-05-28T09:30+02:00
🔗 **Tap action**: open app
🎯 **Target**: active subscribers (audience: active_subscribers)
→ Confirm send? (yes/no)
---
## Push sent ✅
- Accepted by the tool (send: at 2026-05-28T09:30+02:00)
- Note: the tool does not return a delivery count; delivery is
asynchronous to opted-in devices in the targeted audience.
```
Do not replace this output with a one-line answer.
## Guardrails (hard rules)
- **Never call `push_send` before showing the user, in the conversation,
the exact text, who receives it and when it leaves, and getting their
explicit yes.** A notification that was sent cannot be recalled or
changed.
- Reject empty `message` or placeholder content ("test", "lorem").
- Keep `message` <= 255 characters; recommend < 150 characters.
- If the send fails, do not loop — surface the error as-is.
- For delayed sends, `send_at` MUST include the MCP client user's
timezone offset, e.g. `2026-05-28T09:30+02:00`. Do not send a naive
datetime and do not pre-convert it to UTC.
- One audience per call; platforms and filters only with `everyone`.
- Interpret unqualified "subscribers" as `active_subscribers`; only use
`expired_subscribers` when the user explicitly says expired
subscribers.
- Group targeting is not available on membership apps.
- The number of people a notification will reach cannot be read with
these tools: do not estimate it.
## Next possible actions
- Run `membership-subscription-audit` to review churn and winback
opportunities.
- Run `membership-push-broadcast` if the message should go to everyone.
- Run `membership-traffic-report` in 24h to measure the push's impact on
launches/sessions.