# upload-photo

The upload-photo skill sends local images to Vercel Blob and returns public URLs. Use it for screenshots in PR comments, docs, or shared links.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 7523 repo stars
- Author: Devin-AXIS
- License: LicenseRef-Proprietary · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Devin-AXIS/iPolloWork/tree/HEAD/.opencode/skills/upload-photo/SKILL.md
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/upload-photo

## What it does

The skill runs the bundled `upload.mjs` script to send one or more local files to Vercel Blob. It prints a separate public URL for each upload. `--prefix` sets the pathname prefix, while `--stable` removes the random suffix so the resulting path stays deterministic.

The environment must contain `BLOB_READ_WRITE_TOKEN`. When the variable is missing, the token can be fetched with `get-env-var` through `infisical`. Returned URLs can be placed in Markdown with `![alt](url)` or in an HTML `<img>` element when a fixed width is needed.

The Blob store is public, so sensitive files must stay out. PNG, JPEG, and WebP are the preferred image formats. With `--stable`, an existing object can be overwritten because collision protection is disabled.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Devin-AXIS/iPolloWork --skill upload-photo -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/upload-photo/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/upload-photo/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Devin-AXIS/iPolloWork --skill upload-photo -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/upload-photo/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Devin-AXIS/iPolloWork --skill upload-photo -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/upload-photo/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Devin-AXIS/iPolloWork .opencode/skills/upload-photo
```

2. **Manually: put the files in place**
- File: `.github/skills/upload-photo/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Devin-AXIS/iPolloWork --skill upload-photo -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Devin-AXIS/iPolloWork --path .opencode/skills/upload-photo
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/upload-photo/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Devin-AXIS/iPolloWork/tree/HEAD/.opencode/skills/upload-photo/SKILL.md

## When to use it
- upload a local screenshot to Vercel Blob
- return a public URL for an image
- place an image in a PR comment
- embed a hosted file in Markdown
- keep an image path deterministic

## Example prompts
- Upload `screenshot.png` to Vercel Blob and return its public URL.
- Upload `hero.webp` and `logo.png` under the `docs/images` prefix.
- Upload `diagram.png` with a stable URL using `--stable`.

## Similar
- [cloudinary-react](https://affpapa.org/en/nevibecode/skills/cloudinary-react.md) — skill · 703 installs
- [github-image-upload](https://affpapa.org/en/nevibecode/skills/github-image-upload.md) — skill · 1200 installs
- [ai-generation-persistence](https://affpapa.org/en/nevibecode/skills/ai-generation-persistence.md) — skill · 5 installs
- [huawei-cloud-obs-upload](https://affpapa.org/en/nevibecode/skills/huawei-cloud-obs-upload.md) — skill · 18400 installs
- [photo-to-scanned-pdf](https://affpapa.org/en/nevibecode/skills/photo-to-scanned-pdf.md) — skill · 358 installs
- [immich-photo-manager](https://affpapa.org/en/nevibecode/skills/immich-photo-manager.md) — skill · 105 installs

From the same set: [devin-axis/ipollowork](https://affpapa.org/en/nevibecode/by/devin-axis/ipollowork.md) — 42 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
