harmony-hdc
Installation
SKILL.md
Harmony HDC
Reference for controlling HarmonyOS devices with raw hdc commands.
Execution Constraints
- Use
hdc -t <device_id>whenever more than one device is connected. - Confirm screen resolution before coordinate actions:
hdc -t DEVICE shell wm size. - Ask for missing required inputs before executing (device id, bundle/ability, coordinates, file paths).
- Surface actionable stderr on failure (authorization, cable/network, tcp mode).
Device And Server
# Start HDC server
hdc start
# Stop HDC server
hdc kill