跳到正文
Skillpedia
图片与图标58k · #3218

cli-anything-live2d

它能做什么

这个技能让你的智能体通过命令行工具处理 Live2D 角色模型。适合制作动画二维角色、希望检查或管理模型文件的动画师和开发者。

适用场景

  • ✓当你想检查 Live2D 模型是否缺少文件的时候。
  • ✓当你想列出模型的动作、表情或贴图的时候。
  • ✓当你想比较 Live2D 模型的两个版本的时候。

技能链接

https://github.com/HKUDS/CLI-Anything/blob/main/live2d/agent-harness/cli_anything/live2d/skills/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/HKUDS/CLI-Anything/blob/main/live2d/agent-harness/cli_anything/live2d/skills/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我检查 Live2D 模型是否缺少文件,并列出它的动作和贴图。”

每周 5 个新技能,1 分钟读完。

工作原理

这个技能读取模型的配置和关联文件,然后报告它发现的内容。它的编辑命令会自动做备份,还可以检查、比对和部署模型。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

cli-anything-live2d

Full-featured CLI for Live2D Cubism models. 42 commands covering inspection, editing, linting, diffing, batch operations, asset management, generation, and deployment — all without the Live2D Editor.

Commands (42 total)

Read (18)

Command Purpose
inspect <model> Model overview (version, counts, features)
validate <model> Check all referenced files exist
motions <model> List motions with fade times
motion-info <file> Detailed motion analysis
expressions <model> List expression presets
expr-info <file> Detailed expression analysis
textures <model> List textures with dimensions and sizes
physics <file> Physics simulation config
moc3 <file> Moc3 binary info
params <model> Parameter groups
param-list <model> All params across motions/expressions
deps <model> Dependency graph
compare <a> <b> Quick comparison
diff <a> <b> Detailed diff
scan <dir> Find all models in directory
export <model> Export as JSON/CSV
stats <dir> Project overview
manifest <model> File inventory with SHA256 checksums

Edit (10, all auto-backup)

Command Purpose
edit-motion Edit motion fade times or file path
add-motion Add motion to group
rm-motion Remove motion
add-expr Add expression
rm-expr Remove expression
edit-texture Replace texture path
edit-model Edit moc3/physics/pose/userdata
param-edit Edit parameter value in .exp3.json
rename-group Rename a motion group
find-replace Batch rename file references

Generation (3)

Command Purpose
init Generate full model template
gen-motion Generate skeleton .motion3.json
gen-expr Generate skeleton .exp3.json

Analysis (4)

Command Purpose
lint Best practice checks
runtime-check Cubism Viewer / Web SDK / Yoyo compatibility
atlas Texture atlas analysis
orphan Find unreferenced files

Workflow (7)

Command Purpose
undo Restore from auto-backup
backup-clean Rotate old backups
restore-file Restore specific file from backup
batch Batch-edit multiple models
snapshot Generate HTML preview
watch Auto-validate on file changes
flatten Flatten directory for deployment

Other (3)

Command Purpose
migrate Model format version upgrade
pack Package model + deps into zip
yoyo-check Yoyo desktop-pet readiness

All read commands support --json. Edit commands auto-backup.

Examples

cli-anything-live2d inspect model.model3.json
cli-anything-live2d lint model.model3.json --level info
cli-anything-live2d edit-motion model.model3.json -g Idle -i 0 --fade-in 0.3
cli-anything-live2d find-replace model.model3.json -f "old_tex" -f "new_tex"
cli-anything-live2d orphan model.model3.json
cli-anything-live2d runtime-check model.model3.json --target web-sdk
cli-anything-live2d flatten model.model3.json --out-dir ./deploy/
cli-anything-live2d batch ./models/ --set-fade-in 0.3 --dry-run
cli-anything-live2d snapshot model.model3.json --embed
cli-anything-live2d stats ./project/
常见问题

我需要 Live2D 编辑器吗?

不需要,这个技能无需 Live2D 编辑器即可工作。

编辑前会备份文件吗?

会,它的编辑命令会先自动进行备份。

它会检查什么?

它会检查模型引用的所有文件是否存在,并可以对模型进行详细比较。

详情

作者的原始描述

Inspect, validate, edit, lint, diff, batch-manage, and deploy Live2D Cubism models (.model3.json) from the command line.

repo: HKUDS/CLI-Anything

热度

GitHub 星标
58k
排名
#3218
许可证
Apache-2.0
更新时间
2026/9/21

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能