mcpField
C
cli-anything-live2d

cli-anything-live2d

github.com/hkudsCreative & media57.6k230 installsUpdated 5w ago
Repository

About cli-anything-live2d

cli-anything-live2d is a command-line toolkit for inspecting, editing, validating, and packaging Live2D Cubism models without the Live2D Editor. It serves model creators and asset workflows with commands for analysis, batch changes, generation, and deployment preparation.

Key features

  1. 01Inspect model structure and assets
  2. 02Edit motions, expressions, and textures
  3. 03Lint and check runtime compatibility
  4. 04Batch-edit models and track changes
  5. 05Generate templates and package assets

Use cases

  1. 01Review a model's files and dependencies
  2. 02Apply edits across multiple models
  3. 03Prepare model assets for deployment

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/hkuds/cli-anything --skill cli-anything-live2d

After installing, type/cli-anything-live2din Claude Code to confirm it loaded.

Details

From the project README

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)
CommandPurpose
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)
CommandPurpose
edit-motionEdit motion fade times or file path
add-motionAdd motion to group
rm-motionRemove motion
add-exprAdd expression
rm-exprRemove expression
edit-textureReplace texture path
edit-modelEdit moc3/physics/pose/userdata
param-editEdit parameter value in .exp3.json
rename-groupRename a motion group
find-replaceBatch rename file references
Generation (3)
CommandPurpose
initGenerate full model template
gen-motionGenerate skeleton .motion3.json
gen-exprGenerate skeleton .exp3.json
Analysis (4)
CommandPurpose
lintBest practice checks
runtime-checkCubism Viewer / Web SDK / Yoyo compatibility
atlasTexture atlas analysis
orphanFind unreferenced files
Workflow (7)
CommandPurpose
undoRestore from auto-backup
backup-cleanRotate old backups
restore-fileRestore specific file from backup
batchBatch-edit multiple models
snapshotGenerate HTML preview
watchAuto-validate on file changes
flattenFlatten directory for deployment
Other (3)
CommandPurpose
migrateModel format version upgrade
packPackage model + deps into zip
yoyo-checkYoyo 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/

Comments

Markdown supported