upload-img

Upload local images to a GitHub repository and return a URL or Markdown snippet.

1|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/kssumin/claude-playground --skill upload-img
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: upload-img
Source: https://github.com/kssumin/claude-playground/tree/main/.claude/skills/upload-img
Command: npx skills add https://github.com/kssumin/claude-playground --skill upload-img

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Upload local images to a GitHub repository and obtain a direct raw URL or Markdown image reference, enabling seamless embedding in docs, issues, and READMEs.

Core Features & Use Cases

  • Uploads an image to a GitHub repository and returns a reusable URL or Markdown snippet for quick sharing.
  • Supports hosting in both public repositories and private repositories via the wiki-based workaround to maintain accessibility without exposing credentials.
  • Uses a dedicated script (scripts/upload-img.sh) to perform deterministic uploads with consistent save paths and helpful error messages.

Quick Start

Run the upload-img script with your image file to upload it and receive the GitHub URL.

Frequently Asked Questions about upload-img

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upload local images to a GitHub repository and get a direct raw URL?

You can automate uploading local images to a GitHub repository by running a dedicated script that returns a direct raw URL or Markdown snippet. This enables seamless image embedding in docs, issues, and READMEs without manual file transfers.

Can I use a private GitHub repository to host images and still get a public URL?

Yes, you can use a private GitHub repository to host images and return an accessible URL. The Skill supports private repos via a wiki-branch workaround, allowing direct raw URL usage or saving to a wiki repo for public sharing.

What GitHub token permissions are required to automate image uploads?

You need a GITHUB_TOKEN with Contents Read/Write permissions to authorize the script. This token allows the automated workflow to interact with your GitHub repository and perform deterministic image uploads with consistent save paths.

Does the image upload script return a Markdown image reference?

Yes, the image upload script returns a reusable Markdown image snippet alongside the direct raw URL. This enables quick sharing and seamless embedding of the uploaded local images directly into your docs, issues, and READMEs.

Why use a wiki repository for uploading images instead of a standard GitHub repository?

Uploading images to a wiki repository allows for public sharing and direct raw URL usage even when the main repository is private. The wiki-branch workaround ensures your hosted images remain accessible without exposing your private source code.