Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

sns

Skill by itsmostafa

Guides an AI assistant through AWS SNS pub/sub messaging. It covers creating topics, managing subscriptions, message filtering, publishing, and fan-out to SQS queues.

  • Score 89
  • 1.2k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install sns

Built from the published package, never by AI.

git clone --depth 1 https://github.com/itsmostafa/aws-agent-skills /tmp/aws-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/aws-agent-skills/skills/sns ~/.claude/skills/sns

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install sns in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a reference guide for Amazon Simple Notification Service (SNS), a fully managed pub/sub messaging service. It describes standard and FIFO topics and the subscription protocols SNS supports, including Lambda, SQS, HTTP/HTTPS, email, SMS, and mobile application push. It also includes AWS CLI and boto3 examples for creating topics and subscriptions, publishing messages, and setting filter policies.

The skill explains how message attributes route messages to subscribers, with filter policy examples for exact match, prefix, numeric comparison, exists checks, and anything-but. It shows a fan-out pattern that delivers one publish to several SQS queues, and a Lambda permission setup for SNS. A troubleshooting section covers unconfirmed subscriptions, filter mismatches, HTTP endpoint retries, and SQS queue policies. It is aimed at developers building event-driven or notification features on AWS.

Written from the project's SKILL.md and checked against it.

What it can do

  • Create topicsCreates standard or FIFO SNS topics using the AWS CLI or boto3.
  • Manage subscriptionsSubscribes Lambda, SQS, email and other endpoints to a topic and lists or removes them.
  • Message filteringSets filter policies so subscribers receive only messages with matching attributes.
  • Publish messagesPublishes plain, attributed, and FIFO messages to a topic.
  • Fan-out to SQSSubscribes several SQS queues to one topic so a single publish reaches all of them.
  • Lambda permission setupAdds the permission that lets SNS invoke a Lambda function.
  • Troubleshooting guidanceLists checks for unconfirmed subscriptions, filter mismatches, HTTP retries and SQS policies.

What you need

  • AWS CLI
  • Python with boto3
  • AWS account with SNS resources

Try asking

  • Create a FIFO SNS topic called orders.fifo and subscribe an SQS queue to it
  • Write a filter policy so a subscriber only gets order_created events
  • Publish an order message with event_type and priority attributes to my SNS topic

Good to know

  • Messages are limited to 256 KB.
  • Standard topics offer best-effort ordering with at-least-once delivery.
  • SNS is push-based, so the guide recommends pairing it with SQS for durability.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/sns/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md10 KB
  • notification-patterns.md8 KB

Alternatives to sns

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

sns: common questions

What subscription protocols does SNS support in this guide?

The guide lists Lambda, SQS, HTTP/HTTPS, email, SMS, and Application for mobile push notifications.

Why is my SNS subscriber not receiving filtered messages?

The troubleshooting section says filters only match message attributes, not the message body. It also checks that attribute types match, such as String versus Number.

What is the difference between standard and FIFO SNS topics?

The guide describes standard topics as best-effort ordering with at-least-once delivery. FIFO topics provide strict ordering and exactly-once delivery.

How do I install sns?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is sns free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is sns safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to sns?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

Add to stack

Loading.