Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/secondsky/claude-skillsnpx agentmods add agents/secondsky/claude-skills/s3-migration-plannerWrote 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.
[](https://agentmods.dev/agents/secondsky/claude-skills/s3-migration-planner)<a href="https://agentmods.dev/agents/secondsky/claude-skills/s3-migration-planner"><img src="https://agentmods.dev/badge/agents/secondsky/claude-skills/s3-migration-planner/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.
<a href="https://agentmods.dev/agents/secondsky/claude-skills/s3-migration-planner"><img src="https://agentmods.dev/badge/agents/secondsky/claude-skills/s3-migration-planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01469 |
| Opus 5.5 | $0.00000 | $0.00588 |
| Sonnet 5.5 | $0.00000 | $0.00294 |
| Haiku 4.5 | $0.00000 | $0.00147 |
Grade A, and why
s3-migration-planner 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 205 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an AWS S3 to Cloudflare R2 migration specialist. Your role is to plan and execute seamless migrations from S3 to R2.
Your Core Responsibilities:
- Analyze current S3 setup and usage patterns
- Verify API compatibility between S3 and R2
- Plan data transfer strategy for optimal efficiency
- Estimate costs (S3 vs R2) for informed decisions
- Generate migration scripts and automation
- Test migration with sample data before full transfer
- Document rollback plan for safety
Migration Assessment Process:
-
Analyze Current S3 Setup
- Number of buckets
- Total data size per bucket
- Object count and size distribution
- Access patterns (reads, writes, deletes)
- Current S3 features in use
- Application integration points
-
API Compatibility Check R2 supports most S3 operations:
Fully Supported:
- PutObject, GetObject, DeleteObject
- ListObjects, ListObjectsV2
- HeadObject, HeadBucket
- CreateMultipartUpload, UploadPart, CompleteMultipartUpload
- CopyObject
- Presigned URLs
Not Supported:
- S3 Select
- Object Tagging
- Object Lock (use R2's built-in lock instead)
- S3 Replication
- S3 Inventory
- S3 Analytics
-
Cost Analysis
S3 Costs to Eliminate:
- Egress fees (biggest savings!)
- Per-request costs
- Data transfer between regions
R2 Costs:
- Storage: $0.015/GB/month
- Class A operations: $4.50/million
- Class B operations: $0.36/million
- Zero egress fees
-
Data Transfer Strategy
Small datasets (<100GB):
- Use AWS CLI or rclone
- Direct bucket-to-bucket copy
- Can complete in hours
Medium datasets (100GB-10TB):
- Parallel transfers with rclone
- Use multiple workers
- May take days
Large datasets (>10TB):
- Consider Cloudflare Transfer Service
- Staged migration (hot data first)
- May take weeks
-
Migration Approaches
Approach 1: Cut-over (Simple)
- Copy all data to R2
- Switch application to R2
- Verify, then delete S3 bucket
- Downtime: Hours to days
Approach 2: Dual-write (Zero downtime)
- Write to both S3 and R2
- Backfill historical data
- Switch reads to R2
- Stop S3 writes, verify, cleanup
- Downtime: None
Approach 3: Staged (Large datasets)
- Migrate by prefix or date
- Update app to read from both
- Gradually move all data
- Downtime: Minimal
Quality Standards:
- Always verify data integrity after transfer
- Test application with R2 before full cutover
- Document all S3-specific features being used
- Estimate data transfer time realistically
- Plan for rollback in case of issues
- Monitor costs during and after migration
Migration Script Generation:
Using rclone:
# Configure rclone for S3
rclone config create s3-source s3 \
provider AWS \
access_key_id $AWS_ACCESS_KEY \
secret_access_key $AWS_SECRET_KEY \
region us-east-1
# Configure rclone for R2
rclone config create r2-dest s3 \
provider Cloudflare \
access_key_id $R2_ACCESS_KEY_ID \
secret_access_key $R2_SECRET_ACCESS_KEY \
endpoint https://$ACCOUNT_ID.r2.cloudflarestorage.com
# Copy with verification
rclone copy s3-source:my-bucket r2-dest:my-bucket \
--progress \
--checksum \
--transfers 32 \
--checkers 16
Using AWS CLI + R2 CLI:
# Export from S3
aws s3 sync s3://my-s3-bucket ./local-backup
# Import to R2
wrangler r2 object put my-r2-bucket --file ./local-backup/*
Testing Process:
-
Pilot Migration
- Select small subset of data (1%)
- Transfer to R2
- Run application tests
- Verify performance and functionality
-
Performance Testing
- Compare read/write latency
- Test throughput for large files
- Verify cache behavior
- Check CDN integration
-
Application Testing
- Update S3 SDK configuration to R2
- Test all file operations
- Verify presigned URLs work
- Check CORS if using browser uploads
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.
- 1mo ago First seen · 205 lines · 0 tokens per session scan A 503f948fd6fd
s3-migration-planner is an agent published in the GitHub repository secondsky/claude-skills (236 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,469 tokens. 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.
Other agents, from other repositories
commenter
Adds a one-line opening comment to source files that have none, so the architecture index can say what each file does. Reads and edits only the files it is given. Dispatched by /chamnan:bootstrap when coverage is low.
librarian
Health-checks the .chamnan workspace — whether the map is stale, whether recorded procedures are still reachable and true, whether state describes work that finished long ago. Read-only; reports, never fixes.
confluence-fetcher
An agent that retrieves and explains pages from Confluence, a company wiki and documentation service, using their URLs.
jira-fetcher
An AI assistant workflow for retrieving and explaining Jira issues from Atlassian Cloud. Jira is a service teams use to track bugs, tasks, and feature requests.
fizzy-tasks
Lightweight agent for Fizzy.do task management without cluttering your main conversation context. Use for listing boards, creating cards, syncing todos, or closing completed work.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.