Skip to content
Back to skills

Community Push Broadcast

ASecurity

Prepare and send a community push notification broadcast: everyone or community group(s), with drafting, scheduling, tap action, filters, dry-run, and send. The push is NEVER sent without explicit confirmation. Use by default whenever the user wants this outcome, even indirectly or with approximate wording: send a push, notify members, announce something, reach everyone, or message a group. Prefer this skill over raw MCP tools when it reasonably fits. Skip only if the user explicitly asks not...

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 22, 2026
ai-agentsgorailsapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned November 27, 2026

npx -y skills add goodbarber/goodbarber-skills --skill community-push-broadcast --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Community Push Broadcast?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Community Push Broadcast
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/goodbarber-community-push-broadcast/badge)](https://www.skillsdirectory.com/skills/goodbarber-community-push-broadcast)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: community-push-broadcast
description: |
  Prepare and send a community push notification broadcast: everyone or
  community group(s), with drafting, scheduling, tap action, filters,
  dry-run, and send. The push is NEVER sent without explicit
  confirmation. Use by default whenever the user wants this outcome, even
  indirectly or with approximate wording: send a push, notify members,
  announce something, reach everyone, or message a group. 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 pushes sent by mistake or poorly written: a workflow with preview,
review, validation, send, and receipt confirmation. Community broadcasts
can target the whole audience OR one or more community groups.

## Access contract

- `READ_WRITE`.

## API shape

`push_send` takes:

- `message` (required): notification body, max 255 characters.
- `audience` (required), always written out: `everyone`, or `groups`
  with `group_ids` (ids read with `members_get`, `type: group`).
- `send` (required): `now`, or `at` with `send_at` including the user's
  UTC offset, e.g. `2026-05-28T09:30+02:00`. `use_local_time: true`
  delivers at that clock time in each person's own time zone, only when
  the user asks for it.
- `on_tap` (optional): `open_app` (default), `open_link` (with
  `link_url`) or `open_section` (with `section_id`, and `item_id` for one
  item).
- Filters that narrow the audience, where the app offers them:
  `push_platforms` (`ios`, `android`, `pwa` for the web app; omit for all),
  `filter_language`, `filter_launches` (number of launches over the last
  30 days, as `[minimum, maximum]`), `filter_never_notified` and
  `filter_zones` (the last two on iOS and Android only: `push_platforms`
  must leave `pwa` out).

The answer confirms the send or the schedule; it gives no recipient
count. Delivery is asynchronous to opted-in devices.

For targeted pushes to specific community users, use
`community-push-targeted` instead.

## Input contract

- `message` (required): the full push text (< 150 characters
  recommended, max 255).
- `send` (required): ask whether it leaves now or later. For delayed
  sends, require a timezone offset in `send_at`.
- `on_tap` (optional): what opens when the user taps the notification.
- Platforms and filters (optional), as listed above.
- Target:
  - **Everyone** → `audience: everyone`
  - **Community group(s)** → `audience: groups` with `group_ids`
    resolved from `members_get` (`type: group`).

## Required Tool Workflow (strict order)

Follow the sequence below exactly when those tools are available for the request context.

1. **Targeting resolution**:
   - If "group" target: call `members_get` (`type: group`) to get every
     group with its id and label (the default group everyone belongs to
     included). If the user named a group, fuzzy-match against returned
     names and ask them to pick from a numbered list if ambiguous. Never
     guess the ID.
2. **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.
3. **Draft**: compose the `message` and render it to the user in a
   "what the end user will see" format, including platforms, send time,
   tap action, filters, and resolved target.
4. **Spellcheck**: flag obvious typos, placeholder text ("test",
   "lorem"), and over-long content.
5. **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.
6. Send with `push_send`:
   - To everyone → `audience: everyone`
   - To one or more groups → `audience: groups`, `group_ids`
7. 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.
8. Confirm the send with a summary based on the tool response.

## Tools used

- `push_send` (`audience: everyone` or `audience: groups`)
- `members_get` (`type: group`, to resolve group IDs by fuzzy-matching on name)
- `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
## Push broadcast — draft

💬 **Message**: "Meetup Friday at 7pm — join us for the monthly community gathering"
📱 **Platforms**: ios + pwa
⏱️ **Send**: 2026-05-28T19:00+02:00
🔗 **Tap action**: open app
🎯 **Target**: group "Paris local" (id: 42)

→ Confirm send? (yes/no)

---

## Push sent ✅
- Accepted by the tool (send: at 2026-05-28T19:00+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.
- The number of people a notification will reach cannot be read with
  these tools: do not estimate it. For an app-wide broadcast, say plainly
  that it goes to everyone.
- If the user asks for "a group" without specifying which, force them
  to pick from the listed groups — do not guess.
- 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.
- For platform targeting, use one push call with `push_platforms` as an
  array when multiple platforms are requested.
- `filter_never_notified` and `filter_zones` work on iOS and Android
  only: `push_platforms` must leave `pwa` out.
- When the user asks for an audience or a filter this app does not
  offer, say it is not possible; never send to everyone instead.

## Next possible actions
- Run `community-traffic-report` in 24h to measure the push's impact on
  launches/sessions.
- Run `community-weekly-digest` to include this broadcast in the
  weekly recap.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.