Agent Skills: Image Editing Skill

Edit, modify, or enhance existing images using natural language instructions. Use this skill when the user wants to change colors, remove backgrounds, add objects, or modify the style of an image they have uploaded or generated.

UncategorizedID: tara-shopos/shopos-prototype/image_editing

Install this agent skill to your local

pnpm dlx add-skill https://github.com/tara-shopos/ShopOS-prototype/tree/HEAD/apps/api/src/skills/image_editing

Skill Files

Browse the full folder contents for image_editing.

Download Skill

Loading file tree…

apps/api/src/skills/image_editing/SKILL.md

Skill Metadata

Name
image_editing
Description
Edit, modify, or enhance existing images using natural language instructions. Use this skill when the user wants to change colors, remove backgrounds, add objects, or modify the style of an image they have uploaded or generated.

Image Editing Skill

When to use this skill

Use this skill when the user provides an image (or refers to a previous image) and asks to modify it. Common intents include:

  • "Make the background blue"
  • "Remove the background"
  • "Add a shadow"
  • "Change the shoe to red"
  • "Make it look cinematic"

Instructions

  1. Identify the image: Ensure you have the URL or ID of the image to be edited. If not provided, ask the user to upload or select one.
  2. Analyze the request: Determine the specific editing operation (mask-based edit, global style transfer, background removal).
  3. Construct the tool call:
    • Call the editImage tool.
    • prompt: A clear description of the desired output (e.g., "a red shoe on a white background").
    • image: The source image data or URL.
    • mask_description: If editing a specific part, describe what to mask (e.g., "the shoe").

Examples

Input

User: "Change the background to a sunny beach" (attached image of a bottle)

Execution

  • Tool: editImage
  • Arguments:
    • prompt: "bottle on a sunny beach"
    • image: [Image Data]
    • editType: "background-replacement"

Input

User: "Make it a sketch"

Execution

  • Tool: editImage
  • Arguments:
    • prompt: "sketch of the bottle"
    • editType: "style-transfer"