aws-social-messaging
Skill2.9k starsChanged 5 months agoApache-2.0View on GitHub
Manages WhatsApp messaging through AWS End User Messaging Social. Covers managing templates (create, update, delete, library), sending messages (utility/marketing/auth templates and freeform), uploading and managing media, configuring event destinations for delivery tracking, and troubleshooting delivery failures. Applicable when a user needs to send WhatsApp messages, create or manage templates, upload media, configure delivery notifications, or diagnose messaging issues.
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 12 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Recommended setup: Use the AWS MCP server for sandboxed execution, audit logging, and enterprise controls.
- Very specific: line 28
If the aws socialmessaging subcommand is not recognized, the user must update to the latest AWS CLI version
- Distinctive: line 39
Create, update, and delete message templates (utility, marketing, authentication).
- Distinctive: line 59
Use for: transactional updates (utility), promotions (marketing), verification codes (authentication)
- Distinctive: line 66
Use for: customer service replies within 24h of customer's last inbound message
- Distinctive: line 68
No API to check window status — user must confirm from logs or event history
- Distinctive: line 73
Before executing any API call, validate parameter formats:
- Distinctive: line 125
Access denied: verify IAM permissions scoped to WABA/phone number ARNs
- Distinctive: line 128
24h window expired: use template message instead of freeform
- Distinctive: line 131
Media URL inaccessible: must be publicly accessible HTTPS
- Very specific: line 135
Use least-privilege IAM policies scoped to specific social-messaging: actions and WABA/phone number ARNs
- Distinctive: line 136
Use ephemeral credentials (IAM roles) instead of long-lived access keys
- Distinctive: line 141
Avoid sensitive data in template parameters and freeform message content (they appear in CloudTrail logs)
- Distinctive: line 143
Verify SNS subscription endpoints are authorized by your team — validate that all subscribed email addresses and systems belong to …
- Very specific: line 144
Add condition keys (aws:SourceArn, aws:SourceAccount) to SNS topic policies to prevent confused deputy attacks
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AWS End User Messaging Social — WhatsApp
Overview
WhatsApp messaging via AWS End User Messaging Social: template management, sending, media handling, event destinations, and delivery troubleshooting.
Recommended setup: Use the AWS MCP server for sandboxed execution, audit logging, and enterprise controls.
Without AWS MCP: This skill works with any agent that has AWS CLI access. All commands use standard AWS CLI syntax.
Common Tasks
1. Verify Dependencies
Constraints:
- The AWS MCP server is recommended for seamless API execution but not required — all commands use standard AWS CLI syntax
- You MUST verify the AWS CLI is installed and configured with appropriate credentials
- You SHOULD recommend the user assume an IAM role with ephemeral credentials
- You MUST inform the user if any required tool is missing and how to install/configure it
- You MUST ask the user if they want to proceed despite any missing tools
- If the
aws socialmessagingsubcommand is not recognized, the user must update to the latest AWS CLI version - Required IAM permissions (scope to specific WABA and phone number ARNs):
- Templates:
social-messaging:CreateWhatsAppMessageTemplate,social-messaging:GetWhatsAppMessageTemplate,social-messaging:ListWhatsAppMessageTemplates,social-messaging:UpdateWhatsAppMessageTemplate,social-messaging:DeleteWhatsAppMessageTemplate,social-messaging:ListWhatsAppTemplateLibrary,social-messaging:CreateWhatsAppMessageTemplateFromLibrary - Sending:
social-messaging:SendWhatsAppMessage - Media:
social-messaging:PostWhatsAppMessageMedia,social-messaging:CreateWhatsAppMessageTemplateMedia,social-messaging:GetWhatsAppMessageMedia,social-messaging:DeleteWhatsAppMessageMedia - Events:
social-messaging:PutWhatsAppBusinessAccountEventDestinations - Diagnostics:
social-messaging:GetLinkedWhatsAppBusinessAccount,social-messaging:GetLinkedWhatsAppBusinessAccountPhoneNumber,social-messaging:ListLinkedWhatsAppBusinessAccounts - Supporting:
sns:ListSubscriptionsByTopic,iam:PassRole(for event destination role)
- Templates:
2. Manage Templates
Create, update, and delete message templates (utility, marketing, authentication).
create-whatsapp-message-template: base64-encode--template-definition(blob type)create-whatsapp-message-template-from-library: use pre-approved Meta library templateslist-whatsapp-template-library: browse available library templatesget-whatsapp-message-template: retrieve template details by--id(WABA) and--meta-template-idupdate-whatsapp-message-template: modify existing template contentdelete-whatsapp-message-template: requires--template-name(NOT--meta-template-name); always include--delete-all-languageslist-whatsapp-message-templates: response fields aretemplateStatusandtemplateCategory(NOTstatus/category)- Templates with
{{N}}parameters MUST include"parameter_format": "positional"(exception: AUTHENTICATION — Meta handles OTP parameters automatically) and"example" - Meta reviews all templates (minutes to 24h); MUST NOT send with PENDING/REJECTED
- Choosing the wrong category causes reclassification (UTILITY → MARKETING) which changes pricing — see managing-templates.md — Choosing the Right Category for guidance on selecting UTILITY vs MARKETING vs AUTHENTICATION
- You MUST confirm the intended category (UTILITY, MARKETING, or AUTHENTICATION) with the user before creating a template — explain the categorization criteria and reclassification risk if the choice is ambiguous
See managing-templates.md.
3. Send Messages
Template Messages (no 24h restriction)
- Use for: transactional updates (utility), promotions (marketing), verification codes (authentication)
- Collect: phone number ID, recipient (E.164 with
+), template name, language, parameters - Marketing templates may include image headers
--messageis blob type — MUST base64-encode JSON
Freeform Messages (24h window required)
- Use for: customer service replies within 24h of customer's last inbound message
- Supports: text, image, document, video, audio — see WhatsApp Cloud API media reference for supported format and size constraints
- No API to check window status — user must confirm from logs or event history
- Media URLs MUST be publicly accessible HTTPS and remain available for the full 30-day message availability window (Meta can re-fetch anytime). For sensitive content (receipts, invoices, PII), upload via
post-whatsapp-message-mediaand reference by media ID instead — presigned URLs cannot satisfy the 30-day availability requirement
Constraints for all sends:
- Before executing any API call, validate parameter formats:
- Phone number IDs match
phone-number-id-*pattern - WABA IDs match
waba-*pattern - Recipient numbers are E.164 with
+prefix (e.g.,+14155551234), or Business-Scoped User ID (BSUID) via the"recipient"field - Template names contain only lowercase letters, numbers, and underscores
- Language codes use Meta's locale format with underscores (e.g.,
en_US,pt_BR) --meta-api-versionisv{Major}.{Minor}format (e.g.,v21.0)
- Phone number IDs match
"messaging_product"MUST be"whatsapp"in the JSON body; check Meta's Graph API changelog for the supported Meta Graph API version--messageis blob type — MUST base64-encode the JSON payload- A successful
messageIdmeans queued, not delivered - You MUST ask for all required parameters upfront in a single prompt
- You MUST accept parameters as individual values, JSON objects, or file references
- You MUST explain each step before executing
- You SHOULD confirm all parameters with the user before executing
- You MUST respect the user's decision to abort
- You MUST NOT send more than 5 messages per batch without user confirmation
- You MUST NOT create or access credentials directly
See sending-messages.md.
4. Manage Media
Upload, retrieve, and delete media for messages and template headers.
post-whatsapp-message-media: upload media, returns reusable media IDcreate-whatsapp-message-template-media: upload media specifically for template headersget-whatsapp-message-media: retrieve media metadata/URL by IDdelete-whatsapp-message-media: remove uploaded media
See managing-media.md.
5. Configure Event Destinations
Set up delivery tracking, template status notifications, and reclassification alerts.
Set up delivery tracking, template status notifications, and reclassification alerts. A WABA can only have one event destination. See configuring-event-destinations.md for prerequisites (IAM role, SNS topic with KMS encryption, HTTPS-only subscription endpoints, condition keys) and full security controls.
6. Troubleshoot Delivery
Diagnostic flow: WABA status → phone number → templates → event destinations → quotas.
get-linked-whatsapp-business-account: registration MUST be COMPLETEget-linked-whatsapp-business-account-phone-number: verify phone number healthlist-linked-whatsapp-business-accounts: list all WABAs- Template reclassified: detectable via event destinations (real-time) or by listing templates and comparing categories; delete and recreate
- 24h window expired: use template message instead
- Rate limiting: new WABAs have lower limits; increases with quality
- Recipient without WhatsApp: silently dropped
See troubleshooting-delivery.md.
Quick Reference — Common Errors
- Access denied: verify IAM permissions scoped to WABA/phone number ARNs
- Template rejected: body must match category; include
parameter_formatandexample - Template reclassified: configure event destinations to detect; delete and recreate
- 24h window expired: use template message instead of freeform
- Send fails:
--origination-phone-number-idis the ID (not phone number); recipient E.164 with+ - Queued but not delivered: 200 = queued; configure event destinations for status
- Media URL inaccessible: must be publicly accessible HTTPS
Security Considerations
- Use least-privilege IAM policies scoped to specific
social-messaging:actions and WABA/phone number ARNs - Use ephemeral credentials (IAM roles) instead of long-lived access keys
- Store secrets in AWS Secrets Manager or Parameter Store — never in code or environment variables
- Enable CloudTrail for auditing all
social-messagingAPI calls; encrypt logs with KMS CMK - Encrypt SNS topics for event destinations with KMS (callbacks contain recipient metadata)
- Encrypt CloudWatch Logs with KMS if monitoring social-messaging activity
- Avoid sensitive data in template parameters and freeform message content (they appear in CloudTrail logs)
- Validate recipient phone numbers to prevent unauthorized messaging
- Verify SNS subscription endpoints are authorized by your team — validate that all subscribed email addresses and systems belong to personnel/systems that should receive sensitive delivery status and recipient metadata before confirming subscriptions. Use HTTPS-only endpoints
- Add condition keys (
aws:SourceArn,aws:SourceAccount) to SNS topic policies to prevent confused deputy attacks - Implement rate limiting via service quotas and CloudWatch alarms on send rates
Additional Resources
Trending
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about aws/agent-toolkit-for-aws
- A Hacker News story“Agent Toolkit for AWS”Hacker News · Jun 8, 2026 · 5 points
- @yug1224.com“AIエージェントがAWS環境の構築や運用を効率よく行うための公式ツールキットらしい ClaudeやCursorなどのエージェントに導入して開発を自動化するのが楽しみ yug1224 starred …”Bluesky · Jun 27, 2026 · 2 likes
- @librecanada.bsky.social“GitHub - Webpage "GitHub - aws/agent-toolkit-for-aws: Official, AWS-supported MCP servers, skills, and …”Bluesky · May 10, 2026 · 2 likes
- @yug1224.com“AIエージェントにAWSの操作や開発をサポートさせるためのツールキットらしい 実務でAIを活用してインフラ構築を効率化するのに使えそう yug1224 starred aws/agent-toolkit-for-aws…”Bluesky · Jun 27, 2026 · 1 likes
- sudosubin/agents.nix“copilot-plugins.github.aws.agent-toolkit-for-aws: e208651 → 8eee01d”GitHub · Oct 31, 2026
The biggest 5 of 55 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 55
Talked about on GitHub, Bluesky and Hacker News (55 times).
On GitHub · 50
- Oct 31, 2026copilot-plugins.github.aws.agent-toolkit-for-aws: e208651 → 8eee01d — sudosubin/agents.nix0 reactions
- Oct 30, 2026agent-plugins.github.aws.agent-toolkit-for-aws: e208651 → 8eee01d — sudosubin/agents.nix0 reactions
- Oct 30, 2026claude-code-plugins.github.aws.agent-toolkit-for-aws: e208651 → 8eee01d — sudosubin/agents.nix0 reactions
- Oct 30, 2026agent-skills.github.aws.agent-toolkit-for-aws: e208651 → 8eee01d — sudosubin/agents.nix0 reactions
- Oct 30, 2026claude-code-marketplaces.github.aws.agent-toolkit-for-aws: e208651 → 8eee01d — sudosubin/agents.nix0 reactions
45 more on GitHub
- Oct 30, 2026codex-marketplaces.github.aws.agent-toolkit-for-aws: e208651 → 8eee01d — sudosubin/agents.nix0 reactions
- Oct 30, 2026codex-plugins.github.aws.agent-toolkit-for-aws: e208651 → 8eee01d — sudosubin/agents.nix0 reactions
- Oct 30, 2026kiro-powers.github.aws.agent-toolkit-for-aws: e1f50d7 → 8eee01d — sudosubin/agents.nix0 reactions
- Oct 30, 2026copilot-plugins.github.aws.agent-toolkit-for-aws: e1f50d7 → e208651 — sudosubin/agents.nix0 reactions
- Oct 30, 2026claude-code-plugins.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-29 → 0-unstable-2026-10-30 — sudosubin/agents.nix0 reactions
- Oct 30, 2026agent-plugins.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-29 → 0-unstable-2026-10-30 — sudosubin/agents.nix0 reactions
- Oct 30, 2026agent-skills.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-29 → 0-unstable-2026-10-30 — sudosubin/agents.nix0 reactions
- Oct 30, 2026claude-code-marketplaces.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-29 → 0-unstable-2026-10-30 — sudosubin/agents.nix0 reactions
- Oct 30, 2026codex-marketplaces.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-29 → 0-unstable-2026-10-30 — sudosubin/agents.nix0 reactions
- Oct 30, 2026codex-plugins.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-29 → 0-unstable-2026-10-30 — sudosubin/agents.nix0 reactions
- Oct 30, 2026kiro-powers.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-29 → 0-unstable-2026-10-30 — sudosubin/agents.nix0 reactions
- Oct 30, 2026copilot-plugins.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-29 → 0-unstable-2026-10-30 — sudosubin/agents.nix0 reactions
- Oct 30, 2026kiro-powers.github.aws.agent-toolkit-for-aws: bfe66d4 → 680822f — sudosubin/agents.nix0 reactions
- Oct 30, 2026copilot-plugins.github.aws.agent-toolkit-for-aws: 96a27f2 → 680822f — sudosubin/agents.nix0 reactions
- Oct 30, 2026agent-plugins.github.aws.agent-toolkit-for-aws: 96a27f2 → 680822f — sudosubin/agents.nix0 reactions
- Oct 30, 2026claude-code-plugins.github.aws.agent-toolkit-for-aws: 96a27f2 → 680822f — sudosubin/agents.nix0 reactions
- Oct 30, 2026agent-skills.github.aws.agent-toolkit-for-aws: 96a27f2 → 680822f — sudosubin/agents.nix0 reactions
- Oct 30, 2026claude-code-marketplaces.github.aws.agent-toolkit-for-aws: 96a27f2 → 680822f — sudosubin/agents.nix0 reactions
- Oct 30, 2026codex-marketplaces.github.aws.agent-toolkit-for-aws: 96a27f2 → 680822f — sudosubin/agents.nix0 reactions
- Oct 30, 2026codex-plugins.github.aws.agent-toolkit-for-aws: 96a27f2 → 680822f — sudosubin/agents.nix0 reactions
- Oct 29, 2026kiro-powers.github.aws.agent-toolkit-for-aws: 96a27f2 → bfe66d4 — sudosubin/agents.nix0 reactions
- Oct 29, 2026agent-plugins.github.aws.agent-toolkit-for-aws: 356c16a → 96a27f2 — sudosubin/agents.nix0 reactions
- Oct 29, 2026claude-code-plugins.github.aws.agent-toolkit-for-aws: 356c16a → 96a27f2 — sudosubin/agents.nix0 reactions
- Oct 29, 2026claude-code-marketplaces.github.aws.agent-toolkit-for-aws: c2c6b71 → 96a27f2 — sudosubin/agents.nix0 reactions
- Oct 29, 2026codex-marketplaces.github.aws.agent-toolkit-for-aws: c2c6b71 → 96a27f2 — sudosubin/agents.nix0 reactions
- Oct 29, 2026kiro-powers.github.aws.agent-toolkit-for-aws: c2c6b71 → 96a27f2 — sudosubin/agents.nix0 reactions
- Oct 29, 2026agent-skills.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-28 → 0-unstable-2026-10-29 — sudosubin/agents.nix0 reactions
- Oct 29, 2026copilot-plugins.github.aws.agent-toolkit-for-aws: 356c16a → 96a27f2 — sudosubin/agents.nix0 reactions
- Oct 29, 2026codex-plugins.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-28 → 0-unstable-2026-10-29 — sudosubin/agents.nix0 reactions
- Oct 29, 2026agent-plugins.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-28 → 0-unstable-2026-10-29 — sudosubin/agents.nix0 reactions
- Oct 29, 2026claude-code-plugins.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-28 → 0-unstable-2026-10-29 — sudosubin/agents.nix0 reactions
- Oct 29, 2026claude-code-marketplaces.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-28 → 0-unstable-2026-10-29 — sudosubin/agents.nix0 reactions
- Oct 29, 2026codex-marketplaces.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-28 → 0-unstable-2026-10-29 — sudosubin/agents.nix0 reactions
- Oct 29, 2026kiro-powers.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-28 → 0-unstable-2026-10-29 — sudosubin/agents.nix0 reactions
- Oct 29, 2026copilot-plugins.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-28 → 0-unstable-2026-10-29 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-marketplaces.github.aws.agent-toolkit-for-aws: init at 0-unstable-2026-10-28 — sudosubin/agents.nix0 reactions
- Oct 28, 2026codex-marketplaces.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-27 → 0-unstable-2026-10-28 — sudosubin/agents.nix0 reactions
- Oct 28, 2026codex-plugins.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-27 → 0-unstable-2026-10-28 — sudosubin/agents.nix0 reactions
- Oct 28, 2026agent-plugins.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-27 → 0-unstable-2026-10-28 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-plugins.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-27 → 0-unstable-2026-10-28 — sudosubin/agents.nix0 reactions
- Oct 28, 2026kiro-powers.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-27 → 0-unstable-2026-10-28 — sudosubin/agents.nix0 reactions
- Oct 28, 2026copilot-plugins.github.aws.agent-toolkit-for-aws: init at 0-unstable-2026-10-28 — sudosubin/agents.nix0 reactions
- Oct 28, 2026agent-skills.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-27 → 0-unstable-2026-10-28 — sudosubin/agents.nix0 reactions
- Oct 26, 2026[External Plugin]: aws-core — github/awesome-copilot0 reactions · 3 comments
- Oct 25, 2026🔥 GitHub Trending AI 早报 · 2026-10-25 · Top 8 项目 — happydog-intj/ai-xiaohongshu-daily0 reactions
On Bluesky · 4
- Jun 27, 2026AIエージェントがAWS環境の構築や運用を効率よく行うための公式ツールキットらしい ClaudeやCursorなどのエージェントに導入して開発を自動化するのが楽しみ yug1224 starred aws/agent-toolkit-for-aws… — @yug1224.com2 likes and reposts · 1 reply
- May 10, 2026GitHub - Webpage "GitHub - aws/agent-toolkit-for-aws: Official, AWS-supported MCP servers, skills, and plugins to help AI agents build on… — @librecanada.bsky.social2 likes and reposts
- Jun 27, 2026AIエージェントにAWSの操作や開発をサポートさせるためのツールキットらしい 実務でAIを活用してインフラ構築を効率化するのに使えそう yug1224 starred aws/agent-toolkit-for-aws… — @yug1224.com1 likes and repost
- May 8, 2026aws/agent-toolkit-for-aws: Official, AWS-supported MCP servers, skills, and plugins to help AI agents build on AWS #devopsish — @chrisshort.net0 likes and reposts · 1 reply
On Hacker News · 1
- Jun 8, 2026Agent Toolkit for AWS5 points
In this repository189 other files it gives its agents.
- analyzing-release-readinessSkill
- chatting-with-aws-devops-agentSkill
- coordinating-multi-space-devops-agentSkill
- diff-scanning-with-aws-security-agentSkill
- investigating-incidents-with-aws-devops-agentSkill
- pentesting-with-aws-security-agentSkill
- remediating-with-aws-security-agentSkill
- running-release-testsSkill
- scanning-with-aws-security-agentSkill
- setup-devops-agentSkill
- setup-security-agentSkill
- setupSkill
- threat-modeling-with-aws-security-agentSkill
- agents-buildSkill
- agents-connectSkill
- agents-debugSkill
- agents-deploySkill
- agents-get-startedSkill
- agents-hardenSkill
- agents-optimizeSkill
- agents-paySkill
- agents-paySkill
- amazon-bedrockSkill
- aws-ai-mlSkill
- aws-authSkill
- aws-billing-and-cost-managementSkill
- aws-blocksSkill
- aws-cdkSkill
- aws-cloudformationSkill
- aws-computeSkill
- aws-containersSkill
- aws-databaseSkill
- aws-deploymentSkill
- aws-iamSkill
- aws-messaging-and-streamingSkill
- aws-networkingSkill
- aws-observabilitySkill
- aws-sdk-js-v3-usageSkill
- aws-sdk-python-usageSkill
- aws-sdk-swift-usageSkill
- aws-secrets-managerSkill
- aws-securitySkill
- aws-serverlessSkill
- aws-storageSkill
- aws-well-architected-reviewSkill
- launch-with-awsSkill
- signing-in-to-awsSkill
- amazon-opensearch-serviceSkill
- authoring-mwaa-workflowSkill
- connecting-to-data-sourceSkill
- creating-data-lake-tableSkill
- debugging-mwaa-workflowSkill
- developing-applications-on-managed-service-for-apache-flinkSkill
- exploring-data-catalogSkill
- finding-data-lake-assetsSkill
- ingesting-into-data-lakeSkill
- managing-amazon-mskSkill
- migrate-to-mskSkill
- querying-data-lakeSkill
- redshift-guideSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

