imgur-cli

Upload and delete Imgur images via the local imgur CLI.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/CHENyiru3/AI-Skills-Collections --skill imgur-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imgur-cli
Source: https://github.com/CHENyiru3/AI-Skills-Collections/tree/main/skills-market/documents/media/imgur-cli
Command: npx skills add https://github.com/CHENyiru3/AI-Skills-Collections --skill imgur-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Upload or delete images through the locally installed imgur command from @rasch/imgur-cli. Use when the user wants to send a local image file or remote image URL to Imgur, retrieve the public link plus deletehash, remove a prior upload by deletehash, or verify/troubleshoot the local Imgur CLI installation.

Core Features & Use Cases

  • Upload local image files or remote image URLs to Imgur and receive a public link and deletehash.
  • Delete a previous upload using its deletehash to reclaim storage.
  • Verify the local Imgur CLI installation and usage workflow during setup.

Quick Start

Use the local imgur CLI to upload an image or delete a previous upload by its deletehash.

Frequently Asked Questions about imgur-cli

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

FAQPage Schema
How do I upload a local image file to Imgur and get a public link?

To upload a local image file to Imgur, use the local imgur CLI to send the file, which returns a public link and a deletehash for later management. The CLI requires the IMGUR_CLIENTID environment variable to be set for authentication.

Can I delete a previous Imgur upload from the command line?

Yes, you can delete a previous Imgur upload from the command line by passing its deletehash to the local imgur CLI. This removes the hosted image and reclaims the associated storage using the stored deletehash value.

Do I need an IMGUR_CLIENTID environment variable to use the imgur CLI?

Yes, the IMGUR_CLIENTID environment variable is required for the local imgur CLI to authenticate and execute image uploads or deletions. Configuring this environment variable ensures predictable, text-based CLI outputs for your workflow.

What is a deletehash and when do I need it for image hosting?

A deletehash is a unique token returned by Imgur after an image upload that allows you to remove the hosted file later. You need the deletehash when you want to delete a prior upload and reclaim storage via the local imgur CLI.

Can I upload remote image URLs to Imgur or only local files?

You can upload both local image files and remote image URLs to Imgur using the local imgur CLI. Both methods retrieve a public link and a deletehash, enabling you to share local assets or remote URLs predictably.

How do I verify my local Imgur CLI installation is working correctly?

To verify your local Imgur CLI installation, run a test upload of a local image or remote URL and check for a returned public link and deletehash. This confirms the CLI and IMGUR_CLIENTID environment variable are configured correctly.