karanmrn/karanagentskills/attach-image

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Load an on-disk image (PNG, JPEG, GIF, WebP) into the model's context as a viewable attachment so the model can directly SEE it — for screenshots, diagrams, charts, photos, or scanned pages. Use this when you need to perceive an image's visual contents. Requires a vision-capable model; errors clearly otherwise.

Install

npx vskill@latest install karanmrn/karanagentskills/attach-image

SKILL.md

Attach Image

Load on-disk images into the model's context as multimodal attachments. The image is sent to the model the same way a pasted image is, so the model can actually look at it.

When to use this

  • The user points at an image file and wants you to look at it.
  • You need to read text, a chart, a diagram, or a layout from an image.
  • A screenshot needs visual interpretation.

When NOT to use this

For programmatic work on an image — measuring pixels, cropping, resizing, computing a hash, comparing files byte-by-byte — open it in the kernel with a library instead:

python
from PIL import Image
img = Image.open("diagram.png")
print(img.size)

That path does not put the image in the model's context; it only lets you compute over it. Use attach_image when you need to see the image.

Usage

Call the prepared attach_image import directly in the IPython kernel:

python
print(await attach_image("diagram.png"))
print(await attach_image("a.png", "b.jpg"))

The skill automatically resizes and compresses large images before loading them into context. Animated images that need compression are flattened to their first frame. Transparent images that need compression are composited onto a neutral gray background. Extremely large images are rejected by pixel count before full processing. The original file is left untouched.

Supported formats: PNG, JPEG, GIF, WebP. The skill errors if a file is not a supported image, or if the current model is not vision-capable.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/karanmrn/karanagentskills/attach-image/badge)](https://verified-skill.com/skills/karanmrn/karanagentskills/attach-image)

Something wrong with this skill or its page? Tell us.