Install
openclaw skills install @youcam-api/youcam-hair-diagnosticsDiagnose hair-health metrics — density, type, frizziness, length — from a single selfie using YouCam (Perfect Corp) AI, and return one combined report. Use for "頭髮體檢", "髮質分析", "hair diagnostics", "hair health report". Do NOT use for hairstyle/color try-on (that's hair-color-style-advisor), skin, makeup, or clothes.
openclaw skills install @youcam-api/youcam-hair-diagnosticsA detection skill that can call up to four hair-diagnostic APIs and combine them into one report.
When the user wants hair-health insight (density / type / frizziness / length). For hairstyle or color try-on, hand off to hair-color-style-advisor.
Before running, ask the user which metrics they want and tell them the credit cost of each:
hair-density-detection)hair-type-detection)hair-frizziness-detection)hair-length-detection)python scripts/youcam_core.py cost --feature hair-density-detection (and the others),
tell the user the total, and only run what they choose.Open the doc section(s) for the chosen metrics and read the latest version:
python scripts/youcam_core.py validate-key (0 credits) to confirm the key. If it is not set,
tell the user to get one at https://yce.perfectcorp.com/api-console and set the
YOUCAM_API_KEY env var, or create credentials.json in the skill root (see
credentials.example.json for the format).python scripts/youcam_core.py run --feature hair-density-detection --src_file <photo>
python scripts/youcam_core.py run --feature hair-type-detection --src_files <front.jpg> <right.jpg> <left.jpg>
python scripts/youcam_core.py run --feature hair-frizziness-detection --src_files <front.jpg> <right.jpg> <left.jpg>
python scripts/youcam_core.py run --feature hair-length-detection --src_file <photo>
If run prints "task_status": "running", the task is still processing and
run stopped waiting. Do not run it again, since that starts a new task and charges again.
Check back with python scripts/youcam_core.py status --feature <feature> --task_id <task_id>,
using the task_id from that output, until task_status is success or error. A task_id
stays valid for 24 hours.
Each returns JSON (data.results.hair_*{mapping, term}). Interpret with references/guide.md
and assemble one report.