Agent skill
aws-sqs
Manage AWS SQS queues -- send, receive, and manage messages.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/aws-sqs
Metadata
Additional technical details for this skill
- thinkfleetbot
-
{ "emoji": "\ud83d\udce8", "requires": { "env": [ "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY" ], "bins": [ "aws", "jq" ] } }
SKILL.md
AWS SQS
Manage SQS queues and messages.
List queues
aws sqs list-queues --output table
Get queue attributes
aws sqs get-queue-attributes --queue-url "$SQS_QUEUE_URL" --attribute-names All | jq '.Attributes | {Messages: .ApproximateNumberOfMessages, InFlight: .ApproximateNumberOfMessagesNotVisible, Delayed: .ApproximateNumberOfMessagesDelayed, Visibility: .VisibilityTimeout, Retention: .MessageRetentionPeriod}'
Send message
aws sqs send-message --queue-url "$SQS_QUEUE_URL" \
--message-body '{"event":"deploy","version":"1.2.3"}' | jq '{MessageId, MD5OfMessageBody}'
Receive messages
aws sqs receive-message --queue-url "$SQS_QUEUE_URL" \
--max-number-of-messages 5 --wait-time-seconds 5 | jq '.Messages[]? | {MessageId, Body}'
Delete message
aws sqs delete-message --queue-url "$SQS_QUEUE_URL" \
--receipt-handle "RECEIPT_HANDLE_HERE"
echo "Message deleted"
Purge queue
aws sqs purge-queue --queue-url "$SQS_QUEUE_URL"
echo "Queue purged"
Get queue URL by name
aws sqs get-queue-url --queue-name my-queue | jq -r '.QueueUrl'
Notes
- Messages must be explicitly deleted after processing.
purge-queueis irreversible and has a 60-second cooldown.- Always confirm before purging queues or sending messages.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?