Uploads images to image hosting services (supports sm.ms, Imgur, and GitHub + jsDelivr CDN). Use this skill when the user wants to upload a local image file to the web and get a public URL.
A CLI tool to upload images to sm.ms, Imgur, and GitHub (with jsDelivr CDN).
pip install -r requirements.txt
Edit config.json with your credentials:
{
"default_provider": "smms",
"smms_token": "YOUR_SMMS_TOKEN",
"imgur_client_id": "YOUR_IMGUR_CLIENT_ID",
"github_token": "YOUR_GITHUB_TOKEN",
"github_owner": "YOUR_GITHUB_USERNAME",
"github_repo": "YOUR_IMAGE_REPO_NAME",
"github_path": "images",
"github_branch": "main",
"github_cdn": "jsdelivr"
}
Alternatively, use environment variables:
SMMS_TOKEN — sm.ms API tokenIMGUR_CLIENT_ID — Imgur client IDIMAGE_UPLOADER_GITHUB_TOKEN — GitHub personal access tokenIMAGE_UPLOADER_GITHUB_OWNER — GitHub username / orgIMAGE_UPLOADER_GITHUB_REPO — GitHub repository nameIMAGE_UPLOADER_GITHUB_CDN — CDN domain (jsdelivr or china)IMAGE_UPLOADER_PROVIDER — default provider (smms, imgur, or github)The github_cdn field controls the CDN domain used in returned URLs:
"jsdelivr" — cdn.jsdelivr.net (default, international)"china" — jsd.cdn.zzko.cn (China mirror)# Upload to sm.ms (default)
python3 image_uploader.py /path/to/image.png
# Upload to Imgur
python3 image_uploader.py /path/to/image.png --provider imgur
# Upload to GitHub (jsDelivr CDN)
python3 image_uploader.py /path/to/image.png --provider github
# With explicit token
python3 image_uploader.py /path/to/image.png --token YOUR_TOKEN
# Imgur with env var
IMGUR_CLIENT_ID="your_id" python3 image_uploader.py image.png --provider imgur
# GitHub with env vars
IMAGE_UPLOADER_GITHUB_TOKEN="tok" IMAGE_UPLOADER_GITHUB_OWNER="user" IMAGE_UPLOADER_GITHUB_REPO="imgs" python3 image_uploader.py image.png --provider github
npx skills add crossoverJie/image-uploader下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer