Перейти к основному содержимому

Перевод: оболочка страницы на русском; тело навыка (SKILL.md) пока на английском — это исходные инструкции агента.

Raster Edit

Polish rasters in Photoshop, Affinity, or Photopea.

Метаданные навыка​

ИсточникВстроенный (установлен по умолчанию)
Путьskills/creative/raster-edit
Версия1.0.0
АвторVibeOS
ЛицензияMIT
Платформыmacos, windows, linux
Тегиphotoshop, affinity, photopea, raster, computer-use, creative
Связанные навыкиcreative-studio, choose-interaction-surface, computer-use, figma-edit

Справка: полный SKILL.md​

к сведению

Ниже полное определение навыка, которое VibeOS загружает при активации. Это инструкции, которые видит агент.

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 / still handoff 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_use permissions; OS playbook skill as needed
  • Destructive overwrite of an existing master → human approve

How to Run​

  1. Confirm surface via choose-interaction-surface: native app → computer_use; Photopea web → browser_* first, CU only if the tab is a plain WebView.
  2. Open the file (File → Open / drag from Finder) — prefer known path dialogs.
  3. Do the smallest change that meets the brief (crop, type, levels, export).
  4. Export PNG/WebP/JPEG into exports/; verify the file exists.
  5. Fail after two stuck GUI attempts → ask the user; note gaps in qa.md.

Quick Reference​

AppOpenExport tip
PhotoshopFile → Open / recentFile → Export → Export As… / Save for Web
Affinity PhotoFile → OpenFile → Export (PNG/JPEG/WebP)
PhotopeaFile → Open (browser)File → Export As

Procedure​

Shared self-heal (max 2 retries)​

  1. computer_use capture mode=som (or ax) with app set when possible.
  2. Act by element index — never blind pixel spam.
  3. Re-capture after each dialog; if the tree is empty, try alternate surface once (browser ↔ CU), then escalate to the user.
  4. Web CAPTCHA / login walls → challenge-gate, not editor clicks.
  5. 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.md records pass/fail and any manual steps left for the user.