processing-s3-uploads-with-step-functions

processing-s3-uploads-with-step-functions is a skill for Claude Code, Codex from aws/agent-toolkit-for-aws. It costs 118 tokens per session (3,952 once invoked), scanned A, original, Apache-2.0.

A guide to processing files uploaded to Amazon S3 by starting an AWS Step Functions workflow, a service that coordinates multi-step jobs. It sends small files to Lambda and larger files to an Amazon ECS Fargate container based on file size.

In plain words
What is it for?
Use it to trigger processing when objects arrive in S3, choose Lambda for files up to 6 MB or Fargate for larger files, and deploy the supporting EventBridge, VPC, ECR, ECS, and IAM resources.
Why use it?
It removes the need to manually route different uploads and assemble the event, networking, container, and permission setup required for the workflow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to trigger processing when objects arrive in S3, choose Lambda for files up to 6 MB or Fargate for larger files, and deploy the supporting EventBridge, VPC, ECR, ECS, and IAM resources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aws/agent-toolkit-for-aws/processing-s3-uploads-with-step-functions
About the project

Agent Toolkit for AWS is a collection of AWS-supported MCP servers, skills, plugins, commands, and hooks that help AI coding agents build, deploy, and manage applications on AWS. It is used by developers working with AWS services through agents such as Claude Code, Codex, Cursor, and Kiro. The catalogue entries are the toolkit's own agent extensions for AWS development and operations.

aws/agent-toolkit-for-aws · 2,569 stars · on GitHub

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.

Any agent
npx skills add aws/agent-toolkit-for-aws --skill processing-s3-uploads-with-step-functions
Clone the repo
git clone --depth 1 https://github.com/aws/agent-toolkit-for-aws

Made for: Claude Code, Codex.

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 processing-s3-uploads-with-step-functions

README.md
[![agentmods](https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/processing-s3-uploads-with-step-functions/github.svg)](https://agentmods.dev/skills/aws/agent-toolkit-for-aws/processing-s3-uploads-with-step-functions)
Your own site
<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/processing-s3-uploads-with-step-functions"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/processing-s3-uploads-with-step-functions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for processing-s3-uploads-with-step-functions

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/processing-s3-uploads-with-step-functions"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/processing-s3-uploads-with-step-functions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,952 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 4 Sept 2026
  • Snyk warn 4 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 285
    Data is uploaded to cloud storage (S3 / GCS / Azure Blob). This may be a legitimate backup or exfiltration to an external bucket. Manual review is recommended.
    Fix: Verify the destination bucket is trusted and owned by you. Never upload credentials, secrets, or workspace contents to external or unverified cloud storage.
How audits are shown
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.1 $0.00118 $0.03952
Opus 5 $0.00059 $0.01976
Sonnet 5 $0.00024 $0.00790
Haiku 4.5 $0.00012 $0.00395

Measured 6d ago against content hash fb4a1abdf1bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

processing-s3-uploads-with-step-functions 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 6d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/fargate_processor.py, scripts/lambda_function.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/specialized-skills/serverless-skills/processing-s3-uploads-with-step-functions/SKILL.md · 345 lines

How it starts

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

Step Functions Workflow: Route S3 Uploads to Lambda or Fargate

Overview

This skill deploys an event-driven workflow using AWS CLI. When a file is uploaded to an S3 bucket, EventBridge triggers a Step Functions state machine. The state machine checks the file size and routes processing to either a Lambda function (files ≤ 6 MB) or a Fargate task (files > 6 MB).

The architecture includes:

  • An S3 bucket with EventBridge notifications enabled
  • An EventBridge rule that triggers Step Functions on S3 object creation
  • A Step Functions state machine with a Choice state for routing
  • A Lambda function for processing small files
  • An ECS Fargate task for processing large files
  • A VPC with two subnets, internet gateway, and security group
  • An ECR repository for the Fargate container image
  • Scoped IAM roles for Lambda, Step Functions, and ECS tasks

Use this skill when:

  • You need to process S3 uploads with different compute based on file size
  • You want a serverless workflow that can handle both small and large files
  • You need Step Functions orchestration with Lambda and Fargate

Do not use this skill when:

  • All files are small enough for Lambda (use S3 → Lambda directly)
  • You need real-time streaming (use Kinesis)
  • You don't need file-size-based routing

Prerequisites

  1. AWS CLI v2 — Installed and configured. Verify with aws sts get-caller-identity.
  2. Python 3.12 — For the Lambda function runtime.
  3. Docker — For building and pushing the Fargate container image.

Parameters

  • bucket_name (required): Name for the S3 bucket (globally unique, lowercase, 3-63 characters)
  • region (required): AWS region for all resources
  • ecr_repo_name (required): Name for the ECR repository
  • state_machine_name (required): Name for the Step Functions state machine
  • kms_key_arn (optional): ARN of a KMS key for CloudWatch Logs encryption. If not provided, create one with aws kms create-key --description "Key for CloudWatch Logs encryption" --region {region}

Read the full file on GitHub · 345 lines

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. 6d ago First seen · 345 lines · 118 tokens per session scan A fb4a1abdf1bc

Subscribe to this mod's changes

processing-s3-uploads-with-step-functions is a skill published in the GitHub repository aws/agent-toolkit-for-aws (2,569 stars, last pushed yesterday), licensed Apache-2.0. It adds 118 tokens to every session and 3,952 once invoked, about $0.0006 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-09-03.

Related

Other skills, from other repositories

stripe-projects

Provision SaaS services + sync creds via Stripe Projects.

NousResearch/hermes-agent · 15 tokens

azure-eventhub-dotnet

Azure Event Hubs SDK for .NET. Use for high-throughput event streaming: sending events (EventHubProducerClient, EventHubBufferedProducerClient), receiving events (EventProcessorClient with checkpointing), partition management, and real-time data ingestion. Triggers: "Event Hubs", "event streaming"…

microsoft/skills · 94 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

wikipedia

Search and read Wikipedia via x wkp — MediaWiki API, no API key, zero install; query, extract, suggest, and DDG route in one module. Load for wiki, wikipedia, encyclopedia lookup, article summary.

x-cmd/x-cmd · 49 tokens

django-storages-s3

Use when configuring Django to store static and media files on AWS S3 with django-storages. Invoke when working with the STORAGES setting, S3 buckets, presigned URLs, CloudFront, or boto3-backed file storage in settings.py. Configures the Django 4.2+ STORAGES dict, public/private custom backends, presigned GET/POST…

Jeffallan/claude-skills · 138 tokens

cve

Look up CVE records via x cve — cached, zero-API-key, daily xz TSV. Load for cve, vulnerability id, kev, epss, nvd, cvelist, or security advisory.

x-cmd/x-cmd · 49 tokens