Skip to main content
skill CX Codex

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.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add aj-geddes/useful-ai-prompts --skill aws-s3-management -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/aws-s3-management/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/aws-s3-management/

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

Similar skills

All skills for Cloud: AWS, Azure, GCP →

From the same set149

frontend-accessibility This skill adds WCAG guidelines to your coding workflow. It instructs agents to write semantic HTML, configure ARIA attributes, and support keyboard navigation. CX Codex +1 599installs design-patterns-implementation Guides the agent toward the right pattern for an architectural problem: Singleton, Factory, Observer, Strategy and more. Useful during refactoring or code review. CX Codex +1 595installs unit-testing-framework A skill that gives the agent rules for writing unit tests: Arrange-Act-Assert structure, mocks, edge cases. Useful when a function or class needs coverage. CX Codex +1 593installs database-schema-design Designs relational database schemas with normalization, constraints, and table relationships. Built for modeling data in PostgreSQL and MySQL. CX Codex +1 591installs Data Cleaning Pipeline Generates structured Python data preprocessing routines to clean missing values, strip invalid text, handle outliers, and validate data quality. CX Codex +1 589installs database-query-optimization A skill that walks your agent through slow SQL: execution plans, indexes, and where the time actually goes. Useful when the database drags. CX Codex +1 586installs database-backup-restore A coding assistant skill for backup and disaster recovery strategies. Use it when planning backups, testing restore procedures, or setting up automated backup jobs. CX Codex +1 582installs memory-leak-detection A skill for tracking down memory leaks: heap snapshots, profiling and the usual patterns behind growing memory use. CX Codex +1 580installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor