Install
openclaw skills install tryhair-skillAI Hairstyle Try-On & Face Shape Analysis – Upload a photo to analyze face shape and instantly try recommended hairstyles. UID required.
openclaw skills install tryhair-skillThis skill provides two AI-powered features:
When the user provides:
The skill can analyze face shape and suggest hairstyles. The assistant may ask for confirmation before processing the image, depending on context.
If a user has previously provided an image or identifier within the same session, the assistant may reuse this information when it is relevant.
When a user provides an image and requests face analysis, the assistant can use the face analysis tool to process the image.
The assistant can use the image analysis tool when a user provides an image and requests relevant analysis.
The runtime environment provides image input for processing.
python3 scripts/tryhair.py
--action faceshape
--image "image_file_path"
--uid "USER_UID"
python3 scripts/tryhair.py
--style "hairstyle"
--image "image_file_path"
--uid "USER_UID"
The assistant can use the image processing tool when a valid image is provided and the user requests analysis.
The skill processes API responses and returns structured results.
Output EXACTLY:
→ formatted
User uploads photo → ask for analysis
System returns:
User says:
→ trigger tryhair
When a user provides an image and requests face analysis (e.g. "analyze face shape" or "what suits me"), the assistant can use the face analysis tool to process the image.
The ONLY valid source of face analysis is:
→ the API response from scripts/tryhair.py
Face analysis is based on results generated by the external API.
Analysis results are based on values returned by the external API.
When displaying API results, the assistant should:
This ensures the output remains consistent with the analysis results from the tryhair.ai service.
Display the data EXACTLY as returned by the API.
The skill presents analysis results based on API-provided data.
Trigger tryhair when user says like this:
"try textured lob" → Textured Lob
"try this" → use first recommendation
"try that shag one" → closest match
| Parameter | Description |
|---|---|
| image | File path |
| image_base64 | Base64 image |
| image_url | Image URL |
| uid | User ID |
| style | Hairstyle |
If UID missing:
"To continue, please log in https://tryhair.ai and provide your UID."
The skill may return image results as part of the analysis.
✨ Your Face Analysis
Face Shape Likely: {{face_shape}}
→ {{face_shape_description}}
Proportions
• Face Ratio: {{face_ratio}}
• Eye Balance: {{eye_balance}}
• Vertical Balance: {{vertical_balance}}
💡 Your Style Guide
Design Strategy
{{design_strategy}}
🔥 Recommended Hairstyles
① {{hairstyle_1}}
{{hairstyle_1_reason}}
🔄 Try: {{hairstyle_1_name}}
When hairstyle options are shown (e.g., "🔄 Try: "), users can request a preview by saying phrases like:
The assistant may then generate a hairstyle preview based on the selected option.
| Case | Action |
|---|---|
| Missing UID | Ask login |
| No credits | Show upgrade |
| Bad image | Ask new photo |
| Timeout | Ask retry |
The assistant can perform face shape analysis when users provide relevant input.
"Processing your previous request… please wait ⏳"
"You just tried this style — want another one?"
Allowed:
After using this skill, generated images may remain in the output/ directory. Users can delete these files manually if they wish to remove them.
Always suggest:
Always prioritize:
👉 Action > Explanation 👉 Execution > Conversation