imgur-cli

imgur-cli is a skill for Codex from CHENyiru3/AI-Skills-Collections. It costs 74 tokens per session (462 once invoked), scanned A, original, MIT.

A command-line tool for uploading images to Imgur, a service that hosts images and provides public links. It can also remove an earlier upload when given its deletion key.

In plain words
What is it for?
It is for uploading local image files or remote image URLs, sharing the resulting Imgur link, deleting uploads, and checking or troubleshooting the local command-line installation.
Why use it?
It avoids manually opening a website to upload a local image or image URL. It returns both the shareable link and the key needed to delete the upload later.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit It is for uploading local image files or remote image URLs, sharing the resulting Imgur link, deleting uploads, and checking or troubleshooting the local command-line installation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chenyiru3/ai-skills-collections/imgur-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CHENyiru3/AI-Skills-Collections --skill imgur-cli
Clone the repo
git clone --depth 1 https://github.com/CHENyiru3/AI-Skills-Collections

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for imgur-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/imgur-cli/github.svg)](https://agentmods.dev/skills/chenyiru3/ai-skills-collections/imgur-cli)
Your own site
<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/imgur-cli"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/imgur-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for imgur-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/imgur-cli"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/imgur-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 462 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.00462
Opus 5.5 $0.00030 $0.00185
Sonnet 5.5 $0.00015 $0.00092
Haiku 4.5 $0.00007 $0.00046

Measured 6d ago against content hash 9d9a898c49e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

imgur-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills-market/documents/media/imgur-cli/SKILL.md · 63 lines

What it actually says

imgur-cli

Use the local binary at ~/.local/bin/imgur.

First Check

Before using the tool:

command -v imgur
imgur --help

If imgur is missing from PATH, use the absolute path:

$HOME/.local/bin/imgur --help

Core Commands

imgur <url|path>
imgur del <deletehash>

The CLI prints plain text, not JSON. Successful uploads print the public Imgur link and then deletehash: <value>.

Workflow

Prefer this sequence:

  1. Check that the input is either a reachable image URL or an existing local file.
  2. Run imgur <url|path>.
  3. Return both the Imgur link and the deletehash to the user.
  4. Tell the user to keep the deletehash if they may want to remove the upload later.
  5. For deletion requests, run imgur del <deletehash> and confirm the success message.

Authentication

The upstream CLI ships with a default anonymous Imgur client ID. Override it when needed:

IMGUR_CLIENTID=<client-id> imgur path/to/image.png

If uploads fail with authorization or rate-limit issues, retry with an explicit IMGUR_CLIENTID.

Behavior From Source

  • Local files are base64-encoded before upload.
  • Remote URLs are sent directly to Imgur as the image field.
  • Deletes call Imgur using the deletehash, not the public URL.
  • Missing files fail fast with Error: File "<path>" does not exist.

Read repo-summary.md only when you need implementation details or want to debug behavior against the upstream repository.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 63 lines · 74 tokens per session scan A 9d9a898c49e4

Subscribe to this mod's changes

imgur-cli is a skill published in the GitHub repository CHENyiru3/AI-Skills-Collections (1 stars, last pushed 7d ago), licensed MIT. It adds 74 tokens to every session and 462 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Optimize the meaningful UI available immediately from a Next.js route on an initial load (hard navigation) or named client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route and entry point at a time; the shipped test then guards…

vercel/next.js · 123 tokens