image-editor

image-editor is a skill for Claude Code from treasure-data/td-skills. It costs 31 tokens per session (6,937 once invoked), scanned A, original, Apache-2.0.

An interactive tool for editing Instagram advertising images. It lets you change text overlays, logo positions, and other visual elements.

In plain words
What is it for?
Use it to adjust generated Instagram ad images, move logos, edit overlay text, and refine other parts of an ad visual.
Why use it?
It removes the need to rebuild an ad image when its text, logo, or layout needs changing.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the creative-skills plugin — 10 skills shipped together

Good fit Use it to adjust generated Instagram ad images, move logos, edit overlay text, and refine other parts of an ad visual.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/treasure-data/td-skills/image-editor
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.

Any agent
npx skills add treasure-data/td-skills --skill image-editor
Clone the repo
git clone --depth 1 https://github.com/treasure-data/td-skills

Made for: Claude Code.

Or install creative-skills, the plugin that ships this one along with the rest of its 10 skills.

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 image-editor

README.md
[![agentmods](https://agentmods.dev/badge/skills/treasure-data/td-skills/image-editor/github.svg)](https://agentmods.dev/skills/treasure-data/td-skills/image-editor)
Your own site
<a href="https://agentmods.dev/skills/treasure-data/td-skills/image-editor"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/image-editor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for image-editor

Your own site · 80×15
<a href="https://agentmods.dev/skills/treasure-data/td-skills/image-editor"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/image-editor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,937 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00031 $0.06937
Opus 5.5 $0.00012 $0.02775
Sonnet 5.5 $0.00006 $0.01387
Haiku 4.5 $0.00003 $0.00694

Measured 3mo ago against content hash 4eb85c83d35b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

image-editor scanned grade A with 1 finding 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 3mo 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

result = subprocess.run(["pbpaste"], capture_output=True, text=True)
creative-skills/multi-channel-ad-ideation/channels/image-editor/SKILL.md · 333 lines

How it starts

The opening of the file, as written. The whole thing — 333 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Instagram Studio Editor V2

Interactive drag-and-drop editor for Instagram ad overlays — headline text, brand text, and company logo. Renders instantly via render_react using a CSS gradient placeholder instead of an embedded image preview.

Architecture

render_react (editor in artifact panel)
  ├─ CSS gradient placeholder (NO base64)
  ├─ Draggable text overlays (headline + brand)
  ├─ Draggable logo overlay (position, size, opacity, variant, tint)
  ├─ Control panel (font, size, color, opacity, gradient)
  └─ "Apply Changes" → copies config to clipboard
         ↓  (automatic)
Clipboard Poller (background task, polls pbpaste every 2s)
  ├─ Detects valid editor config JSON
  └─ Writes to /tmp/editor_apply_ready.json
         ↓
Python/Pillow (auto-applies config to FULL-RES image)
  ├─ Composites logo with variant selection, opacity, tint
  ├─ Composites text with exact parameters
  └─ Saves final PNG → opens via open_file

Key Constraints

  • render_react sandbox blocks file://, localhost, clipboard.writeText(), and postMessage
  • Data prop size correlates with load time: 0KB=instant, 2KB=30s, 12KB=4min+
  • Solution: zero base64, CSS gradient placeholder, execCommand("copy") fallback
  • macOS pbpaste polls clipboard to bridge React sandbox back to Claude

Workflow

Trigger phrases: "open the editor", "studio editor", "visual editor", "edit this", "let me edit", "drag text", "move the text", "reposition headline", "adjust overlay"

Execution Order

  1. Claude starts clipboard poller as background task (run_in_background: true)
  2. Claude calls render_react with editor component + tiny data prop (~600 bytes)
  3. Claude calls TaskOutput with poller's task_id, block: true, timeout: 300000
  4. User drags overlays, adjusts controls, clicks "Apply Changes"
  5. Poller detects config JSON on clipboard, writes to /tmp/editor_apply_ready.json, exits
  6. Claude reads config, runs Pillow applicator, opens final PNG via open_file

Read the full file on GitHub · 333 lines

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. 3mo ago First seen · 333 lines · 31 tokens per session scan A 4eb85c83d35b

Subscribe to this mod's changes

image-editor is a skill published in the GitHub repository treasure-data/td-skills (23 stars, last pushed today), licensed Apache-2.0. It adds 31 tokens to every session and 6,937 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

image-editor compared with skills from other repositories

image-editor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
image-editortreasure-data/td-skillsSkill23todayApache-2.0A31Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82kyesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code