Skip to content

Guide · Agent skill

How to use the Live2D Model CLI Toolkit agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

The cli-anything-live2d skill teaches an AI agent to work with Live2D Cubism models, the layered 2D character files used in animated avatars, VTuber rigs and desktop pets. This guide explains what the skill lets the agent do, how to install it, how to ask for things in plain language, and what to check before running edits. By the end you will be able to ask your agent to inspect, check, edit or package a model and know what to review first.

Live2D Model CLI ToolkitHKUDS/CLI-Anything · Apache-2.0

Quick start

  1. 1Download the skill ZIP. Download the ZIP file for the cli-anything-live2d skill from this page.
  2. 2Unzip the skill folder. Unzip it into ~/.claude/skills/ for all projects, or into a project's .claude/skills/ folder for one project.
  3. 3Or upload it in the Claude apps. In the Claude apps, go to Settings, then Capabilities, then Skills, and upload the skill.
  4. 4Install the command-line tool. Install cli-anything-live2d, the Python package from the CLI-Anything repository, following that repository's instructions.
  5. 5Ask for a check in plain language. Describe the task and name your model file, for example asking the agent to validate or lint it.
  6. 6Preview any batch change. For batch edits, run with --dry-run first and review the output before applying changes.

What the skill lets the agent do

A skill is a folder of instructions that an AI agent loads when a task matches it. This one is built around a command-line tool called cli-anything-live2d, which offers 42 commands for Live2D Cubism models stored as .model3.json files.

The commands fall into groups: reading (inspect, validate, motions, expressions, textures, diff, manifest and others), editing (edit-motion, add-expr, find-replace and others), generation (init, gen-motion, gen-expr), analysis (lint, runtime-check, atlas, orphan), workflow (undo, batch, snapshot, watch, flatten) and packaging (migrate, pack, yoyo-check). Most of this works without opening the Live2D Editor.

  • Inspect a model: version, counts and features
  • Validate that all referenced files exist
  • Lint a model against best practices
  • Diff two model versions or compare them quickly
  • Edit motion fade times, expressions and texture paths, with automatic backups
  • Batch-edit many models at once, with a dry-run option
  • Package a model and its dependencies into a zip for deployment

Install the skill and the command-line tool

There are two parts. First, install the skill itself: download the ZIP file from this page and unzip it into ~/.claude/skills/ for all your projects, or into a project's .claude/skills/ folder for that project only. Alternatively, if you use the Claude apps, upload the skill under Settings, then Capabilities, then Skills.

Second, the skill needs the cli-anything-live2d command-line tool. The source says it is a Python package from the CLI-Anything repository, so follow the installation instructions in that repository. This page does not list a specific install command, so check the repository for the current method.

  • Skill files: SKILL.md (the only file listed for this skill)
  • Tool: cli-anything-live2d, from the CLI-Anything repository
  • Model files: Live2D Cubism .model3.json models and their related assets

How to trigger the skill with natural requests

You do not need to type commands yourself. Describe the task in plain language and mention your model file, and the agent should pick the skill when the request matches its purpose. Name the action you want, such as checking, linting, comparing, batch-changing or packaging.

For edits, say which motion group or file you mean. The skill's edit commands make automatic backups, but you should still review the result.

  • Check whether every file referenced by hair.model3.json exists.
  • Lint my model and list the problems, with info-level detail.
  • Compare the old and new versions of this rig and tell me what changed.
  • Set the fade-in time to 0.3 for every model in this folder, but only show me a dry run first.
  • Package this model and its dependencies for deployment in a web app.

Examples of commands the agent can run

These are examples from the skill's own documentation. You can run them yourself in a terminal, or ask the agent to run them for you. Each command takes a model file or folder as its input.

  • inspect and lint: check a model and its best practices
  • find-replace: rename file references in a model
  • orphan: find files not referenced by the model
  • runtime-check with the web-sdk target: check compatibility with the Web SDK
  • flatten with an output folder: prepare a folder for deployment
  • batch with a dry run: preview changes across a folder
  • snapshot with embed: generate an HTML preview
  • stats on a project folder: get a project overview
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/

What you need before you start

You need the cli-anything-live2d tool installed and Live2D Cubism model files, meaning .model3.json files and their related assets. The skill only covers .model3.json-based Cubism models. Other 2D or 3D formats are outside its scope.

The skill runs scripts. It is listed as not using the network. Read commands support a --json option, which is useful when you want machine-readable output.

  • cli-anything-live2d installed as a Python package from the CLI-Anything repository
  • Live2D Cubism model files (.model3.json and related assets)
  • A backup of your models before any batch or edit command

Safety notes before editing

Edit commands create automatic backups, and the undo command can restore from them. However, the source notes that the backups depend on the files the tool can access. Do not treat them as your only protection.

For batch operations, preview with --dry-run first. Keep a separate copy of any model you cannot afford to lose, especially if it is your only copy.

  • Keep a separate backup of models before batch edits
  • Always preview batch changes with --dry-run
  • Scripts run on your machine, so only install skills you trust
  • Use backup-clean and restore-file only when you understand what they will change

Tips for smoother results

Run lint and validate before and after editing so you can see what changed. Use diff to compare versions. If you manage a large project, start with stats or scan to see what is there before making changes.

Remember that this is a command-line tool, not a design application. It edits data and files; it does not draw or rig characters visually.

  • Validate first, then edit, then validate again
  • Use --json when you want output the agent or a script can parse
  • Use orphan to find unused files before you package a model

What people use it for

  • Checking a VTuber rig for missing texture or motion files before going live
  • Linting and diffing model versions when a rigger hands over a new iteration
  • Batch-changing fade times or file references across a large project of models
  • Packaging a model and its dependencies into a zip for a web or desktop-pet app

Frequently asked questions

Is the cli-anything-live2d skill free to use?

The source lists the licence as Apache-2.0 and does not state any price. Check the licence in the HKUDS/CLI-Anything repository for the full terms.

What do I need to install before using this skill?

You need the cli-anything-live2d command-line tool, which is a Python package from the CLI-Anything repository, plus Live2D Cubism model files (.model3.json and related assets).

Where do I put the skill files after downloading the ZIP?

Unzip the download into ~/.claude/skills/ to use it everywhere, or into a project's .claude/skills/ folder to use it in one project. In the Claude apps, you can instead upload it under Settings, then Capabilities, then Skills.

Does this skill need the internet?

The source says the skill does not use the network. It does run scripts, so it executes code on your machine.

Can it edit my Live2D model safely?

Edit commands make automatic backups, but the source warns that these depend on the files the tool can access. Keep your own copy of important models and use --dry-run before batch edits.

Can this replace the Live2D Editor?

No. The source says this is a command-line tool and does not replace the Live2D Editor. Use the editor for drawing and rigging, and this skill for checking, editing and packaging files.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Use this skill if you maintain many Live2D Cubism models and want automated validation, linting, diffing, batch edits and packaging from the command line. Pick a different approach if you need to draw or rig characters visually, or if your models are in non-Cubism 2D or 3D formats.

Download the skill