image-grid-split

image-grid-split is a skill for Claude Code, Codex from meitu/meitu-skills. It costs 78 tokens per session (1,477 once invoked), scanned A, original, MIT.

An image tool that detects the dividing lines in a collage or grid image and splits it into separate pictures.

In plain words
What is it for?
Use it to separate social-media grid images, collages, or combined product pictures into individual files.
Why use it?
It avoids manually measuring and cropping each section of a four-, six-, or nine-panel image.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to separate social-media grid images, collages, or combined product pictures into individual files.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/meitu/meitu-skills/image-grid-split"><img src="https://agentmods.dev/badge/skills/meitu/meitu-skills/image-grid-split.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,477 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 6 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 5
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 7
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 13
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 15
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 21
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Rogue Agent · line 25
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00078 $0.01477
Opus 5 $0.00039 $0.00739
Sonnet 5 $0.00016 $0.00295
Haiku 4.5 $0.00008 $0.00148

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

Security

Grade A, and why

image-grid-split 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.

skills/image-grid-split/SKILL.md · 126 lines

How it starts

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

图片拆分(image-grid-split)

Overview

自动识别宫格分割线,将单张多格图拆分为多张独立图片。覆盖四宫格/九宫格/六宫格等标准网格自动拆分,自动识别分割线位置;用于电商多图拼合图分离、社交媒体宫格图还原。仅需 image_url,无需指定宫格数。

执行前应让用户清楚知道:本 Skill 会读取 Meitu 凭证、调用本地 meitu CLI、将用户提供的图片 URL 发送到 Meitu OpenAPI 处理,并把拆分结果写入 ./output/$VISUAL/output/image-grid-split/

API Mapping

  • 宫格拆分:image_grid_split

Dependencies

  • meitu-cli: >=2.0.6npm install -g meitu-cli@latest
  • 凭证:CONFIG AKSK → meitu tools update;EXEC AKSK → 实际执行(见根 CONFIG.md
  • 环境变量MEITU_OPENAPI_TOOL_TASK_MODE=command

路径别名:$VISUAL = {OPENCLAW_HOME}/workspace/visual/

Core Workflow

Preflight → Execute → Deliver

Preflight

  1. meitu --version ≥ 2.0.6(否则 npm install -g meitu-cli@latest
  2. 确认已跑过 meitu tools update(用 CONFIG AKSK)
  3. 当前 AKSK = EXEC,且 MEITU_OPENAPI_TOOL_TASK_MODE=command
  4. 解析 output_dir:openclaw.yaml → ./output/ |else → $VISUAL/output/image-grid-split/mkdir -p

Execute

触发信号 / 路由规则

场景 判定关键词 路由
宫格图拆分 四宫格、九宫格、切成多张、拼图拆开、格子图 image_grid_split

决策顺序:

  1. image_url 缺失 → 追问
  2. 唯一路由:调用 image_grid_split,自动检测分割线(无需用户指定宫格数)

单 API 工具:参数齐全即调用,失败重试 1 次后返回错误;不做跨工具兜底。非宫格图 / 未检测到分割线时按等分切割处理并告知用户。

参数定义

参数 类型 必填 范围 默认值 说明
image_url STRING -- -- 图片地址(需为宫格图)。缺失 → 提示"请提供需要拆分的宫格图"

工具调用

meitu image-grid-split \
  --skill_name skill_image-grid-split \
  --image_url <image_url> \
  --json \
  --download-dir {output_dir}

错误降级

场景 处理方式
image_url 缺失 提示"请提供需要拆分的宫格图"
image_url 不可访问 直接返回图片链接无效错误,不重试
非宫格图片 正常调用(按等分切割),告知用户结果可能不理想
未检测到分割线 按等分切割处理
image_grid_split 调用失败 重试 1 次,仍失败返回错误
内容合规拦截 返回合规提示,不重试
用户想裁剪某区域 本工具仅支持拆分宫格图,不支持裁剪
用户要拼合 方向相反,本工具仅拆分不拼合

Deliver

  • 直接使用 Preflight 解析的 output_dir
  • downloaded_files[*].saved_path 读取全部已下载文件路径
  • 按序重命名为 {YYYY-MM-DD}_{descriptive}_image-grid-split_{idx}.jpg(多张输出以 idx 递增)

Read the full file on GitHub · 126 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. 9d ago First seen · 126 lines · 78 tokens per session scan A c740cfa759cc

Subscribe to this mod's changes

image-grid-split is a skill published in the GitHub repository meitu/meitu-skills (32 stars, last pushed 12d ago), licensed MIT. It adds 78 tokens to every session and 1,477 once invoked, about $0.0004 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

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

diagnostic-stem-delivery

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.

HKUDS/OpenSpace · 23 tokens

chengfeng-check-updates

An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens