Raster Edit
Polish rasters in Photoshop, Affinity, or Photopea.
Skill metadata
| Source | Bundled (installed by default) |
| Path | skills/creative/raster-edit |
| Version | 1.0.0 |
| Author | VibeOS |
| License | MIT |
| Platforms | macos, windows, linux |
| Tags | photoshop, affinity, photopea, raster, computer-use, creative |
| Related skills | creative-studio, choose-interaction-surface, computer-use, figma-edit |
Reference: full SKILL.md
The following is the complete skill definition that VibeOS loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
Raster Edit Skill
Finish a still deliverable in a raster editor when image_generate alone
is not enough (crop, type, simple retouch, export). This is Operate-on-editor,
not a Photoshop/Affinity scripting API.
Prefer: generate with image_generate → open in editor → export to exports/.
Use computer_use with SoM; escalate after two stuck attempts.
When to Use
- User asks to edit a PNG/JPEG/WebP/PSD in Photoshop, Affinity Photo, or Photopea.
- Creative Studio mode
editor/stillhandoff when generation needs polish.
Do not use for greenfield illustration (use image_generate / SVG first),
or for purchases / Creative Cloud billing / store installs.
Prerequisites
- Target app installed (or Photopea in a headed browser the user already uses)
- Source file path known; workspace
exports/ready computer_usepermissions; OS playbook skill as needed- Destructive overwrite of an existing master → human approve
How to Run
- Confirm surface via
choose-interaction-surface: native app →computer_use; Photopea web →browser_*first, CU only if the tab is a plain WebView. - Open the file (File → Open / drag from Finder) — prefer known path dialogs.
- Do the smallest change that meets the brief (crop, type, levels, export).
- Export PNG/WebP/JPEG into
exports/; verify the file exists. - Fail after two stuck GUI attempts → ask the user; note gaps in
qa.md.
Quick Reference
| App | Open | Export tip |
|---|---|---|
| Photoshop | File → Open / recent | File → Export → Export As… / Save for Web |
| Affinity Photo | File → Open | File → Export (PNG/JPEG/WebP) |
| Photopea | File → Open (browser) | File → Export As |
Procedure
Shared self-heal (max 2 retries)
computer_usecapturemode=som(orax) withappset when possible.- Act by element index — never blind pixel spam.
- Re-capture after each dialog; if the tree is empty, try alternate surface once (browser ↔ CU), then escalate to the user.
- Web CAPTCHA / login walls →
challenge-gate, not editor clicks. - Stop before cloud sync publish / stock purchase unless asked.
When generation is enough
If the brief only needs a new still with no layer work, stay on
image_generate + vision_analyze and skip the raster editor.
Pitfalls
- Do not invent UXP/ExtendScript or Affinity macros — they are not core tools.
- PSD/AFPHOTO masters stay user-owned; prefer exporting a delivery format.
- License / sign-in / TCC dialogs are human gates.
- Prefer regenerate + light edit over endless click loops.
Verification
- Exported raster exists under
exports/(or the brief’s export dir). - Dimensions/aspect roughly match the brief.
qa.mdrecords pass/fail and any manual steps left for the user.