Agent skill

Edit Images

by glifxyz in glifxyz/glif-mcp-server

Edit an existing image with Glif: remove the background, erase or replace objects, expand the canvas, restore or upscale, retouch, restyle or change one detail.

MITAuto-check passedMedia & Creative

Install Edit Images

skills CLI
$ npx skills add glifxyz/glif-mcp-server --skill edit-images -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install glifxyz/glif-mcp-server edit-images --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/glifxyz/glif-mcp-server.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/edit-images .claude/skills/edit-images && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
edit-images
GitHub stars
213
Token cost
~778 tokens
SKILL.md length
359 words
Files
2
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Edit an existing image with Glif: remove the background, erase or replace objects, expand the canvas, restore or upscale, retouch, restyle or change one detail.

  • Works in 4 steps: Get the image to Glif → Say exactly what changes → Run once → …
  • : remove the background
  • SKILL.md covers 1. Get the image to Glif, 2. Say exactly what changes, 3. Run once and 4. Save next to the original
  • Calls curl

What it does

Edit Images is an agent skill from glifxyz/glif-mcp-server. Edit an existing image with Glif: remove the background, erase or replace objects, expand the canvas, restore or upscale, retouch, restyle or change one detail. Saves the result next to the original without overwriting it. Use when: "remove the background", "make this a transparent PNG", "cut out the product", "erase X from this photo", "replace the sky", "expand this image to landscape", "make it 16:9 without cropping", "upscale this", "restore this old photo", "retouch this portrait", "restyle this as pixel…

