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.
npx skills add meitu/meitu-skills --skill meitu-game-2d-assetsgit clone --depth 1 https://github.com/meitu/meitu-skillsWrote 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.
[](https://agentmods.dev/skills/meitu/meitu-skills/meitu-game-2d-assets)<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.
<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>- NVIDIA SkillSpector warn
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.
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.
| Model | Per session | Once 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 |
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.
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 游戏生产可直接进入后续美术流程的素材草图与半成品,重点覆盖:
- 单体素材:图标、道具、武器、金币、宝箱、药水、UI 小物件
- 角色素材:角色立绘、敌人概念图、NPC 半身或全身设定
- 网格素材:四宫格/九宫格 sprite sheet、简易动作帧、tileset 草图
- 资产整理:透明底导出、宫格拆分、清晰度增强、局部重绘
本 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
meitu --version-> 未安装则提示npm install -g meitu-climeitu auth verify --json-> 凭证无效则引导配置- Detect mode: cwd has
openclaw.yaml-> project mode; else -> one-off can_record = cwd 有openclaw.yamlAND$VISUAL存在(两者缺一即 false) - Resolve output_dir:
openclaw.yaml->./output/| else ->$VISUAL/output/meitu-game-2d-assets/mkdir -p {output_dir} - 解析用户需求中的最少资产规格:
- asset_type:
icon | prop | character | enemy | tileset | sprite-sheet - style:
pixel | flat-vector | hand-painted | chibi-cartoon | retro-rpg | custom - ratio:未指定时按素材类型自动补默认值
- asset_type:
Context(项目模式执行 / 一次性模式跳过)
mode = one-off -> 跳过此步,直接到 Execute。以下仅限 project 模式:
- 读
./DESIGN.md,提取世界观、题材、平台、角色设定、UI 风格、目标分辨率 - 若
DESIGN.md提到品牌或项目资产,按需读取$VISUAL/assets/ - 读
$VISUAL/rules/quality.yaml-> forbidden list - 读
$VISUAL/memory/global.md-> 全局美术偏好 - 从
openclaw.yaml读project.types(数组优先)或project.type-> 对每个 type 读$VISUAL/memory/scenes/{type}.md
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.
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.
- 12d ago First seen · 344 lines · 117 tokens per session scan A a2ac5865a856
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.
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.
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).
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…
motion
How an agent turns a character mesh into a usable animated FBX — and how to judge whether the result is shippable.
unity-addressables
Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based).
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.