sn-image-to-layers

sn-image-to-layers is a skill for Claude Code, Codex from OpenSenseNova/SenseNova-Skills. It costs 89 tokens per session (2,915 once invoked), scanned A, original, MIT.

A skill for separating a single image into independently editable layers and rebuilding parts hidden behind other objects. It can produce layer assets and a composite preview, with an optional editable PowerPoint file when requested.

In plain words
What is it for?
Use it to decompose images, reconstruct occluded content, prepare editable assets, and optionally export the result as a PPTX file.
Why use it?
It avoids having to recreate a poster, screenshot, or one-page design from scratch when the original layers are unavailable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to decompose images, reconstruct occluded content, prepare editable assets, and optionally export the result as a PPTX file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/opensensenova/sensenova-skills/sn-image-to-layers
About the project

SenseNova-Skills is a collection of modular skills that extend SenseNova models with office-assistant capabilities such as image generation, presentation creation, spreadsheet analysis, and research. The skills are designed for use in agent runtimes and can be combined into productivity workflows; the catalogue entries are individual skills and agents from this collection.

OpenSenseNova/SenseNova-Skills · 6,134 stars · on GitHub

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 OpenSenseNova/SenseNova-Skills --skill sn-image-to-layers
Clone the repo
git clone --depth 1 https://github.com/OpenSenseNova/SenseNova-Skills

Made for: Claude Code, 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 sn-image-to-layers

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/opensensenova/sensenova-skills/sn-image-to-layers"><img src="https://agentmods.dev/badge/skills/opensensenova/sensenova-skills/sn-image-to-layers.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,915 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.00089 $0.02915
Opus 5.5 $0.00036 $0.01166
Sonnet 5.5 $0.00018 $0.00583
Haiku 4.5 $0.00009 $0.00292

Measured today against content hash a808648bb7cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sn-image-to-layers 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 today.

The scan reads SKILL.md. This mod also ships 51 executable files (scripts/deliver.mjs, scripts/host-options.cjs, scripts/host.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/sn-image-to-layers/SKILL.md · 128 lines

How it starts

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

Image layer decomposition

This skill supplies rules and local scripts only: the current host's model does the layer planning, the host's image tool does generation, and local scripts do the rest. It calls no external model or image API and sends no image anywhere else.

Below, HOST means the absolute path of scripts/host.py inside this skill. Write the interpreter as python3 (macOS/Linux) or python (Windows).

Before you start: check the environment

Run python3 HOST doctor. It only checks and installs nothing, reporting the Python version, Node.js version, npm, whether the cache directory is writable, and whether dependencies are ready. Exit code 0 means everything is satisfied; a non-zero exit lists what is missing and is not a crash.

  • When dependencies are not ready, run python3 HOST setup to install them with npm and pip; this needs network access. For offline runs, point LAYER_SKILL_CACHE at a prepared writable cache that matches the current platform and Python.
  • Python 3.10+ and Node.js 22+ are required. If a check fails and cannot be fixed, report what is missing and how to fix it, then stop without planning.

The host must also provide an image editing tool that satisfies all of:

  • it accepts a reference image as input; text-to-image alone does not count;
  • its result can be saved as a PNG file, with alpha preserved on foreground layers;
  • its output proportions match the reference image, or the proportion can be specified.

If any of these fails, stop before writing the plan and say which one is missing. Do not substitute another route for generate, and do not report that layer as finished.

From the source image to a plan

  1. Look at the source image first, confirm the pixel size as displayed after applying EXIF orientation, and decide the layering together with the user's editing needs. Read planning rules: it holds the rules for choosing layers and routes, the coordinate conventions, and a minimal example you can copy. To page through it from a shell, python3 HOST plan-prompt prints the same file and needs no installation.
  2. The current agent's model writes a layer-plan-v15 plan.json directly. Layers go in boxes, and each layer chooses its route in reconstruction.method. Fill the script parameters for text and geometry up front in reconstruction.parameters, and leave complex SVG source until you can see the crop. Use an original plan the user already provided as-is.
  3. Run python3 HOST prepare --input SOURCE --plan plan.json --run NEW_DIRECTORY. The script validates the plan, stores its text, and cuts the reference images for host jobs. prepare renders nothing: the returned scriptLayers are rendered by the local scripts only when you run render-local, and jobs are the tasks the current host must perform.

Read the full file on GitHub · 128 lines

Files

What ships with it

60 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. today First seen · 128 lines · 89 tokens per session scan A a808648bb7cc

Subscribe to this mod's changes

sn-image-to-layers is a skill published in the GitHub repository OpenSenseNova/SenseNova-Skills (6,134 stars, last pushed yesterday), licensed MIT. It adds 89 tokens to every session and 2,915 once invoked, about $0.0004 per session on Opus 5.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-12-05.

Related

sn-image-to-layers compared with skills from other repositories

sn-image-to-layers next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sn-image-to-layersOpenSenseNova/SenseNova-SkillsSkill6.1kyesterdayMITA89Claude Code, Codex
cindy-theme-creatormakecindy/cindySkill11ktodayApache-2.0A65Codex
proto-bot-getting-startedmakecindy/cindySkill11ktodayApache-2.0A43Claude Code, Codex
proto-bot-opsmakecindy/cindySkill11ktodayApache-2.0A38Claude Code, Codex
mermaid-diagramshiwenwen/hope-agentSkill1.9kyesterdayMITA55Claude Code, Codex
algolia-autocompletealgolia/skillsSkill1210d agoMITA185Claude Code, Codex
algolia-instantsearch-uialgolia/skillsSkill1210d agoMITA198Claude Code, Codex