s3-uploader

Upload files to S3 and invalidate CloudFront caches.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/treenod-IDQ/treenod-market --skill s3-uploader
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: s3-uploader
Source: https://github.com/treenod-IDQ/treenod-market/tree/main/plugins/util/skills/s3-uploader
Command: npx skills add https://github.com/treenod-IDQ/treenod-market --skill s3-uploader

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires boto3, botocore, and includes scripts (resource) components.

What problem does it solve?

Uploads files to S3 and optionally invalidates CloudFront caches to ensure fresh content, saving time dealing with deployment delays and broken links.

Core Features & Use Cases

  • Upload files (HTML, CSS, JS, images) to a designated S3 bucket and path
  • Invalidate CloudFront caches on demand
  • Generate public URLs for uploaded assets and support auto-naming for consistent versions
  • Cross-platform and resilient: auto-installs boto3 if missing, loads AWS credentials from Claude Code settings or environment, and supports configurable bucket/prefix/distribution

Quick Start

Run the uploader to push a local file to your S3 bucket and optionally invalidate the CloudFront cache.

Frequently Asked Questions about s3-uploader

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upload files to S3 and invalidate the CloudFront cache automatically?

You can automate uploading files to S3 and invalidating CloudFront caches by using a script that handles both actions in sequence, ensuring fresh content is served immediately after deployment.

What's the best way to deploy static assets like HTML, CSS, and JS to S3?

Deploying static assets to S3 is best handled by an automation script that uploads files to a configurable bucket and prefix, then generates public URLs for quick publishing.

Do I need to install boto3 manually before uploading to S3?

No, you do not need to install boto3 manually. The automation handles dependency resolution by automatically installing boto3 if it is missing from your environment.

Can I load AWS credentials from environment variables for S3 uploads?

Yes, you can load AWS credentials from environment variables or Claude Code settings. The uploader supports both methods to authenticate S3 and CloudFront API requests.

Why does my uploaded S3 content not update on the website immediately?

Your uploaded S3 content may not update immediately because CloudFront caches old versions. On-demand cache invalidation clears the cached objects, ensuring visitors see the latest files.

How do I generate public URLs after uploading files to an S3 bucket?

Generating public URLs after uploading files to an S3 bucket is handled automatically by the uploader, which creates accessible links for your deployed HTML, CSS, JS, and image assets.