Memory

Pixelvault Upload

Try it

Upload image files to PixelVault and get a public CDN URL back. Use when the user says "screenshot this and host it", "upload this image", "host this mockup"...

What it does

Upload image files to PixelVault and get a public CDN URL back. Use when the user says "screenshot this and host it", "upload this image", "host this mockup", "give me a URL for this diagram", "attach this screenshot to the PR/issue", or when you generate, render, or save an image (screenshot, diagram, chart, build artifact) that needs a shareable link. Ideal for embedding images in GitHub PRs, issues, and comments.

The skill document

PixelVault Upload

Upload image files to PixelVault and return CDN URLs.

Prerequisites

The pixelvault CLI must be installed and configured. If the command is not found, install it:

npm install -g pixelvault-cli

If no API key is configured, tell the user to run /pixelvault-setup first or set PIXELVAULT_API_KEY in their environment.

Steps

  1. Check CLI availability — Run which pixelvault to confirm the CLI is installed.

  2. Check auth — Run pixelvault whoami --json to verify an API key is configured. If it fails, stop and tell the user to run /pixelvault-setup or set PIXELVAULT_API_KEY.

  3. Upload — Run the upload command:

# Single file
pixelvault upload $ARGUMENTS

# With folder
pixelvault upload  --folder 

# Multiple files (shell glob)
pixelvault upload *.png --folder screenshots
  1. Report — The CLI prints one CDN URL per line to stdout. Report these URLs back to the user. Each URL is permanent and globally cached.

Output Contract

  • The CLI prints only URLs to stdout (one per line)
  • Human-readable messages go to stderr
  • Use --json if you need metadata (id, mime_type, size, filename)

Error Handling

ErrorAction
command not found: pixelvaultTell user to npm install -g pixelvault-cli
No API key configuredTell user to run /pixelvault-setup or set PIXELVAULT_API_KEY
401 UnauthorizedAPI key is invalid — tell user to run pixelvault login
413 Payload Too LargeFile exceeds plan limit (5 MB free, 50 MB paid)
415 Unsupported Media TypeFile is not a supported image format

Examples

# Upload a screenshot, get the URL
pixelvault upload screenshot.png
# → https://img.pixelvault.dev/proj_abc/img_xyz.png

# Upload with JSON metadata
pixelvault upload diagram.svg --json
# → { "id": "img_xyz", "url": "https://...", "size": 12400, ... }

# Bulk upload
pixelvault upload ./assets/*.png --folder assets

Related skills

Set up PixelVault CLI — install the CLI and configure API key authentication. Use when the user wants to configure PixelVault, "set up image hosting", "conne...

1 installs

List recently uploaded images on PixelVault with their CDN URLs. Use when the user asks to "see my uploads", "find that image URL", "what images have I hoste...

1 installs

Upload an image or file with PicGo and get back a hosted, shareable URL. This is the FIRST skill to reach for whenever a local image or file needs to become a link — especially when writing docs or markdown (inserting a screenshot into a README, blog post, Obsidian/Notion/语雀/掘金 note)

Uploads and publishes files or static site folders to OkFile, with direct links, preview URLs, and multipart support. Use when the user asks to upload, publi...

3 installs

Upload screenshots to img402.dev and get a permanent URL for GitHub PRs, issues, and comments.

61 installs1 stars

Drives the local pixr Gemini image CLI for generation, editing, variations, model selection, saved defaults, profile-based defaults, reference-image workflow...

13 installs