aws-integration-testing

aws-integration-testing is a skill for Claude Code, Codex from whitewhiteqq/aws-test-plugin. It costs 147 tokens per session (1,738 once invoked), scanned A, original, Apache-2.0.

A guide for creating integration tests for Python programs that run on AWS, including Lambda functions and Batch jobs. It uses moto to imitate AWS services in tests and testcontainers for testing real databases such as PostgreSQL.

In plain words
What is it for?
Use it to test AWS handlers and services that read or write data, send messages, publish events, stream records, or handle AWS errors.
Why use it?
It removes much of the manual work of finding every AWS call and setting up matching test cases. This helps check behavior involving services such as S3, DynamoDB, queues, notifications, and event streams.

Skill for Claude CodeCodex

Part of the aws-test-plugin plugin — 6 skills, 1 agent shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/whitewhiteqq/aws-test-plugin/aws-integration-testing
Any agent
npx skills add whitewhiteqq/aws-test-plugin --skill aws-integration-testing
Clone the repo
git clone --depth 1 https://github.com/whitewhiteqq/aws-test-plugin

Made for: Claude Code, Codex.

Or install aws-test-plugin, the plugin that ships this one along with the rest of its 6 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aws-integration-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/whitewhiteqq/aws-test-plugin/aws-integration-testing.svg)](https://agentmods.dev/skills/whitewhiteqq/aws-test-plugin/aws-integration-testing)
Your own site
<a href="https://agentmods.dev/skills/whitewhiteqq/aws-test-plugin/aws-integration-testing"><img src="https://agentmods.dev/badge/skills/whitewhiteqq/aws-test-plugin/aws-integration-testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 147 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,738 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00147 $0.01738
Opus 5 $0.00073 $0.00869
Sonnet 5 $0.00029 $0.00348
Haiku 4.5 $0.00015 $0.00174

Measured 4d ago against content hash d80f468cf271, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

aws-integration-testing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/aws-integration-testing/SKILL.md · 203 lines

How it starts

The opening of the file, as written. The whole thing — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AWS Integration Testing Skill

Generate integration tests by reading handler code, identifying every AWS service interaction, and producing tests with correct moto mocks for each one.

How to Generate Integration Tests

Phase 1: Analyze AWS Interactions

Read the handler source code and find every AWS interaction:

# Look for these patterns in the handler:

# Direct client creation
client = boto3.client("s3")
resource = boto3.resource("dynamodb")
sqs = boto3.client("sqs")
sns = boto3.client("sns")
events = boto3.client("events")
kinesis = boto3.client("kinesis")

# Method calls on clients
client.get_object(Bucket=..., Key=...)
client.put_object(Bucket=..., Key=..., Body=...)
table.get_item(Key=...)
table.put_item(Item=...)
table.query(KeyConditionExpression=...)
sqs.send_message(QueueUrl=..., MessageBody=...)
sqs.send_message_batch(QueueUrl=..., Entries=...)
sns.publish(TopicArn=..., Message=...)
events.put_events(Entries=[...])
kinesis.put_record(StreamName=..., Data=..., PartitionKey=...)

# Error handling around AWS calls
try:
    client.get_object(...)
except ClientError as e:
    if e.response["Error"]["Code"] == "NoSuchKey":
        ...

Build a table of interactions:

Service Method Parameters Success Path Error Path
s3 get_object Bucket, Key Returns Body NoSuchKey → 404
s3 put_object Bucket, Key, Body Returns None AccessDenied → 403
dynamodb get_item Key Returns Item Item not found → None
sqs receive_message QueueUrl Returns Messages Timeout → empty
sns publish TopicArn, Message Returns MessageId InvalidParameter → 400
events put_events Entries FailedEntryCount=0 InternalFailure → retry
kinesis put_record StreamName, Data, PartitionKey Returns ShardId ProvisionedThroughputExceeded → 429

Phase 2: Generate moto-based Tests

Read the full file on GitHub · 203 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 203 lines · 147 tokens per session scan A d80f468cf271

Subscribe to this mod's changes

aws-integration-testing is a skill published in the GitHub repository whitewhiteqq/aws-test-plugin (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 147 tokens to every session and 1,738 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

behave-skill

Generates Behave BDD tests for Python with Gherkin feature files and step implementations. Use when user mentions "Behave", "Python BDD", "Python Gherkin". Triggers on: "Behave", "Python BDD", "behave test", "Python feature file".

LambdaTest/agent-skills · 66 tokens

run-python-tests

Run end-to-end Python tests after making changes to verify correctness. Use this when you want to verify your changes from an end-to-end perspective, after ensuring the build and Rust tests pass.

RediSearch/RediSearch · 42 tokens

write-flow-tests

Guidelines for writing Python flow tests (end-to-end behavioral tests). Use this when writing new Python tests in tests/pytests/, and as the review criteria when reviewing changes to them.

RediSearch/RediSearch · 42 tokens

qa-playwright-py-writer

Generate Playwright E2E tests for Python with async/sync API, pytest-playwright integration, POM pattern, and live browser record mode via Playwright MCP.

AZANIR/qa-skills · 42 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

pennylane

Hardware-agnostic quantum ML framework with automatic differentiation. Use when training quantum circuits via gradients, building hybrid quantum-classical models, or needing device portability across IBM/Google/Rigetti/IonQ. Best for variational algorithms (VQE, QAOA), quantum neural networks, and integration with…

K-Dense-AI/scientific-agent-skills · 98 tokens