wuji-cli-base
Installation
SKILL.md
Before running commands
Sync these skills to the installed CLI version:
wuji update --skills
When the local skills already match the CLI version, the command installs nothing, but it still reports stale Skills directories and moves them out of ~/.agents/skills when you pass --yes or confirm the prompt (see the Stale Skill Directories section below). It exits non-zero only when the sync fails to converge.
Mental Model
- Stateless: each command runs connect → operate → disconnect on its own. No connection persists between commands, so there's no separate "connect" step.
- Single occupancy: device firmware allows only one direct session at a time. When a host app (such as Wuji Studio) holds the device, the CLI automatically falls back to read-only access through the Zenoh bridge (set writes are rejected in this mode).
- Exit codes: 0 = success; non-zero = failure (
pingfailing on any device ordoctorreporting a Fail both exit 1), directly usable in scripts.