Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
iamzifei avatar

Image Upload

  • 1 installs
  • 6 repo stars
  • Updated January 16, 2026
  • iamzifei/image-upload-skill

Uploads local images to hosting providers like Catbox, Imgur, and ImgBB and returns shareable URLs in URL, Markdown, HTML, and BBCode formats.

About

Uploads local images to hosting providers (Catbox by default, plus Imgur, ImgBB, Freeimage, and others) and returns shareable links in multiple formats. A developer uses it to get a public URL for a screenshot or diagram to embed in docs or share.

  • Uploads to Catbox by default with no config; supports Imgur, ImgBB, and more
  • Returns URL, Markdown, HTML, and BBCode formats

Image Upload by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #1,980 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
npx skills add https://github.com/iamzifei/image-upload-skill --skill image-upload

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars6
Last updatedJanuary 16, 2026
Repositoryiamzifei/image-upload-skill

What it does

Uploads local images to hosting providers like Catbox, Imgur, and ImgBB and returns shareable URLs in URL, Markdown, HTML, and BBCode formats.

Files

SKILL.mdMarkdownGitHub ↗

Image Upload Skill

Upload local images to various image hosting providers and get shareable URLs in multiple formats.

Quick Start

Just tell Claude to upload an image:

Upload this image: /path/to/screenshot.png

Claude will upload it to the default provider (Catbox) and return the URL.

Usage Examples

Basic Upload

Upload /tmp/screenshot.png

Upload with Custom Name

Upload /path/to/image.jpg as "my-screenshot"

Upload to Specific Provider

Upload /path/to/photo.png to imgur

Get Specific Format

Upload this image and give me the markdown: /path/to/diagram.png

Supported Providers

ProviderMax SizeConfig RequiredBest For
Catbox200MBNoDefault, anonymous, permanent
ImgBB32MBAPI KeyReliable, good API
Imgur20MBClient-IDPopular, widely supported
Freeimage64MBAPI KeyLarge files
ImgHippo50MBAPI KeyAlternative option
Weibo20MBCookiesChina users (legacy)

Configuration

No Configuration Required (Default)

Catbox.moe works out of the box without any API keys!

Optional: Configure Other Providers

Create a .env file in your project or ~/.claude/ directory:

# Use a different default provider
IMAGE_UPLOAD_PROVIDER=imgbb

# Provider API keys
IMGBB_API_KEY=your_key_here
IMGUR_CLIENT_ID=your_client_id
FREEIMAGE_API_KEY=your_key
IMGHIPPO_API_KEY=your_key

Output Formats

The skill returns URLs in multiple formats:

  • URL: Direct link to the image
  • Markdown: ![name](url) for documentation
  • HTML: <img src="url"> for web pages
  • BBCode: [IMG]url[/IMG] for forums

Programmatic Use

import { uploadImage } from 'image-upload';

const result = await uploadImage('/path/to/image.png', {
  provider: 'catbox',
  name: 'my-image'
});

console.log(result.url);           // https://files.catbox.moe/abc123.png
console.log(result.formatted.markdown); // ![my-image](https://...)

CLI Usage

# Install dependencies
cd image-upload && npm install

# Upload an image
npx tsx src/index.ts /path/to/image.png

# With options
npx tsx src/index.ts /path/to/image.png --provider imgur --name screenshot

Error Handling

The skill handles common errors gracefully:

  • File not found
  • File too large for provider
  • Unsupported file type
  • Network errors
  • Authentication failures

Notes

  • Catbox is the recommended default - no signup, no limits, permanent hosting
  • ImgBB and Imgur have daily rate limits but are more established
  • Weibo is legacy and not recommended for new projects
  • All uploads are anonymous unless you configure user accounts

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.