What problem it solves
GitHub has no API for uploading images from CLI tools. Agents building PRs and issues can't attach screenshots, diagrams, or mockups because  doesn't work — GitHub needs a hosted URL. Traditional image hosts (Imgur, Cloudinary) require API keys and account signup, which agents can't do autonomously.
Who uses this workflow
AI coding agents (Claude Code, Codex, Copilot) and developers who need to embed images in GitHub markdown from the terminal.
How it works
One curl command uploads an image to img402.dev and returns a public CDN URL. The skill then embeds that URL in PRs, issues, or comments via gh CLI. No account, no API key, no auth.
Tiers (free is the default; paid tiers use x402, no signup either way):
| Tier | Price | Max size | Retention |
|---|
| Free | $0 | 1 MB | 7 days |
| 1-year | $0.01 USDC | 5 MB | 1 year |
| Permanent | $1.00 USDC | 5 MB | Permanent |
Example
curl -s -X POST https://img402.dev/api/free -F image=@screenshot.png
# → {"url":"https://i.img402.dev/aBcDeFgHiJ.png", ...}
gh pr comment --body ""
Inspired by: github.com/cli/cli#1895 — long-standing request for image uploads in the GitHub CLI