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.
npx skills add moonlight-lupin/agent-skills --skill photo-editgit clone --depth 1 https://github.com/moonlight-lupin/agent-skillsWrote 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.
[](https://agentmods.dev/skills/moonlight-lupin/agent-skills/photo-edit)<a href="https://agentmods.dev/skills/moonlight-lupin/agent-skills/photo-edit"><img src="https://agentmods.dev/badge/skills/moonlight-lupin/agent-skills/photo-edit/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.
<a href="https://agentmods.dev/skills/moonlight-lupin/agent-skills/photo-edit"><img src="https://agentmods.dev/badge/skills/moonlight-lupin/agent-skills/photo-edit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00118 | $0.02963 |
| Opus 5.5 | $0.00047 | $0.01185 |
| Sonnet 5.5 | $0.00024 | $0.00593 |
| Haiku 4.5 | $0.00012 | $0.00296 |
Grade A, and why
photo-edit 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Photo Edit Skill
Overview
Basic photo editing that is measured, not guessed: exposure, white balance, tone, colour, straightening,
subject-aware reframing, resizing/sharpening for delivery, and frames (mats, polaroids, shaped cut-outs such
as hearts, circles, stars). Scripts do the maths and report numbers; vision_analyze supplies judgement in a
blind comparison; the user approves the result. Out of scope: RAW development, local retouching
(blemish/object removal, brushes), generative fills.
When to Use
The user asks to fix, improve, brighten, colour-correct, straighten, crop, reframe or resize a photo, prepare
it for Instagram/web/print, apply a look, or put it in a frame or a shape. Route elsewhere: new images,
generative edits (remove/replace objects, change content) and AI upscaling go to image-studio; finding
stock photos goes to pexels-stock-photos.
Prerequisites
- Python 3.9+ with
pip install -r ${HERMES_SKILL_DIR}/requirements.txt(Pillow, NumPy). On Windows runpythonwhere this file sayspython3. - Optional:
pip install pillow-heif(iPhone HEIC);pip install "opencv-python-headless<5"(face detection; OpenCV 5 dropped the detector used, so without 4.x people are found by saliency only). vision_analyze: native when the main model is multimodal, otherwise the auxiliary vision model. Itsregionargument crops at full resolution for 1:1 inspection. Without vision, stop after step 5 and send the comparison sheet to the user to judge.- Other agents:
${HERMES_SKILL_DIR}is this skill's folder;vision_analyzeis any tool that looks at an image file;[[as_document]]is Hermes-only and can be dropped.
How to Run
python3 ${HERMES_SKILL_DIR}/scripts/photo_analyze.py IN.jpg --scene SCENE --brief --overlay WORK/overlay.png
python3 ${HERMES_SKILL_DIR}/scripts/photo_edit.py IN.jpg -o WORK/OUT_v1.jpg --recipe WORK/recipe_v1.json --check WORK/check_v1.png
python3 ${HERMES_SKILL_DIR}/scripts/photo_compare.py IN.jpg WORK/OUT_v1.jpg -o WORK/blind_v1.png --blind --detail 0.5,0.4
What ships with it
20 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.
- examples/example-run.md 2.5 KB
- README.md 2.5 KB
- references/recipe.md 8.8 KB
- references/taste.md 5.0 KB
- references/vision-checks.md 3.2 KB
- requirements.txt 25 B
- scripts/photo_analyze.py 20 KB runs code
- scripts/photo_compare.py 6.1 KB runs code
- scripts/photo_core.py 9.4 KB runs code
- scripts/photo_edit.py 27 KB runs code
- scripts/photo_frames.py 21 KB runs code
- scripts/photo_subject.py 13 KB runs code
- templates/looks/bright-airy.json 272 B
- templates/looks/bw-classic.json 220 B
- templates/looks/clean-product.json 289 B
- templates/looks/moody.json 257 B
- templates/looks/natural.json 159 B
- templates/looks/warm-film.json 229 B
- tests/eval-scenarios.md 2.3 KB
- tests/test_photo_edit_skill.py 6.5 KB runs code
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.
- 5d ago First seen · 160 lines · 118 tokens per session scan A ca6394d79539
photo-edit is a skill published in the GitHub repository moonlight-lupin/agent-skills (136 stars, last pushed 2d ago), licensed MIT. It adds 118 tokens to every session and 2,963 once invoked, about $0.0005 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-26.
photo-edit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| photo-editmoonlight-lupin/agent-skills | Skill | 136 | 2d ago | MIT | A | 118 | Claude Code, Codex |
| product-description-generatornexscope-ai/eCommerce-Skills | Skill | 1.6k | 20d ago | MIT | A | 126 | Claude Code, Codex |
| tiktok-shop-cross-bordernexscope-ai/eCommerce-Skills | Skill | 1.6k | 20d ago | MIT | A | 55 | Claude Code, Codex |
| supply-chain-optimization-tiktoknexscope-ai/eCommerce-Skills | Skill | 1.6k | 20d ago | MIT | A | 57 | Claude Code, Codex |
| ecommerce-landing-pagenexscope-ai/eCommerce-Skills | Skill | 1.6k | 20d ago | MIT | A | 45 | Claude Code, Codex |
| product-title-optimizationnexscope-ai/eCommerce-Skills | Skill | 1.6k | 20d ago | MIT | A | 44 | Claude Code, Codex |
| walmart-listing-optimizationnexscope-ai/eCommerce-Skills | Skill | 1.6k | 20d ago | MIT | A | 35 | Claude Code, Codex |