image-fetch

Fetch remote images from URLs and prepare them for viewing in the Read tool.

Updated Feb 9, 2025
One-click install
npx skills add https://github.com/carter2099/.dotfiles-homelab --skill image-fetch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-fetch
Source: https://github.com/carter2099/.dotfiles-homelab/tree/main/.claude/skills/image-fetch
Command: npx skills add https://github.com/carter2099/.dotfiles-homelab --skill image-fetch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Downloading images from URLs can be cumbersome, especially when direct hosts block access. This Skill downloads the image to /tmp so it can be opened with the Read tool for quick viewing.

Core Features & Use Cases

  • Download an image from a URL to /tmp for immediate viewing.
  • Handle Imgur album/page URLs by resolving to a direct image URL.
  • Verify the downloaded content and display it via the Read tool for quick inspection.

Quick Start

Provide a URL to an image or Imgur page and let the tool download and display it in /tmp.

Frequently Asked Questions about image-fetch

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

FAQPage Schema
How do I view remote images from URLs that block direct access?

To view remote images from URLs that block direct access, this Skill downloads the content to a local /tmp directory using curl, resolving redirects and verifying file types so the image can be opened with the Read tool.

Can I download and view an Imgur album page using the Read tool?

Yes, you can download and view an Imgur album page using the Read tool because this Skill resolves Imgur album and page URLs to direct image links before downloading and displaying them.

How do I fetch an image from a URL and infer its file format?

To fetch an image from a URL and infer its file format, the Skill uses URL resolution and file-type verification to validate the downloaded content, ensuring it is properly prepared for viewing.

Does downloading images from direct links require curl?

Yes, downloading images from direct links requires curl, which the Skill uses to handle URL resolution, fetch the remote file, and save it to /tmp for immediate inspection.

What is the best way to display a remote image for quick inspection?

The best way to display a remote image for quick inspection is to download it to a local /tmp directory and open it with the Read tool, a process this Skill automates by handling redirects and verifying content.

Why does fetching an image fail when the host blocks direct access?

Fetching an image often fails when the host blocks direct access, but this Skill overcomes the limitation by using curl to resolve URLs, infer file formats, and download the valid image to /tmp for viewing.