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.
npx agentmods add agents/secondsky/claude-skills/s3-migration-plannergit clone --depth 1 https://github.com/secondsky/claude-skillsWrote 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.svg" alt="Measured on agentmods" 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.00053 | $0.01469 |
| Opus 5 | $0.00026 | $0.00734 |
| Sonnet 5 | $0.00011 | $0.00294 |
| Haiku 4.5 | $0.00005 | $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 2d 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.
- 2d 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 (214 stars, last pushed 2d ago), licensed MIT. It adds 53 tokens to every session and 1,469 once invoked, about $0.0003 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.
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
ユーザーが Confluence ページの情報取得を依頼したとき、または Confluence URL を言及したときに使用する。 Context: ユーザーが Confluence URL を共有 user: "https://example.atlassian.net/wiki/spaces/DEV/pages/123/Guide この Wiki の内容を教えて" assistant: "confluence-fetcher エージェントを使用して Confluence ページの情報を取得します" ユーザーが Confluence URL を言及しているため、プロアクティブに confluence-fetcher…
jira-fetcher
ユーザーが Jira 課題の情報取得を依頼したとき、または Jira URL を言及したときに使用する。 Context: ユーザーが Jira URL を共有 user: "https://example.atlassian.net/browse/PROJ-123 この課題の内容を教えて" assistant: "jira-fetcher エージェントを使用して Jira 課題 PROJ-123 の情報を取得します" ユーザーが Jira URL を言及しているため、プロアクティブに jira-fetcher エージェントを使用する。 Context: ユーザーが Jira 課題の取得を依頼 user: "PROJ-123…
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.
Demonstrate
Agent for demonstrating VS Code features.