unlayer-image-editor

unlayer-image-editor is a skill for Codex from unlayer/unlayer-skills. It costs 101 tokens per session (640 once invoked), scanned A, original, MIT.

Instructions for embedding Unlayer’s standalone Image Editor, a component for editing images, in JavaScript or React. It covers loading the editor, configuring its appearance and tools, and handling saved images and errors.

In plain words
What is it for?
Use it to mount the editor, load image URLs or data URLs, save edited images, configure themes or localization, and clean up the editor when finished.
Why use it?
It clarifies how the standalone editor differs from the image editor inside Unlayer’s email and page builders and helps manage its lifecycle correctly.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to mount the editor, load image URLs or data URLs, save edited images, configure themes or localization, and clean up the editor when finished.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unlayer/unlayer-skills/unlayer-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 unlayer/unlayer-skills --skill unlayer-image-editor
Clone the repo
git clone --depth 1 https://github.com/unlayer/unlayer-skills

Made for: Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/unlayer/unlayer-skills/unlayer-image-editor/github.svg)](https://agentmods.dev/skills/unlayer/unlayer-skills/unlayer-image-editor)
Your own site
<a href="https://agentmods.dev/skills/unlayer/unlayer-skills/unlayer-image-editor"><img src="https://agentmods.dev/badge/skills/unlayer/unlayer-skills/unlayer-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 unlayer-image-editor

Your own site · 80×15
<a href="https://agentmods.dev/skills/unlayer/unlayer-skills/unlayer-image-editor"><img src="https://agentmods.dev/badge/skills/unlayer/unlayer-skills/unlayer-image-editor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 640 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00101 $0.00640
Opus 5 $0.00051 $0.00320
Sonnet 5 $0.00020 $0.00128
Haiku 4.5 $0.00010 $0.00064

Measured 9d ago against content hash 0ede2caf926a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

unlayer-image-editor 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 9d 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.

unlayer-image-editor/SKILL.md · 49 lines

How it starts

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

Integrate Unlayer Image Editor

Overview

Embed Unlayer's standalone Image Editor with plain JavaScript or React. Keep it distinct from the image editor inside Unlayer's builders, which is configured through unlayer.init().

The standalone editor and all manual editing tools are free. The optional AI Assistant is paid.

Choose the Integration

Need Read
Plain JavaScript embed, loader, callbacks, or instance lifecycle references/javascript.md
React or Next.js with @unlayer/react-image-editor references/react.md
Tools, icons, dock, theme, localization, or AI Assistant references/configuration.md
Configure the image editor opened from an image inside a builder Use unlayer-config instead

Core Workflow

  1. Accept an image URL or base64 data URL.
  2. Mount into a container at least 1024px wide and 700px high when possible.
  3. Handle onSave and upload the returned blob; use dataUrl for previews or inline display.
  4. Handle onLoadError separately from script or lifecycle failures.
  5. Check hasChanges() before closing and call destroy() when the editor is no longer needed.

Guardrails

  • Use https://cdn.unlayer.com/image-editor/embed.js for the JavaScript loader.
  • Use @unlayer/react-image-editor for React; do not substitute react-email-editor.
  • Verify the package version with npm view @unlayer/react-image-editor version before pinning it.
  • Wait for the Promise returned by createEditor() before calling instance methods.
  • Treat projectId as required for AI features. Manual tools do not require a paid feature.
  • Expect remote image URLs to require CORS access; use onLoadError for fetch, decode, or 404 failures.
  • Preserve the distinction between dataUrl and blob: preview with the former, upload the latter.

Official Resources

Read the full file on GitHub · 49 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 49 lines · 101 tokens per session scan A 0ede2caf926a

Subscribe to this mod's changes

unlayer-image-editor is a skill published in the GitHub repository unlayer/unlayer-skills (13 stars, last pushed 1mo ago), licensed MIT. It adds 101 tokens to every session and 640 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

infographics

Create professional infographics using Nano Banana Pro AI with smart iterative refinement. Uses Gemini 3 Pro for quality review. Integrates research-lookup and web search for accurate data. Supports 10 infographic types, 8 industry styles, and colorblind-safe palettes.

foryourhealth111-pixel/Vibe-Skills · 55 tokens

svg-primitives

Use when the user asks to build a programmatic SVG schematic in Python: flowcharts, boxes and arrows, auto-fit SVG text, mm-precise diagrams, edge-snapped arrows, tangent-correct curve arrowheads, orthogonal or Manhattan routing, deterministic z-order layers, labeled groups, bracket groupings, leader-line annotations…

neuromechanist/research-skills · 126 tokens

transparent-icons

This skill should be used when the user asks to "make an icon", "generate an icon", "create a scientific icon", "make a transparent icon", "make a minimal icon", "icon for a figure", "icon for a paper", "generate an icon set", "batch icons", "icon batch", "batch generate icons", or wants flat scientific icons (brain…

neuromechanist/research-skills · 147 tokens

excalidraw-visual-designer

Create and revise editable visual drawings directly in the Excalidraw website through the in-app browser. Use when the user asks Codex to draw in Excalidraw or update an Excalidraw canvas, including diagrams, flowcharts, architecture sketches, process maps, infographics, teaching visuals, product explanation graphics…

guanyang/super-publisher · 111 tokens

wechat-sticker-assets-designer

A design skill for creating the supporting images used when publishing WeChat sticker packs, including a banner, a support-request image, and a thank-you image.

guanyang/super-publisher · 56 tokens

overlay-svg-text

How to overlay on-brand SVG text on Lossless OG / share imagery — Hack Bold gradient-filled h1, thin sans eyebrow, Poor Story handwritten note. Use whenever a generated OG image needs title/eyebrow/sub text composited on top before it ships (the empty-region zone from generate-consistent-og-images is the canvas this…

lossless-group/lossless-agent-skills · 262 tokens