imgur-cli for Openclaw

A powerful command-line interface for the Imgur API designed to provide AI agents with robust image hosting and album management capabilities.

chloepark85
v0.1.0
Apr 23, 2026
0
665
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install imgur-cli

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install imgur-cli using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is imgur-cli?

The imgur-cli skill acts as a crucial media management layer for autonomous agents and developer workflows. By leveraging this Openclaw Skills component, developers can programmatically handle image uploads, metadata retrieval, and album organization without manual intervention. It bridges the gap between local image generation and public web accessibility, making it an indispensable tool for agents interacting with image-heavy platforms like Reddit or Discord.

Designed for speed and reliability, this skill provides a clean abstraction over the Imgur v3 API. Whether you are running an automated pipeline that requires temporary image storage or building a long-term archive within user albums, this tool ensures that your media assets are accessible and manageable through a simple CLI interface.

imgur-cli Use Cases

  • Hosting images generated by AI models for social media distribution.
  • Generating public URLs for local file assets in developer pipelines.
  • Automating the creation of private or public image albums for project documentation.
  • Temporary media hosting with automated cleanup using delete-hashes.

How imgur-cli Works

  1. Provide credentials via environment variables for either anonymous or authenticated access.
  2. Invoke the CLI with an image source (local path or URL) to initiate the Imgur v3 API request.
  3. Capture the resulting JSON payload containing the public link and management tokens.
  4. Optionally associate the image with a new or existing album for structured organization.
  5. Integrate the resulting URLs into other Openclaw Skills to complete cross-platform workflows.

imgur-cli Setup

To begin using this tool within the Openclaw Skills ecosystem, install the package via pip:

pip install -e .

Next, set your authentication credentials in your environment:

# For anonymous usage
export IMGUR_CLIENT_ID="your_id_here"

# For account-linked usage
export IMGUR_ACCESS_TOKEN="your_token_here"

imgur-cli Data Schema & Taxonomy

The skill returns standard Imgur API data objects in JSON format. Key fields include:

Key Description
id The unique alphanumeric identifier for the image or album
link The publicly accessible URL of the hosted image
deletehash The secret key used to remove the image (required for anonymous deletion)
title Optional title for the image or album resource
description Optional metadata text for the uploaded image

imgur-cli Advanced Features

  • Seamless integration with downstream Openclaw Skills for automated social media posting.
  • Flexible privacy settings for album creation including public, hidden, and secret modes.
  • Support for bulk image association during the album creation process.
  • High-performance JSON output optimized for CLI piping and agentic automation scripts.
  • Native support for both local file system paths and remote web URLs as upload sources.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*