edit-image

edit-image is a skill for Claude Code, Codex from SamurAIGPT/muapi-claude-code. It costs 35 tokens per session (261 once invoked), scanned A, original, MIT.

A tool that changes an existing image from natural-language instructions.

In plain words
What is it for?
Use it to modify, transform, or retouch an image supplied by URL or local file.
Why use it?
It lets you request edits such as transformations or retouching without manually performing each image change.

Skill for Claude CodeCodex

Part of the muapi plugin — 5 skills, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/samuraigpt/muapi-claude-code/edit-image
Any agent
npx skills add SamurAIGPT/muapi-claude-code --skill edit-image
Clone the repo
git clone --depth 1 https://github.com/SamurAIGPT/muapi-claude-code

Made for: Claude Code, Codex.

Or install muapi, the plugin that ships this one along with the rest of its 5 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for edit-image

README.md
[![agentmods](https://agentmods.dev/badge/skills/samuraigpt/muapi-claude-code/edit-image.svg)](https://agentmods.dev/skills/samuraigpt/muapi-claude-code/edit-image)
Your own site
<a href="https://agentmods.dev/skills/samuraigpt/muapi-claude-code/edit-image"><img src="https://agentmods.dev/badge/skills/samuraigpt/muapi-claude-code/edit-image.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 261 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00035 $0.00261
Opus 5 $0.00017 $0.00130
Sonnet 5 $0.00007 $0.00052
Haiku 4.5 $0.00003 $0.00026

Measured 3d ago against content hash 027a0a307fee, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

edit-image scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/edit-image/SKILL.md · 31 lines

What it actually says

Edit Image

Use the MuAPI image editing tools to modify an existing image based on instructions.

Instructions

  1. Ask the user for the image URL or file path if not already provided
  2. If the user provides a local file, call upload_file first to get a hosted URL
  3. Craft a clear editing instruction from the user's request
  4. Call the edit_image tool with the image URL and editing prompt
  5. The tool uses the flux-kontext-dev model by default
  6. Display the resulting image URL to the user
  7. Report the generation cost from the response if available

Request

$ARGUMENTS

Notes

  • edit_image requires an existing image URL — upload local files with upload_file first
  • Generation is synchronous — the tool polls until complete
  • The response includes an images array with the edited image URLs
  • Cost information is included in result.cost.amount_usd
  • For generating a brand new image from scratch, use the generate_image tool instead
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 31 lines · 35 tokens per session scan A 027a0a307fee

Subscribe to this mod's changes

edit-image is a skill published in the GitHub repository SamurAIGPT/muapi-claude-code (4 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 261 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

youtube-shorts-generator

Generate viral 9:16 YouTube Shorts (or TikTok/Reels clips) from a long-form YouTube URL or local video. Triggers on requests like "make shorts from this video", "extract viral clips from this YouTube link", "auto-clip this podcast", "find the best moments and crop vertical". Pipeline downloads the source, transcribes…

Anil-matcha/awesome-generative-ai-apps · 135 tokens

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

golden-rss

Use when testing the rss golden build.

yusufkaraaslan/Skill_Seekers · 12 tokens

overleaf-sync

Two-way sync between a local paper directory and an Overleaf project, so ARIS audit/edit workflows stay on the local copy while collaborators edit in the Overleaf web UI. Use when user says "同步 overleaf", "overleaf sync", "推送到 overleaf", "connect overleaf", "Overleaf 桥接", "pull overleaf", "push overleaf", or wants to…

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens

omh-code-review

This is a Hermes-native code-review workflow skill.

rlaope/oh-my-hermes · 46 tokens

redteam-web-detail-pack

Routing and boundary guidance for authorized general web application security testing. Use as a web testing router when the attack surface should be dispatched to more specific web vulnerability skills.

Netw0rkNoob/VulnClaw · 38 tokens