imgur_skill
- Shell
39
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill vm0-ai/vm0-skills --skill imgur- SKILL.md3.1 KB
Overview
This skill uploads images to Imgur for free, anonymous hosting and returns public URLs suitable for sharing or embedding. It supports local files, remote URLs, and base64 payloads and provides delete hashes so uploads can be removed later. Set an IMGUR_CLIENT_ID environment variable before use.
How this skill works
The skill calls Imgur's anonymous image API using your Client ID in the Authorization header. It can POST a file, a remote URL, or base64-encoded image data and parses the JSON response to extract the public link and deletehash. It also supports deleting images by sending the deletehash to Imgur's DELETE endpoint.
When to use it
- You need a quick public URL for an image without hosting infrastructure.
- Embed images in documentation, blog posts, or Markdown content.
- Share screenshots or assets when collaborating or filing issues.
- Host images for demos, prototypes, or temporary use without an account.
Best practices
- Set IMGUR_CLIENT_ID in your environment: export IMGUR_CLIENT_ID=your_client_id.
- Wrap curl commands in bash -c '...' when piping to avoid environment variable loss in certain shells.
- Store the returned data.deletehash if you may need to remove the image later.
- Include title or description form fields when appropriate to aid management in Imgur.
- Respect rate limits and monitor X-RateLimit-ClientRemaining header to avoid throttling.
Example use cases
- Upload a local screenshot for a bug report and paste the returned link into an issue tracker.
- Host images used inside a blog post or Markdown README by uploading and embedding the data.link URL.
- Upload a remote image URL to create a stable Imgur-hosted copy for embedding.
- Encode an image to base64 and upload when file transfer is constrained but inline data is available.
- Delete a previously uploaded image using the saved deletehash when the asset is no longer needed.
FAQ
No. Anonymous uploads are supported; you only need a Client ID from Imgur for the API.
How do I get a Client ID?
Register an app at https://api.imgur.com/oauth2/addclient and choose "OAuth 2 authorization without a callback URL" to obtain the Client ID.
What fields in the response are important?
Use data.link for the public URL and save data.deletehash if you may want to delete the image later.