picgo

picgo is a skill for Claude Code, Codex from ithinkihaveacat/dotfiles. It costs 78 tokens per session (1,624 once invoked), scanned A, original, Apache-2.0.

A temporary store keeps the ten newest images and videos in one directory. Agents can receive items through MCP, a way for tools to exchange data, or through a phone-friendly web app and REST API, a standard way for programs to communicate over HTTP.

In plain words
What is it for?
Use it to upload media from a file, phone camera, or base64 data, then retrieve, list, or delete recent items.
Why use it?
It lets you hand a recent photo or short video to an agent without creating a URL or maintaining a permanent archive. Older items are discarded as new ones arrive.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to upload media from a file, phone camera, or base64 data, then retrieve, list, or delete recent items.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ithinkihaveacat/dotfiles/picgo
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 ithinkihaveacat/dotfiles --skill picgo
Clone the repo
git clone --depth 1 https://github.com/ithinkihaveacat/dotfiles

Made for: Claude Code, 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 picgo

README.md
[![agentmods](https://agentmods.dev/badge/skills/ithinkihaveacat/dotfiles/picgo/github.svg)](https://agentmods.dev/skills/ithinkihaveacat/dotfiles/picgo)
Your own site
<a href="https://agentmods.dev/skills/ithinkihaveacat/dotfiles/picgo"><img src="https://agentmods.dev/badge/skills/ithinkihaveacat/dotfiles/picgo/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 picgo

Your own site · 80×15
<a href="https://agentmods.dev/skills/ithinkihaveacat/dotfiles/picgo"><img src="https://agentmods.dev/badge/skills/ithinkihaveacat/dotfiles/picgo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,624 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.00078 $0.01624
Opus 5.5 $0.00031 $0.00650
Sonnet 5.5 $0.00016 $0.00325
Haiku 4.5 $0.00008 $0.00162

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

Security

Grade A, and why

picgo 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 15d 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/picgo/SKILL.md · 143 lines

How it starts

The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.

picgo

picgo is a small, disposable store for the ten most recent images and videos. It exists so that a photo taken on a phone, or an image already on disk, can be handed to an agent by asking it to "check the latest item in picgo", without a URL that the agent has to fetch and without a permanent archive.

The directory is the database: one file per item, newest ten kept. There is no index, no metadata file and no cleanup job. A single flock covers each write, its eviction and each read, so a reader never sees a half-written or half-deleted item, and concurrent uploads cannot leave eleven files.

Run it as picgo when bin/ is on PATH, otherwise as <skill-dir>/scripts/picgo.

Setup

  • The store is $PICGO_DIR, else $XDG_CACHE_HOME/picgo, else ~/.cache/picgo. It is disposable: deleting it loses the current ten items and nothing else.
  • PICGO_MAX_EDGE caps an image's long edge (default 2048 px).
  • PICGO_MAX_UPLOAD_BYTES rejects larger uploads (default 64 MiB).
  • PICGO_SERVER makes upload, get, list and delete use a remote server's REST API instead of the local store.

picgo doctor checks that the store is writable, reports the item count and whether HEIC support is loaded.

Uploading

picgo upload photo.jpg
picgo upload clip.mp4 screenshot.png
picgo upload --json photo.jpg          # item metadata as JSON

Images are normalised on ingest:

Input Stored as
JPEG, HEIC, HEIF, BMP, TIFF, AVIF JPEG, quality 85, progressive
PNG PNG, optimised
WebP WebP, quality 85
Animated GIF or WebP unchanged
Video unchanged

EXIF orientation is applied before resizing, and re-encoding drops the rest of the metadata, including GPS coordinates. The long edge is capped at 2048 px and the image is kept under about 2 MiB by stepping JPEG/WebP quality down; a very large PNG is halved once. Images are never upscaled.

Read the full file on GitHub · 143 lines

Files

What ships with it

7 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. 15d ago Changed · +2 lines 002aa44e0c47
  2. 17d ago Changed · +7 lines b5dc8b68d604
  3. 18d ago First seen · 134 lines · 78 tokens per session scan A fae8fd915ee4

Subscribe to this mod's changes

picgo is a skill published in the GitHub repository ithinkihaveacat/dotfiles (46 stars, last pushed today), licensed Apache-2.0. It adds 78 tokens to every session and 1,624 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-11-13.

Related

picgo compared with skills from other repositories

picgo next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
picgoithinkihaveacat/dotfilesSkill46todayApache-2.0A78Claude Code, Codex
aish-add-skillsAI-Shell-Team/aishSkill5905d agoApache-2.0A32Claude Code, Codex
diagnose_system_lagAI-Shell-Team/aishSkill5905d agoApache-2.0A78Claude Code
remote-fleet-opsAI-Shell-Team/aishSkill5905d agoApache-2.0A88Claude Code
devops-platform-engineeringAI-Shell-Team/aishSkill5905d agoApache-2.0A47Claude Code, Codex
dns-diagnoseAI-Shell-Team/aishSkill5905d agoApache-2.0A66Claude Code
devops-docker-patternsAI-Shell-Team/aishSkill5905d agoApache-2.0A43Claude Code, Codex