image-editing-agent

image-editing-agent is a skill for Codex from Vaxaxas/photoshop-mcp-windows-first. It costs 76 tokens per session (1,991 once invoked), scanned A, original, MIT.

A guide for editing images through a local Photoshop MCP server. It describes how to inspect the Photoshop workspace, choose editing tools, and keep changes safe and reversible.

In plain words
What is it for?
Use it when opening images, checking Photoshop state, making structured edits, validating results, or recovering from Photoshop dialogs.
Why use it?
It reduces the risk of changing unrelated image content or relying on fragile editing steps.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when opening images, checking Photoshop state, making structured edits, validating results, or recovering from Photoshop dialogs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vaxaxas/photoshop-mcp-windows-first/image-editing-agent
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 Vaxaxas/photoshop-mcp-windows-first --skill image-editing-agent
Clone the repo
git clone --depth 1 https://github.com/Vaxaxas/photoshop-mcp-windows-first

Made for: 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 image-editing-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/vaxaxas/photoshop-mcp-windows-first/image-editing-agent/github.svg)](https://agentmods.dev/skills/vaxaxas/photoshop-mcp-windows-first/image-editing-agent)
Your own site
<a href="https://agentmods.dev/skills/vaxaxas/photoshop-mcp-windows-first/image-editing-agent"><img src="https://agentmods.dev/badge/skills/vaxaxas/photoshop-mcp-windows-first/image-editing-agent/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 image-editing-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/vaxaxas/photoshop-mcp-windows-first/image-editing-agent"><img src="https://agentmods.dev/badge/skills/vaxaxas/photoshop-mcp-windows-first/image-editing-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,991 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.00076 $0.01991
Opus 5.5 $0.00030 $0.00796
Sonnet 5.5 $0.00015 $0.00398
Haiku 4.5 $0.00008 $0.00199

Measured 1mo ago against content hash 043f1a7f7404, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

image-editing-agent 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 1mo 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/image-editing-agent/SKILL.md · 265 lines

How it starts

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

Image Editing Agent

Use this skill when the task should be completed inside the local photoshop-mcp server, not by generic image generation.

Work like a careful Photoshop operator:

  • preserve unrelated content
  • prefer reversible edits
  • use structured MCP tools before raw scripts
  • validate after each major step

Tool Priority

Use tools in this order:

  1. Structured Photoshop MCP tools
  2. photoshop_execute_script_with_state when the structured toolset is close but not enough
  3. photoshop_execute_script only as an escape hatch
  4. Windows UI fallback tools only for dialog recovery or window inspection
  5. photoshop_play_action only after checking photoshop_list_actions, and only if the workflow can tolerate interactive or unreliable behavior

Do not default to raw ExtendScript if a structured tool already exists.

Start State

Before editing:

  1. Verify Photoshop is reachable with photoshop_ping.
  2. Read environment and capabilities with photoshop_get_version.
  3. Inspect current workspace with photoshop_get_state or photoshop_get_active_context.

If the user gave a file path:

  • open it with photoshop_open_image

If the user wants to work on the current document:

  • inspect with photoshop_get_open_documents
  • select the intended one with photoshop_select_document

If there is no active document and no source path:

  • ask for the source image path or ask the user to open the target document in Photoshop

Safety First

Before destructive edits:

  1. Create a checkpoint with photoshop_snapshot_checkpoint
  2. If the user wants a non-destructive branch, create a duplicate with photoshop_duplicate_document
  3. Wait for Photoshop to settle with photoshop_wait_for_idle

For multi-step edits that should roll back cleanly:

  • prefer photoshop_run_transaction

Workflow Classes

Choose the narrowest workflow that matches the request.

Targeted local edit

Use this for:

  • object cleanup
  • bounded recolor
  • replacing one region
  • text or label corrections
  • local retouching

Read the full file on GitHub · 265 lines

Files

What ships with it

1 file 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. 1mo ago First seen · 265 lines · 76 tokens per session scan A 043f1a7f7404

Subscribe to this mod's changes

image-editing-agent is a skill published in the GitHub repository Vaxaxas/photoshop-mcp-windows-first (4 stars, last pushed 7mo ago), licensed MIT. It adds 76 tokens to every session and 1,991 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-08-31.