Upload local images in a blog post to S3 and replace paths with hosted URLs.
Usage
cd projects/2026_03_01_my-post
uv run ../../.claude/skills/image-upload/scripts/publish_prep.py .
What it does
Reads content/blog.md from the project directory
Finds all  markdown image references
Skips any that are already HTTP/HTTPS URLs
Uploads each local image to S3 with a random hex filename
Replaces the local path with the S3 URL in-place
Overwrites content/blog.md with the updated content
Requirements
AWS credentials configured in Settings (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION, S3_BUCKET)
These are automatically available as environment variables in the app's terminal
1---2name: image-upload3description: Image Upload4---56# /image-upload78Upload local images in a blog post to S3 and replace paths with hosted URLs.910## Usage1112```bash13cd projects/2026_03_01_my-post14uv run ../../.claude/skills/image-upload/scripts/publish_prep.py .15```1617## What it does18191. Reads `content/blog.md` from the project directory202. Finds all `` markdown image references213. Skips any that are already HTTP/HTTPS URLs224. Uploads each local image to S3 with a random hex filename235. Replaces the local path with the S3 URL in-place246. Overwrites `content/blog.md` with the updated content2526## Requirements2728- AWS credentials configured in Settings (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION, S3_BUCKET)29- These are automatically available as environment variables in the app's terminal
Run npx skillmds@latest add isaac-flath/image-upload in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Image Upload It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: executes scripts. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Isaac-Flath (@isaac-flath) published this skill. Their other Agent Skills are listed on their SkillMD profile.