Its SKILL.md is about 780 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`). Compatibility notes: Requires the Glif MCP server at https://glif.app/api/mcp.

It sits in Media & Creative, covering Image editing. It works with Model Context Protocol. The repository describes itself as: Glif's hosted MCP server, plugin and skills for creating images, video and audio. Works with Claude, ChatGPT, Codex, Cursor and more. The licence is MIT.

When your agent uses it

  • : remove the background
  • Make this a transparent PNG
  • Cut out the product
  • Erase X from this photo

Example prompts

  • “remove the background”
  • “make this a transparent PNG”
  • “cut out the product”
  • “/edit-images”

Requirements

  • Compatibility (from SKILL.md): Requires the Glif MCP server at https://glif.app/api/mcp.

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Get the image to Glif
  2. Say exactly what changes
  3. Run once
  4. Save next to the original

What it can do on your machine

Read from SKILL.md and the folder at commit 0c90bf7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use curl, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires the Glif MCP server at https://glif.app/api/mcp.

    From compatibility in the SKILL.md frontmatter.

Context cost

Edit Images loads about 778 tokens when it runs. Until then it costs about 178 tokens; SKILL.md has 359 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~178
When it runs · the whole SKILL.md, loaded when a task matches
~778

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from glifxyz/glif-mcp-server at commit 0c90bf7, republished under its MIT licence (© glifxyz). 359 words, ~778 tokens.

Download SKILL.mdSave it as .claude/skills/edit-images/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
edit-images
description
Edit an existing image with Glif: remove the background, erase or replace objects, expand the canvas, restore or upscale, retouch, restyle or change one detail. Saves the result next to the original without overwriting it. Use when: "remove the background", "make this a transparent PNG", "cut out the product", "erase X from this photo", "replace the sky", "expand this image to landscape", "make it 16:9 without cropping", "upscale this", "restore this old photo", "retouch this portrait", "restyle this as pixel art", "edit this image", "keep everything else identical". NOT for: new images from scratch (use make-images), animating an image (use audio-and-video), logos (use app-icons-and-logos).
compatibility
Requires the Glif MCP server at https://glif.app/api/mcp.

Change an image the user already has. The user's explicit instructions come first, within host safety rules.

1. Get the image to Glif

  • A file in the project or on disk: call upload_file with only filename (plus kind: "image" if unclear), then run the returned command with the real path.
  • A public link: pass it as url.
  • An image in a saved Glif project: pass that project's project_id and name the image in the brief.
  • Several images that need the same edit: upload them all and edit them in one run.

Pass the returned fileUrl values in attachments.

2. Say exactly what changes

Name the edit, then say what must stay the same. "Keep everything else identical" works well.

EditPut in the brief
Remove background"Transparent PNG, keep fine edges like hair." Say whether to crop to the subject or keep the canvas.
Erase or replaceWhat to remove, and what fills the gap.
Expand (outpaint)The new aspect ratio or pixel size, and which side to grow.
Restore or upscaleThe target size. For old photos: fix scratches and fading, keep faces true.
RetouchLighting, skin, color. Keep the person recognizable.
RestyleThe style, such as Ghibli, oil painting or pixel art, and what must stay, such as pose and layout.
Fix textThe exact new text in quotes. Check it letter by letter afterward.

Edit photos of real people only with their permission. Don't change someone's identity, age or body in a misleading way.

Show full SKILL.md (112 more words)Show less

3. Run once

An edit request is approval to spend credits. Call compose_project once with the brief and attachments, share the projectUrl, then call get_job_status with the jobId as job_id. Never retry a failed edit on your own.

4. Save next to the original

Never overwrite the source file. Download beside it with a suffix that says what changed:

sh
curl -fsSL "<media url>" -o public/images/product-nobg.png
file public/images/product-nobg.png

Use suffixes like -nobg, -wide, -2x, -restored or -v2. Check the pixel size and, for cutouts, that the PNG has an alpha channel. Update code references only if the user asked to swap the image.

To change one more thing, continue the same project with its project_id and say "same image, now also...".

© glifxyz, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/edit-images of glifxyz/glif-mcp-server.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 0c90bf7

Compare with similar skills

Edit Images next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Edit Images compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Edit Images this skillglifxyz/glif-mcp-server213—~778Automated safety check: PassMIT
Fal AI Generationwitnesstodark/mr-mak-workspace347—~1kAutomated safety check: NotesMIT
Upscaleguaardvark/guaardvark258—~493Automated safety check: PassMIT
Canva Designerasgeirtj/system_prompts_leaks69k—~2.1kAutomated safety check: PassCC0-1.0
Cowart Image Editopenvetta/open-vetta290—~364Automated safety check: PassApache-2.0
Scenario Ideogramscenario-labs/skills946—~2.7kAutomated safety check: PassMIT

Similar skills

  • Fal AI Generation

    witnesstodark/mr-mak-workspace

    Generate and edit images, create video, audio, 3D assets or material maps through fal.ai MCP or the Python queue client.

    347 GitHub stars~1k tokensUpdated 2 days ago
    Media & CreativeAuto-check: notes
  • Upscale

    guaardvark/guaardvark

    Upscale images and video 2x to 4K/8K on the user's GPU through Guaardvark (Real-ESRGAN, HAT-L, SwinIR, two-pass).

    258 GitHub stars~493 tokensUpdated today
    Media & CreativeAuto-check passed
  • Canva Designer

    asgeirtj/system_prompts_leaks

    Creates and edits Canva designs, generates images and works with brand kits through the canva CLI and Canva's official MCP server, from decks to social posts.

    69k GitHub stars~2.1k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Cowart Image Edit

    openvetta/open-vetta

    Revise a Cowart canvas image from an annotation screenshot using Vetta editimage, then place the result with Cowart MCP.

    290 GitHub stars~364 tokensUpdated 2 days ago
    Media & CreativeAuto-check passed
  • Scenario Ideogram

    scenario-labs/skills

    A skill your agent uses when generating or editing images with Ideogram models on Scenario via MCP: posters, logos, menus, packaging, or signage with exact in-image text, editing an image in place…

    946 GitHub stars~2.7k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Scenario Image Editing

    scenario-labs/skills

    A skill your agent uses when editing an existing image on Scenario through MCP with a tool model, not a new generation: upscale or enhance to 2x, 4K, 8K, super resolution, 3D LUT color grade, color…

    946 GitHub stars~2.6k tokensUpdated yesterday
    Media & CreativeAuto-check passed

More from glifxyz/glif-mcp-server

All 10 skills in this repo
  • App Demo Videos

    glifxyz/glif-mcp-server

    Record a screencast of an app you are building and turn it into a polished demo, explainer or promo video with Glif, using video templates for device mockups, captions, voiceover and music.

    213 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Audio And Video

    glifxyz/glif-mcp-server

    Make or edit audio and video with Glif, from a text brief or from a reference image, video or audio file.

    213 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Make Images

    glifxyz/glif-mcp-server

    Make new still images from a brief with Glif and save them to a folder: concept art, a series of variations, mockups, posters, illustrations, wallpapers, reference boards or any picture that isn't…

    213 GitHub stars~931 tokensUpdated yesterday
    Auto-check passed
  • Web Visuals

    glifxyz/glif-mcp-server

    Make images, textures, illustrations and background video for a website or app you are building, with Glif, and wire them into the code.

    213 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • App Icons And Logos

    glifxyz/glif-mcp-server

    Design a logo, app icon, favicon set, icon set or brand kit with Glif for an app or site you are building, then export every size and wire it into the code.

    213 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • App Promo Materials

    glifxyz/glif-mcp-server

    Plan and make launch, store, ad and campaign graphics with Glif: real app screens turned into store listings and launch posts, or a coordinated set of product photos, ads, a short video and a jingle…

    213 GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed

Questions about Edit Images

What does Edit Images do?

Edit an existing image with Glif: remove the background, erase or replace objects, expand the canvas, restore or upscale, retouch, restyle or change one detail. Edit Images is an agent skill from glifxyz/glif-mcp-server. Edit an existing image with Glif: remove the background, erase or replace objects, expand the canvas, restore or upscale, retouch, restyle or change one detail.

When should I use Edit Images?

Edit Images fits situations like: : remove the background; make this a transparent PNG; cut out the product; erase X from this photo.

How do I install Edit Images in Claude Code?

Run `npx skills add glifxyz/glif-mcp-server --skill edit-images -a claude-code`. Or copy the skill folder (skills/edit-images in glifxyz/glif-mcp-server) into .claude/skills/edit-images in your project. Claude Code loads it when a task matches its description.

How do I install Edit Images in Codex?

Run `npx skills add glifxyz/glif-mcp-server --skill edit-images -a codex`. Or copy the skill folder (skills/edit-images in glifxyz/glif-mcp-server) into .agents/skills/edit-images in your project. Codex loads it when a task matches its description.

Can I use Edit Images in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add glifxyz/glif-mcp-server --skill edit-images -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/edit-images, .gemini/skills/edit-images, .github/skills/edit-images and .opencode/skills/edit-images in your project.

What does Edit Images need to run?

Going by SKILL.md and its folder, Edit Images needs the command-line tools its instructions call (curl). Compatibility (from SKILL.md): Requires the Glif MCP server at https://glif.app/api/mcp..

Does Edit Images access the network?

SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Edit Images safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Edit Images use?

Edit Images is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Edit Images use?

About 778 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Edit Images?

Skills that share tags, products or a category with Edit Images: Fal AI Generation (witnesstodark/mr-mak-workspace, 347 stars), Upscale (guaardvark/guaardvark, 258 stars), Canva Designer (asgeirtj/system_prompts_leaks, 69k stars) and Cowart Image Edit (openvetta/open-vetta, 290 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Edit Images?

glifxyz (a GitHub organization) maintains it in glifxyz/glif-mcp-server, which has 213 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 9, 2026.

Source: glifxyz/glif-mcp-server on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.