aws-s3-management — Claude Code skill for S3 setup
Configure Amazon S3 buckets with versioning, encryption, access controls, lifecycle rules, and replication. Useful for object storage, backups, and static-site hosting.
npx skills add aj-geddes/useful-ai-prompts --skill aws-s3-management -a claude-codeWhat aws-s3-management does
This skill guides Amazon S3 configuration with AWS CLI. Its quick-start example creates a bucket, enables versioning, blocks public access, and applies AES256 server-side encryption. The guidance also covers bucket policies, logging, MFA Delete, and replication across regions.
The references/ directory contains guides for bucket setup, lifecycle rules, Terraform configuration, and presigned URLs. These can inform setups for backups, application assets, and analytics. Review access policies carefully: an overly permissive policy or a public bucket puts stored data at risk.
What it helps with
- create an S3 bucket with AWS CLI
- turn on object versioning
- prevent public access to a bucket
- configure encryption and lifecycle rules
- set up access with presigned URLs
Example prompts for the agent
- Configure an S3 bucket for backups with versioning, encryption, and public access blocked.
- Plan the bucket settings for hosting a static site on S3.
- Show me how to set S3 lifecycle rules and grant access with presigned URLs.
How to install aws-s3-management
1Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill aws-s3-management -a claude-code2Manually: put the files in place
~/.claude/skills/aws-s3-management/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/aws-s3-management/
1Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill aws-s3-management -a codex2Manually: put the files in place
.agents/skills/aws-s3-management/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill aws-s3-management -a cursor2Manually: put the files in place
.cursor/skills/aws-s3-management/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install aj-geddes/useful-ai-prompts aws-s3-management2Manually: put the files in place
.github/skills/aws-s3-management/SKILL.md1Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill aws-s3-management -a gemini-cli2Platform CLI
gemini skills install https://github.com/aj-geddes/useful-ai-prompts --path skills/aws-s3-managementManually: put the files in place
.devin/skills/aws-s3-management/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill aws-s3-management -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about aws-s3-management
How do I install aws-s3-management in Claude Code?
Run npx skills add aj-geddes/useful-ai-prompts --skill aws-s3-management -a claude-code. The skill file is located at ~/.claude/skills/aws-s3-management/SKILL.md.
What does aws-s3-management do?
It helps configure Amazon S3 buckets, including versioning, encryption, public access controls, lifecycle policies, and cross-region replication. It includes guidance for AWS CLI and Terraform.
What reference guides come with aws-s3-management?
The guides cover bucket creation with AWS CLI, lifecycle policy setup, Terraform configuration, and access through presigned URLs.
Source text
SKILL.md · MIT
---
name: aws-s3-management
description: >
Manage S3 buckets with versioning, encryption, access control, lifecycle
policies, and replication. Use for object storage, static sites, and data
lakes.
---
# AWS S3 Management
## Table of Contents
- [Overview](#overview)
- [When to Use](#when-to-use)
- [Quick Start](#quick-start)
- [Reference Guides](#reference-guides)
- [Best Practices](#best-practices)
## Overview
Amazon S3 provides secure, durable, and highly scalable object storage. Manage buckets with encryption, versioning, access controls, lifecycle policies, and cross-region replication for reliable data storage and retrieval.
## When to Use
- Static website hosting
- Data backup and archival
- Media library and CDN origin
- Data lake and analytics
- Log storage and analysis
- Application asset storage
- Disaster recovery
- Data sharing and collaboration
## Quick Start
Minimal working example:
```bash
# Create bucket
aws s3api create-bucket \
--bucket my-app-bucket-$(date +%s) \
--region us-east-1
# Enable versioning
aws s3api put-bucket-versioning \
--bucket my-app-bucket \
--versioning-configuration Status=Enabled
# Block public access
aws s3api put-public-access-block \
--bucket my-app-bucket \
--public-access-block-configuration \
BlockPublicAcls=true,IgnorePublicAcls=true,\
BlockPublicPolicy=true,RestrictPublicBuckets=true
# Enable encryption
aws s3api put-bucket-encryption \
--bucket my-app-bucket \
--server-side-encryption-configuration '{
"Rules": [{
"ApplyServerSideEncryptionByDefault": {
"SSEAlgorithm": "AES256"
}
// ... (see reference guides for full implementation)
```
## Reference Guides
Detailed implementations in the `references/` directory:
| Guide | Contents |
|---|---|
| [S3 Bucket Creation and Configuration with AWS CLI](references/s3-bucket-creation-and-configuration-with-aws-cli.md) | S3 Bucket Creation and Configuration with AWS CLI |
| [S3 Lifecycle Policy Configuration](references/s3-lifecycle-policy-configuration.md) | S3 Lifecycle Policy Configuration |
| [Terraform S3 Configuration](references/terraform-s3-configuration.md) | Terraform S3 Configuration |
| [S3 Access with Presigned URLs](references/s3-access-with-presigned-urls.md) | S3 Access with Presigned URLs |
## Best Practices
### ✅ DO
- Enable versioning for important data
- Use server-side encryption
- Block public access by default
- Implement lifecycle policies
- Enable logging and monitoring
- Use bucket policies for access control
- Enable MFA delete for critical buckets
- Use IAM roles instead of access keys
- Implement cross-region replication
### ❌ DON'T
- Make buckets publicly accessible
- Store sensitive credentials
- Ignore CloudTrail logging
- Use overly permissive policies
- Forget to set lifecycle rules
- Ignore encryption requirements
© aj-geddes · MIT · aj-geddes/useful-ai-prompts