Communitygithub.com

cli-anything-live2d

在命令行中检查、验证、编辑、代码规范检查、比对、批量管理及部署 Live2D Cubism 模型(.model3.json)的全功能CLI。

cli-anything-live2d 是什么?

cli-anything-live2d 是一个面向 Live2D Cubism 模型的全功能命令行工具,提供 42 个命令覆盖检查、编辑、代码规范检查、差异对比、批量操作、资源管理、生成和部署等环节,无需打开 Live2D Editor 即可完成大部分模型管理工作。它支持所有主要平台(Cubism Viewer、Web SDK、Yoyo 桌面宠物),并且所有只读命令都支持 --json 输出,编辑命令会自动备份原始文件。该工具还能对模型进行运行时兼容性检查、纹理图集分析、孤立文件查找,以及生成 HTML 预览快照。通过 watch 命令可以实现文件变更时自动验证,非常适合集成到开发工作流或 CI/CD 管道中。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-live2d

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

cli-anything-live2d 是做什么的?

用于 Live2D Cubism 模型的全功能 CLI。包含 42 条命令,涵盖检查、编辑、代码规范检查、差异对比、批量操作、资源管理、生成和部署——全部无需 Live2D Editor。

命令(共 42 条)

读取(18 条)

命令用途
inspect <model>模型概览(版本、数量、特性)
validate <model>检查所有引用的文件是否存在
motions <model>列出动作及淡入淡出时间
motion-info <file>详细的动作分析
expressions <model>列出表情预设
expr-info <file>详细的表情分析
textures <model>列出纹理及其尺寸和大小
physics <file>物理模拟配置
moc3 <file>Moc3 二进制信息
params <model>参数分组
param-list <model>所有动作/表情的参数
deps <model>依赖关系图
compare <a> <b>快速比较
diff <a> <b>详细差异对比
scan <dir>在目录中查找所有模型
export <model>导出为 JSON/CSV
stats <dir>项目概览
manifest <model>文件清单(含 SHA256 校验和)

编辑(10 条,全部自动备份)

命令用途
edit-motion编辑动作的淡入淡出时间或文件路径
add-motion向分组添加动作
rm-motion移除动作
add-expr添加表情
rm-expr移除表情
edit-texture替换纹理路径
edit-model编辑 moc3/physics/pose/userdata
param-edit编辑 .exp3.json 中的参数值
rename-group重命名动作分组
find-replace批量重命名文件引用

生成(3 条)

命令用途
init生成完整的模型模板
gen-motion生成骨架 .motion3.json
gen-expr生成骨架 .exp3.json

分析(4 条)

命令用途
lint最佳实践检查
runtime-check检查 Cubism Viewer / Web SDK / Yoyo 兼容性
atlas纹理图集分析
orphan查找未被引用的文件

工作流(7 条)

命令用途
undo从自动备份中恢复
backup-clean轮换旧备份
restore-file从备份中恢复特定文件
batch批量编辑多个模型
snapshot生成 HTML 预览
watch文件更改时自动验证
flatten扁平化目录以用于部署

其他(3 条)

命令用途
migrate模型格式版本升级
pack将模型 + 依赖打包为 zip
yoyo-check检查 Yoyo 桌面宠物就绪状态

所有读取命令均支持 --json。编辑命令自动备份。

示例

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/

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cli-anything-adguardhome

>-

cli-anything-anygen

>-

cli-anything-audacity

>-

cli-anything-blender

>-

cli-anything-browser

Browser automation CLI using DOMShell MCP server. Maps Chrome

cli-anything-calibre

>-

cli-anything-ccswitch

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

cli-anything-chromadb

>-

cli-anything-cloudanalyzer

Command-line interface for CloudAnalyzer — Agent-friendly harness for CloudAnalyzer, a QA platform for mapping, localization, and perception outputs. Supports 27 commands across 8 groups: point cloud evaluation, trajectory evaluation, ground segmentation QA, config-driven quality gates, baseline evolution, processing, visualization, and interactive REPL.

cli-anything-cloudcompare

Command-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 commands across 9 groups: project management, session control, point cloud operations (subsample, filter, segment, analyze), mesh operations, distance computation (C2C, C2M), transformations (ICP, matrix), export (LAS/LAZ/PLY/PCD/OBJ/STL/E57), and interactive REPL.

cli-anything-comfyui

>-

cli-anything-dify-workflow

Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.

cli-anything-drawio

>-

cli-anything-eez-studio

Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.

cli-anything-eth2-quickstart

>-

cli-anything-exa

>-

cli-anything-firefly-iii

Firefly III CLI - Personal finance management via CLI-Anything

cli-anything-freecad

Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands). Covers ALL workbenches: Part (29 primitives + boolean + mirror + loft + sweep), Sketcher (26 cmds: geometry + constraints + editing), PartDesign (38 cmds: pad/pocket/groove/fillet/chamfer/patterns/hole/datum), Assembly (11 cmds), Mesh (16 cmds), TechDraw (15 cmds: views + dimensions + PDF/SVG), Draft (33 cmds: 2D shapes + arrays + transforms), FEM (12 cmds), CAM/CNC (10 cmds), Surface (6 cmds), Spreadsheet (7 cmds), Import (13 formats), Export (17 formats), Measure (12 cmds), Materials (21 presets). Headless FreeCAD export to STEP/IGES/STL/OBJ/DXF/PDF/glTF/3MF.

cli-anything-gimp

>-

cli-anything-godot

>-

相关技能