photo-edit

photo-edit is a skill for Claude Code, Codex from moonlight-lupin/agent-skills. It costs 118 tokens per session (2,963 once invoked), scanned A, original, MIT.

A set of steps for editing an existing photo, including brightness, colour, tone, straightening, cropping, resizing, and frames. It works on the supplied image rather than creating a new scene.

In plain words
What is it for?
Use it to prepare photos for the web, print, or social media, correct exposure and colour, reframe a subject, or add a shaped frame.
Why use it?
It provides measured edits and keeps the user involved in approving the result. It does not cover removing objects, generative replacement, or RAW development.

Skill for Claude CodeCodex

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

Good fit Use it to prepare photos for the web, print, or social media, correct exposure and colour, reframe a subject, or add a shaped frame.

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

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 photo-edit

README.md
[![agentmods](https://agentmods.dev/badge/skills/moonlight-lupin/agent-skills/photo-edit/github.svg)](https://agentmods.dev/skills/moonlight-lupin/agent-skills/photo-edit)
Your own site
<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.

agentmods 80×15 button for photo-edit

Your own site · 80×15
<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>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,963 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.00118 $0.02963
Opus 5.5 $0.00047 $0.01185
Sonnet 5.5 $0.00024 $0.00593
Haiku 4.5 $0.00012 $0.00296

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

Security

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.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/photo_analyze.py, scripts/photo_compare.py, scripts/photo_core.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

creative/photo-edit/SKILL.md · 160 lines

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 run python where this file says python3.
  • 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. Its region argument 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_analyze is 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

Read the full file on GitHub · 160 lines

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. 5d ago First seen · 160 lines · 118 tokens per session scan A ca6394d79539

Subscribe to this mod's changes

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.

Related

photo-edit compared with skills from other repositories

photo-edit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
photo-editmoonlight-lupin/agent-skillsSkill1362d agoMITA118Claude Code, Codex
product-description-generatornexscope-ai/eCommerce-SkillsSkill1.6k20d agoMITA126Claude Code, Codex
tiktok-shop-cross-bordernexscope-ai/eCommerce-SkillsSkill1.6k20d agoMITA55Claude Code, Codex
supply-chain-optimization-tiktoknexscope-ai/eCommerce-SkillsSkill1.6k20d agoMITA57Claude Code, Codex
ecommerce-landing-pagenexscope-ai/eCommerce-SkillsSkill1.6k20d agoMITA45Claude Code, Codex
product-title-optimizationnexscope-ai/eCommerce-SkillsSkill1.6k20d agoMITA44Claude Code, Codex
walmart-listing-optimizationnexscope-ai/eCommerce-SkillsSkill1.6k20d agoMITA35Claude Code, Codex