Communitygithub.com

cli-anything-live2d

從命令列檢查、驗證、編輯、lint、比對、批次管理及部署 Live2D Cubism 模型 (.model3.json)。

cli-anything-live2d 是什麼?

這個技能提供了一個完整的命令列工具,用於處理 Live2D Cubism 模型,無需安裝官方付費編輯器。它包含 42 個指令,涵蓋讀取(檢查、驗證、比較、匯出)、編輯(自動備份、修改動作、表情、紋理等)、生成(範本、骨架檔案)、分析(Lint、執行環境相容性、紋理圖集、孤立檔案)及工作流程(批次處理、快照預覽、監控變更、部署目錄扁平化)。支援 `--json` 輸出、自動備份還原、版本遷移及打包部署,適合需要自動化或批次處理 Live2D 模型的開發者與創作者。

相容平台~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 是做什麼的?

功能完整的 CLI 工具,用於 Live2D Cubism 模型。42 個指令涵蓋檢查、編輯、lint、比對、批次操作、資產管理、生成及部署——全部無需 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-checkCubism Viewer / Web SDK / Yoyo 相容性檢查
atlas紋理圖集分析
orphan尋找未參考的檔案

工作流程 (7)

指令用途
undo從自動備份還原
backup-clean輪換舊備份
restore-file從備份還原特定檔案
batch批次編輯多個模型
snapshot產生 HTML 預覽
watch檔案變更時自動驗證
flatten扁平化目錄以供部署

其他 (3)

指令用途
migrate模型格式版本升級
pack將模型與相依性打包成 zip
yoyo-checkYoyo 桌面寵物就緒檢查

所有讀取指令均支援 --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

>-

相關技能