← AdobeCONTENT HISTORY
WHAT CHANGED
Update to Adobe
Snapshot Nov 19, 2026 · 18:11 UTC · version 11.0.0
Collection source: downloaded plugin package.
First saved snapshot
No earlier snapshot is available to establish a change.
Save Adobe and check future changes in Following.
Up to 3 plugins free · no card required.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"description": "Builds a labeled side-by-side before-and-after comparison from an original photo and its already-edited version. Use this skill whenever the user has two versions of an image and wants them shown together — \"make a before and after\", \"put the original next to my edit\", \"side-by-side of my retouch\", \"before/after for my portfolio or client\", \"compare these two versions\" — even if they never say \"before and after\". Compare-only: it needs both images and never edits them. Shows an in-chat Before/After preview; where previews don't render, it builds one side-by-side PNG (if Pillow is already installed) or returns two labeled links. Creates a shareable Firefly Board on request. Gen AI: ❌\n",
"included_files": [
{
"relative_path": "agents/openai.yaml",
"size_in_bytes": 209
},
{
"relative_path": "assets/icon-large.svg",
"size_in_bytes": 488
},
{
"relative_path": "assets/icon-small.svg",
"size_in_bytes": 488
},
{
"relative_path": "scripts/compose_before_after.py",
"size_in_bytes": 25508
}
],
"name": "adobe-before-and-after-image-edit",
"skill_md_contents": "---\nname: adobe-before-and-after-image-edit\ndescription: >\n Builds a labeled side-by-side before-and-after comparison from an original photo and its\n already-edited version. Use this skill whenever the user has two versions of an image and\n wants them shown together — \"make a before and after\", \"put the original next to my edit\",\n \"side-by-side of my retouch\", \"before/after for my portfolio or client\", \"compare these two\n versions\" — even if they never say \"before and after\". Compare-only: it needs both images\n and never edits them. Shows an in-chat Before/After preview; where previews don't render, it\n builds one side-by-side PNG (if Pillow is already installed) or returns two labeled links.\n Creates a shareable Firefly Board on request.\n Gen AI: ❌\nlicense: Apache-2.0\ncompatibility: \"Runs on widget-capable surfaces (e.g. Claude, with the asset_add_file picker and asset_preview_file preview) and non-UI agents (e.g. Codex). Without the preview widget, the bundled scripts/compose_before_after.py builds the side-by-side PNG using Python 3.8+ and Pillow 9.2+ only if they are already installed; nothing is ever installed, and two labeled links are returned instead.\"\nallowed-tools: adobe_mandatory_init asset_add_file asset_initialize_file_upload asset_finalize_file_upload asset_preview_file create_firefly_board\nmetadata:\n version: 1.0.0\n visibility: public\n surface: [claude, codex, copilot]\n---\n\n# Adobe Before and After Image Edit\n\nTurns an original photo and its edited version into a labeled before-and-after comparison —\nBefore on the left, After on the right. The skill only compares: it never edits, re-exports, or\noverwrites either image, so the comparison shows exactly what the user's edit changed.\n\n> **Surface note:** The default flow uses Adobe's MCP App widgets — the `asset_add_file` picker (Step 2) and the `asset_preview_file` preview (Step 3). Follow it as written. Only if a widget tool is **not available on this surface** or the host can't render it (e.g. Codex) use the *No-widget fallback* attached to that step. Present `AskUserQuestion` prompts as plain-text options wherever no question widget exists.\n\n> **No editing here.** This overrides the single-image widget offer in the *Interactive Image Widgets* section of `adobe_mandatory_init`: this skill compares two existing images, so never call or mention an image-editing tool (any `image_*` tool) or an interactive editing widget (any `_app` tool).\n\n---\n\n## Tool Reference\n\n| Step | Tool | Notes |\n|------|------|-------|\n| Initialize | `adobe_mandatory_init` | Routing rules, widget availability, egress status |\n| Pick or upload the images | `asset_add_file` | Picker widget; returns a presigned URL for each selected file |\n| Stage a local file (start) | `asset_initialize_file_upload` | Programmatic upload; requires egress |\n| Stage a local file (finish) | `asset_finalize_file_upload` | Returns the presigned Creative Cloud URL |\n| Show side-by-side preview | `asset_preview_file` | Before/After widget *(no-widget fallback: Step 3b image or labeled links)* |\n| Firefly Board (on request only) | `create_firefly_board` | Both images on one shareable board |\n\nThe bundled helper [`scripts/compose_before_after.py`](scripts/compose_before_after.py) (not an\nMCP tool) builds the single side-by-side image in Step 3b.\n\n---\n\n## Workflow\n\n### Step 0 — Initialize Adobe Tools\n\nCall `adobe_mandatory_init` first. This returns file handling rules and tool routing guidance required for the rest of the workflow.\n\n```json\n{ \"skill_name\": \"adobe-before-and-after-image-edit\", \"skill_version\": \"1.0.0\" }\n```\n\nNote whether egress is enabled (Step 2 staging depends on it) and whether `asset_add_file` and\n`asset_preview_file` are available on this surface.\n\n---\n\n### Step 1 — Identify the Before and After images\n\nA comparison needs exactly one **Before** (the original, unedited image) and one **After** (the\nedited version).\n\n- **No images yet** — go straight to Step 2 and open the picker; don't ask first.\n- **Only one image** — work out which version it is with the rules below, then ask for the\n other one: the original if it's the edit, the edited version if it's the original. If you\n can't tell, ask whether it's the original or the edit, and for the other version. This skill\n doesn't edit photos; if the user hasn't made the edit yet, explain that and ask them to come\n back with both versions.\n- **The same file twice** — say both inputs are identical and treat them as one image. Use\n the rules below to identify its version, then ask for the missing counterpart: the original\n if both are After, the edited version if both are Before. If its version is unclear, ask\n which version it is and request the other one.\n- **More than two images** — ask which two to compare. If the user clearly paired several sets\n (e.g. `room1_before.jpg` / `room1_after.jpg`, `room2_before.jpg` / `room2_after.jpg`), run\n Steps 2–3 once per pair and send one summary at the end.\n- **Unsupported format** — comparisons work with JPEG, PNG, WebP, and TIFF. For HEIC, camera RAW,\n PDF, or video, ask for a JPEG or PNG export.\n\nDecide which image is Before with the first rule that applies. Don't guess — swapped labels\nwould misrepresent the edit.\n\n1. The user says which is which.\n2. One image is the output of an earlier tool call in this conversation — it's After, and that\n call's input is Before.\n3. File names say so: `original`, `orig`, `raw`, `before`, `unedited`, `source` → Before;\n `edited`, `edit`, `after`, `final`, `retouched`, `fixed`, `v2` → After.\n4. Otherwise ask one question — \"Which image is the original (Before)?\" — listing both file\n names (`AskUserQuestion`, or plain text where no question widget exists), and wait.\n\nLabels default to \"Before\" and \"After\". If the user wants other wording (e.g. \"Original\" /\n\"Retouched\", or another language), use it in every step.\n\n---\n\n### Step 2 — Get previewable URLs\n\n`asset_preview_file` needs a presigned URL for each image. Resolve each image with the first\nmatching row:\n\n| Where the image is | Action |\n|---|---|\n| A presigned HTTPS URL already in the conversation (e.g. an earlier Adobe tool's output) | Use it as-is. |\n| Not shared yet, or attached in a way you can't read as a file | Call `asset_add_file()` right away — don't ask first — and ask the user to select both images. Use the presigned URL it returns for each selected file; until the user picks, it returns none, which is expected. |\n| Uploaded to the chat (e.g. `/mnt/user-data/uploads/…`) and egress **enabled** | Stage it: get its size and MIME type, call `asset_initialize_file_upload({ path: \"<filename>\", media_type: \"<mime>\" })`, PUT the bytes to the returned upload URL, then call `asset_finalize_file_upload({ filename: \"<filename>\", transfer_document: <from the initialize response> })` and use the returned presigned URL. |\n| Uploaded to the chat with egress **disabled**, or a Creative Cloud asset ID (`urn:aaid:…`) | Open the `asset_add_file` picker, ask the user to select it there, and use the presigned URL it returns. |\n\nNever pass a raw local path to an Adobe tool.\n\n> **No-widget fallback** *(only if `asset_add_file` and `asset_preview_file` are unavailable on this surface, e.g. Codex)* — skip this step: Step 3b works from local files. If no images have been shared yet, ask for both (local paths or links). Keep local paths as they are and note any HTTPS URLs to download in Step 3b. A Creative Cloud asset ID with no URL can't be fetched here — ask the user to export the file locally or share a link.\n\n---\n\n### Step 3 — Show the side-by-side comparison\n\n#### 3a. Preview\n\nCall `asset_preview_file` with Before first and After second:\n\n```javascript\nasset_preview_file({\n assets: [\n { name: \"Before\", presignedAssetUrl: \"<before_url>\" },\n { name: \"After\", presignedAssetUrl: \"<after_url>\" }\n ]\n})\n```\n\nPass both URLs as they are — don't resize, crop, or re-export first. The widget makes its own\nthumbnails, and different dimensions are expected when the edit cropped or straightened the photo.\n\nIf the user explicitly asked for one downloadable comparison image (a file to post or send),\nalso run 3b after the preview.\n\n> **No-widget fallback** *(only if `asset_preview_file` is unavailable on this surface or the host can't render it, e.g. Codex)* — skip the preview and go to 3b.\n\n#### 3b. Build one side-by-side image\n\nRun this only when the preview isn't available (see 3a) or the user asked for an image file.\nNever install Python, Pillow, or any other package for it — if it can't run, fall back to the\nlabeled links in item 3.\n\n1. **Get local copies.** Use local files as they are. Download each HTTPS URL into a\n `before-after/` folder in the working directory, keeping the URL's extension:\n `curl -fL --create-dirs -o before-after/before.jpg \"<before_url>\"` (same for After; use\n `curl.exe` in Windows PowerShell, where `curl` is an alias for a different command).\n2. **Build the image** with the system Python (`python3`, or `python` if `python3` isn't found),\n where `<skill-dir>` is this skill's directory:\n\n ```bash\n python3 \"<skill-dir>/scripts/compose_before_after.py\" \"<before_path>\" \"<after_path>\" \"before-after/<before-name>-before-after.png\"\n ```\n\n `<before-name>` is the original file's name without its extension. If that output name is\n taken, add `-2`, `-3`, … — the script never overwrites files. Add `--layout vertical` when the\n user wants the images stacked, and `--before-label \"…\" --after-label \"…\"` for custom labels.\n Integer-grayscale inputs use one shared sample range, starting at 0–65535 and extending\n to include wider or signed samples from either image, so tonal differences stay visible.\n3. **Check the result.** Exit code `0` prints a JSON summary with the output path and size —\n share that file with the user. Exit code `4` means the labels can't be drawn here (no\n installed font has their characters, or they need right-to-left layout): run the same command\n again with `--no-labels`, and say in your reply which side is which, in the user's wording. On\n exit code `3` (Pillow isn't installed), no Python, a failed download, or any other error,\n present two labeled links instead:\n\n ```\n Before: <before URL or local path>\n After: <after URL or local path>\n ```\n\n---\n\n### Step 4 — Firefly Board (only when the user asks)\n\nSkip this step unless the user asks for a board (e.g. \"put them on a Firefly board\", \"make a\nshareable board\"). Then call `create_firefly_board` with Before first:\n\n```javascript\ncreate_firefly_board({\n name: \"Before and after — <short subject, e.g. kitchen remodel>\",\n import_generic_assets: [\"<before_url>\", \"<after_url>\"]\n})\n```\n\nThe board needs presigned URLs or Creative Cloud asset IDs. Stage local files first as in Step 2\n(requires egress); if egress is disabled and there's no picker, tell the user the board can't be\ncreated on this surface. Images are placed automatically — if the response reports\n`placementMode: \"manual\"`, tell the user they'll drag the two images into place when they open\nthe board.\n\n---\n\n### Step 5 — Deliver\n\nClose every run with this summary:\n\n```\n✅ Before and after ready\n\nBefore: <before URL or path>\nAfter: <after URL or path>\nComparison: <side-by-side preview above | image saved to <output path> | labeled links above — no preview or image could be made here>\n🎨 Firefly Board: <board_url> ← only if one was created\n```\n\nIf no board was created, end with: \"Want both images on a shareable Firefly Board? Just ask.\"\n\n---\n\n## Error Handling\n\n| Situation | Action |\n|---|---|\n| Any Adobe tool returns 403 (entitlement) | Stop right there — don't retry, and don't switch to another tool or path. Send the stop message below. |\n| Any Adobe tool returns 401 | Ask the user to sign in to Adobe again, then retry that step once. |\n| `asset_add_file` returns no URLs yet | Expected while the picker is open — wait for the selection; remind the user to pick both images if needed. |\n| Staging upload fails (PUT error) | Open the `asset_add_file` picker instead; where there's no picker, continue with the local files in Step 3b. |\n| `asset_preview_file` fails (not 403) | Go to Step 3b. |\n| Script exits `3`, Python is missing, or a download fails | Present the two labeled links. Never install anything. |\n| Script exits `4` (the labels can't be drawn here) | Run it again with `--no-labels`, and name the sides in your reply using the user's wording. |\n| Script exits `1` (an image couldn't be read) | Tell the user which file failed (from the script's error message) and present the labeled links. |\n| `create_firefly_board` fails (not 403) | Say the board couldn't be created — the comparison is already delivered. Don't retry. |\n\n**Stop message (403)** — never show raw error codes or service messages:\n\n```\nI couldn't finish your before-and-after comparison.\n\n**Why:** <feature, e.g. \"Firefly Boards\"> isn't included in your current Adobe plan.\n**What you need:** <the Adobe product or plan that includes it>.\n**Options:**\n- Upgrade your Adobe plan to include <product>.\n- In the meantime, here are your two images — Before: <URL or path> · After: <URL or path>\n```\n\n---\n\n## Constraints\n\n- Before always comes first — left when side by side, top when stacked — in the preview, the\n image, and the board.\n- Never modify, re-export, or overwrite either source image, and never upscale one to match the\n other.\n- One pair per comparison.\n- Never install Python, Pillow, or any other package — fall back to labeled links.\n- Pass only presigned URLs or asset IDs to Adobe tools — never raw local paths.\n"
}SHA-256 of public snapshot: 261b332ca131a658b2064e3698b3b5fc9dd8e11f00e3866a781fc2722e990483