/builder:s3-filesfrom builder
Share files through Amazon S3 without public buckets. Upload a local file and get a time-limited download link, mint pre-signed download URLs for objects already in S3, or generate a browser upload page so someone else can send you a file.
Ships in builder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Upload files to Amazon S3 and share them with time-limited pre-signed URLs. No bucket ever needs to be public.
cd <skill-dir>
npm install
cp config.example.json config.json # then set bucketName and region
AWS credentials come from the standard SDK chain (environment variables,
~/.aws/credentials, or instance/container role). The IAM policy you need is
in references/iam-policy.md.
If config.json is missing or incomplete, every script fails fast with a
plain-English message telling you what to fix. S3_FILES_CONFIG can point at
an alternate config file.
| Command | Purpose |
|---|---|
node scripts/upload.js <file-path> [s3-key] | Upload a file, get a download link |
node scripts/download-url.js <s3-key> [hours] | Pre-signed URL for an object already in S3 |
node scripts/generate-upload-page.js [max-size-mb] | Browser page so others can send you files |
node scripts/upload.js /path/to/report.pdf
Output: the S3 key, the friendly download filename, and a download URL that
expires after defaultExpirationHours (default 24).
Files are stored under a timestamp prefix (uploads/1700000000000-report.pdf)
so uploads never collide, and the download URL carries a Content-Disposition
header so the browser saves it as report.pdf (no timestamp visible).
Give an explicit key to control the layout: node scripts/upload.js a.pdf reports/q1/a.pdf. Keys are sanitized (no .. segments, unsafe characters
become _) and always kept under the configured keyPrefix.
node scripts/download-url.js uploads/1700000000000-report.pdf 48
hours is optional (default from config). Pre-signed URLs cannot outlive 7
days; larger values are clamped to that SigV4 limit instead of failing
cryptically.
node scripts/generate-upload-page.js 50 # allow up to 50 MB per file
Prints a page URL (valid 24h). Anyone opening it can upload files straight to
your bucket through pre-signed POST credentials embedded in the page (valid 1
hour). Every upload gets a unique key under uploads/incoming-<page-id>/, so
two people uploading at once never overwrite each other.
Only generate a page when asked: the URL is a bearer capability, anyone who
has it can upload. See references/security-notes.md.
const { uploadFile } = require('./scripts/upload.js');
const { generateDownloadUrl } = require('./scripts/download-url.js');
const { generateUploadPage } = require('./scripts/generate-upload-page.js');
const { key, downloadUrl } = await uploadFile('/path/to/file.pdf');
const { url } = await generateDownloadUrl(key, 24);
const { pageUrl } = await generateUploadPage(100);
Library functions are quiet and return data ({ url, key, fileName, expiresIn } etc.); the CLI wrappers print human-readable output. Pass
{ quiet: true } as the last argument to silence even the library.
config.json (see config.example.json):
{
"bucketName": "your-bucket-name",
"region": "us-east-1",
"defaultExpirationHours": 24,
"maxUploadSizeMB": 100,
"keyPrefix": "uploads"
}
maxUploadSizeMB applies to both direct uploads and upload pages
(generate-upload-page.js [max-size-mb] overrides it per page, capped at the
5 GB S3 POST limit).
npm test runs the unit tests for the key sanitizer, filename handling,
expiration clamping, and MIME map. They need no AWS credentials.
references/security-notes.md has the checklist).config.json not found — copy config.example.json to config.json and
fill in bucketName/region.AccessDenied — the credentials lack s3:PutObject/s3:GetObject on the
bucket; compare against references/iam-policy.md.NoSuchBucket — wrong bucket name or region in config.json.Storage ~$0.023/GB/month, PUTs ~$0.005/1000, GETs ~$0.0004/1000, first 100 GB/month of transfer out free. A few hundred shared files a month lands well under $1. Lifecycle rules keep storage from growing silently.
README.md (opens in a new tab)agents/openai.yaml (opens in a new tab)assets/config.example.json (opens in a new tab)assets/upload-page.html (opens in a new tab)references/iam-policy.md (opens in a new tab)references/security-notes.md (opens in a new tab)scripts/download-url.js (opens in a new tab)scripts/generate-upload-page.js (opens in a new tab)scripts/lib.js (opens in a new tab)scripts/package-lock.json (opens in a new tab)scripts/package.json (opens in a new tab)scripts/selftest.js (opens in a new tab)scripts/upload.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
43 skills in this plugin
/adrCreate and maintain Architecture Decision Records (ADRs). Use when the user proposes a significant architectural change, records a refactoring decision, resolves a technical debate, or asks to write, update, deprecate, or supersede an ADR./asd-ste100Use when English text must be parsed without a human to resolve ambiguity — tool descriptions, error messages, inter-agent instructions, system prompts, status reports — and misreading has a real cost, or when text reads as dense, hedged, or easy to misparse. Triggers: disambiguate, STE100 rewrite, apply Simplified Technical English, plain-language rewrite, controlled-language rewrite, rewrite so an agent cannot misread this. Not for creative or marketing copy./ast-grepnpx claudepluginhub thimslugga/agent-plugins --plugin builder