meitu-game-2d-assets

meitu-game-2d-assets is a skill for Claude Code, Codex from meitu/meitu-skills. It costs 117 tokens per session (4,193 once invoked), scanned A, original, MIT.

A workflow for creating 2D game art, including standalone objects, character images, icons, simple sprite sheets, and tile-set sketches. A sprite sheet is one image containing animation frames; a tile set is a collection of pieces used to build game environments.

In plain words
What is it for?
Creating or adapting pixel, flat-vector, or hand-drawn game assets such as characters, enemies, weapons, coins, chests, potions, interface objects, animation frames, and environment tiles.
Why use it?
It provides a defined path from an idea or reference image to usable art drafts, including transparent backgrounds, frame separation, and resolution improvements.

Skill for Claude CodeCodex

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

Good fit Creating or adapting pixel, flat-vector, or hand-drawn game assets such as characters, enemies, weapons, coins, chests, potions, interface objects, animation frames, and environment tiles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/meitu/meitu-skills/meitu-game-2d-assets
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 meitu-game-2d-assets
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 meitu-game-2d-assets

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/meitu/meitu-skills/meitu-game-2d-assets"><img src="https://agentmods.dev/badge/skills/meitu/meitu-skills/meitu-game-2d-assets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,193 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: 7 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 19
    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 72
    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 31
    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.00117 $0.04193
Opus 5 $0.00059 $0.02096
Sonnet 5 $0.00023 $0.00839
Haiku 4.5 $0.00012 $0.00419

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

Security

Grade A, and why

meitu-game-2d-assets 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 12d 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/meitu-game-2d-assets/SKILL.md · 344 lines

How it starts

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

meitu-game-2d-assets

Overview

面向 2D 游戏生产可直接进入后续美术流程的素材草图与半成品,重点覆盖:

  1. 单体素材:图标、道具、武器、金币、宝箱、药水、UI 小物件
  2. 角色素材:角色立绘、敌人概念图、NPC 半身或全身设定
  3. 网格素材:四宫格/九宫格 sprite sheet、简易动作帧、tileset 草图
  4. 资产整理:透明底导出、宫格拆分、清晰度增强、局部重绘

本 Skill 的目标不是做完整游戏场景原画、3D 建模或复杂骨骼动画,而是为游戏策划、美术和独立开发者快速产出可迭代的 2D 资产基础稿。

Dependencies

  • tools: meitu-cli
    • text-to-image - 从文字生成单体素材、角色概念、sprite sheet 或 tileset 草图
    • image-edit - 基于参考图做局部修改、延续风格批量变体、修正细节
    • image-cutout - 将生成结果抠成透明底素材
    • image-grid-split - 将 sprite sheet / 宫格图拆成独立帧
    • image-superres-enhance - 对低分辨率素材做超分和锐化增强
  • credentials: 美图 AI 开放平台 API 凭证
    • 环境变量:MEITU_OPENAPI_ACCESS_KEY / MEITU_OPENAPI_SECRET_KEY
    • 或配置文件:~/.meitu/credentials.json
    • 验证:meitu auth verify --json
  • workspace (optional): {OPENCLAW_HOME}/workspace/visual/
    • Not found -> skip all knowledge reads, skill works without it

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

Core Workflow

Preflight -> [Context] -> Execute -> Refine -> Deliver -> [Record]
             ^ 创意型任务执行                  ^ 项目模式时执行
             ^ 一次性模式跳过 Context         ^ 一次性模式跳过

Preflight

  1. meitu --version -> 未安装则提示 npm install -g meitu-cli
  2. meitu auth verify --json -> 凭证无效则引导配置
  3. Detect mode: cwd has openclaw.yaml -> project mode; else -> one-off can_record = cwd 有 openclaw.yaml AND $VISUAL 存在(两者缺一即 false)
  4. Resolve output_dir: openclaw.yaml -> ./output/ | else -> $VISUAL/output/meitu-game-2d-assets/ mkdir -p {output_dir}
  5. 解析用户需求中的最少资产规格:
    • asset_type:icon | prop | character | enemy | tileset | sprite-sheet
    • style:pixel | flat-vector | hand-painted | chibi-cartoon | retro-rpg | custom
    • ratio:未指定时按素材类型自动补默认值

Context(项目模式执行 / 一次性模式跳过)

mode = one-off -> 跳过此步,直接到 Execute。以下仅限 project 模式:

  1. ./DESIGN.md,提取世界观、题材、平台、角色设定、UI 风格、目标分辨率
  2. DESIGN.md 提到品牌或项目资产,按需读取 $VISUAL/assets/
  3. $VISUAL/rules/quality.yaml -> forbidden list
  4. $VISUAL/memory/global.md -> 全局美术偏好
  5. openclaw.yamlproject.types(数组优先)或 project.type -> 对每个 type 读 $VISUAL/memory/scenes/{type}.md

Read the full file on GitHub · 344 lines

Files

What ships with it

1 file 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. 12d ago First seen · 344 lines · 117 tokens per session scan A a2ac5865a856

Subscribe to this mod's changes

meitu-game-2d-assets is a skill published in the GitHub repository meitu/meitu-skills (32 stars, last pushed 15d ago), licensed MIT. It adds 117 tokens to every session and 4,193 once invoked, about $0.0006 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

gameobject-component-destroy

Destroy one or more Components from a target GameObject. Missing (null) components are skipped — they cannot be destroyed. Use 'gameobject-find' and 'gameobject-component-get' to identify the components first.

IvanMurzak/Unity-MCP · 49 tokens

unity-version-split

Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).

IvanMurzak/Unity-MCP · 59 tokens

godot-signals-groups

Build event-driven, decoupled Godot 4.7 gameplay with signals and node groups: declare and emit custom signals, connect with Callables (incl. bind/one-shot), and broadcast to many nodes via groups and callgroup. Use when wiring node communication in a Godot project, replacing tight references with signals…

gamedev-skills/awesome-gamedev-agent-skills · 95 tokens

motion

How an agent turns a character mesh into a usable animated FBX — and how to judge whether the result is shippable.

OpenDCAI/GameFactory-3A · 0 tokens

unity-addressables

Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based).

Besty0728/Unity-Skills · 25 tokens

threejs-exposure-color-grading

Build a measured exposure and grading path in Three.js. Use for a 64x36 encoded luminance meter, asynchronous readback, weighted log-average exposure, asymmetric adaptation, single tone-map ownership, and a generated 32-cube post-tone-map LUT.

scottstts/Threejs-Awesome-Graphics-Agent-Skills · 60 tokens