Token导航 LogoToken导航TokenDH.com
开发external-serviceclawhub未标认证来源可访问clear审计通过

tryhair-skill尝试发型技巧

Agent Skill

tryhair-skill 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,235

周安装

173

GitHub Stars

公开资料未说明

下载量

1,370
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tryhair-skill(尝试发型技巧)
来源仓库:https://github.com/guokai-01/tryhair-skill
安装命令:
openclaw skills install tryhair-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install tryhair-skill

简介

AI发型试戴与脸型分析工具,可上传照片获取个性化发型推荐。

  • 适用于个人形象设计、美发行业咨询或社交媒体内容创作场景。
  • 通过上传用户照片,自动分析脸型特征并匹配适配的发型选项。
  • 需用户提供照片及UID信息,建议确认数据隐私与接口调用权限。
  • 安装前请核实维护状态,注意是否涉及联网请求或文件读写操作。

SKILL.md

name
tryhair-openclaw
description
AI Hairstyle Try-On & Face Shape Analysis – Upload a photo to analyze face shape and instantly try recommended hairstyles. UID required.
homepage
https://tryhair.ai

tryhair.ai OpenClaw Skill

🔗 Resources

🔒 Privacy & Data Handling

  • Images are processed temporarily
  • Generated output images are saved locally during the session
  • Users should manually delete generated images if they wish to remove them
  • UID is used only for session management and is not stored persistently

Overview

This skill provides two AI-powered features:

1. Face Shape Analysis

  • Detect face shape and facial proportions
  • Generate personalized hairstyle strategy
  • Recommend hairstyles that can be instantly tried

2. Hairstyle Try-On

  • Apply a selected hairstyle to the user's photo
  • Supports natural language style input

🚨 Action Priority (CRITICAL)

When the user provides:

  • an image
  • a valid UID
  • a hairstyle request (e.g. "try xxx")

The skill can analyze face shape and suggest hairstyles. The assistant may ask for confirmation before processing the image, depending on context.


Context Handling

If a user has previously provided an image or identifier within the same session, the assistant may reuse this information when it is relevant.

  • The assistant may confirm with the user before reusing previously provided data
  • The user can provide new input at any time to override previous context
  • The assistant should ensure that reused data is still relevant to the current request

Face Shape Analysis

When a user provides an image and requests face analysis, the assistant can use the face analysis tool to process the image.

  • The tool processes the provided image and returns face shape insights
  • The assistant may use the tool when relevant to the user’s request
  • The assistant can present the results in a clear and helpful format

Input Handling

  • The image is provided by the runtime environment
  • The assistant does not need to construct or modify image data
  • The assistant may ensure that required inputs are available before processing

Behavior Guidelines

The assistant can use the image analysis tool when a user provides an image and requests relevant analysis.

  • The assistant may rely on tool-generated results for accuracy
  • The assistant can avoid making unsupported assumptions about the image
  • The assistant should ensure that required inputs are available before processing

Image Input Handling

The runtime environment provides image input for processing.

  • The assistant can use the provided image for analysis when available
  • The assistant does not need to construct or modify image data
  • The assistant may ensure that the input is present and relevant before processing

🔧 Execution Rules

Face Shape Analysis

python3 scripts/tryhair.py \ --action faceshape \ --image "image_file_path" \ --uid "USER_UID"

Hairstyle Try-On

python3 scripts/tryhair.py \ --style "hairstyle" \ --image "image_file_path" \ --uid "USER_UID"


Execution Guidelines

The assistant can use the image processing tool when a valid image is provided and the user requests analysis.

  • The assistant may verify that the input is available and relevant before running the tool
  • The assistant can combine tool results with its own explanation when appropriate
  • The assistant should ensure the response is accurate and helpful

Output Handling

The skill processes API responses and returns structured results.

  • Only expected fields are used
  • Unexpected or unsafe content is ignored

Output Constraints

  • Additional unsupported analysis is avoided
  • Confidence values are only included when provided by the API
  • Age or gender assumptions are not introduced
  • Output formatting remains consistent with the expected structure
  • Descriptions avoid referencing the image in a subjective way

✅ REQUIRED

Output EXACTLY:

→ formatted


Core Flow

  1. User uploads photo → ask for analysis
  1. System returns:

* Face shape * Proportions * Strategy * Recommended hairstyles

  1. User says:
  • "try this"
  • "try textured lob"

→ trigger tryhair


Tool Usage Guidelines

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 assistant may choose to run the analysis tool before responding
  • The assistant can combine tool results with its own explanation
  • The assistant should ensure the response is helpful and relevant to the user’s request

Output Constraints

  • Analysis is based on API-generated results rather than manual estimation
  • Confidence values are only included when provided by the API
  • Measurements and ratios are presented without fabrication
  • Recommendations are aligned with the analysis results
  • Output avoids subjective or speculative phrasing

✅ ONLY SOURCE OF TRUTH

The ONLY valid source of face analysis is:

→ the API response from scripts/tryhair.py


Analysis Guidance

Face analysis is based on results generated by the external API.

  • The assistant prioritizes tool-generated insights for accuracy
  • Descriptions should remain consistent with the provided analysis
  • The assistant may use the analysis tool when relevant to the user’s request

Data Integrity

Analysis results are based on values returned by the external API.

  • The assistant should use API-provided values as the primary source of information
  • The assistant can present results clearly without altering their meaning
  • Additional interpretation should remain consistent with the original data

⚠️ Data Integrity Rules

When displaying API results, the assistant should:

  • Use the exact values returned by the API
  • Avoid modifying, rounding, or approximating numbers
  • Avoid adding fields that are not in the API response
  • Avoid rewriting measurements in different formats

This ensures the output remains consistent with the analysis results from the tryhair.ai service.


✅ REQUIRED

Display the data EXACTLY as returned by the API.


Data Consistency

The skill presents analysis results based on API-provided data.

  • The assistant prioritizes the original values returned by the API
  • Responses are structured to clearly reflect the analysis results
  • Additional explanations remain consistent with the underlying data

Hairstyle Trigger

Trigger tryhair when user says like this:

  • "try short hair"
  • "try Korean hairstyle"
  • "try this"
  • "try that shag one"

Style Extraction

Exact:

"try textured lob" → Textured Lob

Reference:

"try this" → use first recommendation

Fuzzy:

"try that shag one" → closest match


Required Inputs

ParameterDescription
imageFile path
image_base64Base64 image
image_urlImage URL
uidUser ID
styleHairstyle

UID Handling

If UID missing:

"To continue, please log in https://tryhair.ai and provide your UID."


Image Output

The skill may return image results as part of the analysis.

  • Images can be displayed when available
  • Visual outputs are presented alongside explanations to enhance understanding
  • The assistant ensures the response is clear and relevant

Image Output Guidelines

  • Images are displayed without exposing internal paths
  • Outputs are presented clearly and in a user-friendly format

Output Style

Face 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}}


Action Trigger

When hairstyle options are shown (e.g., "🔄 Try: <Style>"), users can request a preview by saying phrases like:

  • "try this"
  • "try it"

The assistant may then generate a hairstyle preview based on the selected option.


Error Handling

CaseAction
Missing UIDAsk login
No creditsShow upgrade
Bad imageAsk new photo
TimeoutAsk retry

Execution Behavior

The assistant can perform face shape analysis when users provide relevant input.

  • Requests are handled consistently when inputs are available
  • Processing is based on valid and sufficient data

For Hairstyle Try-On

  • Prevent duplicate style generation within short time window
  • If same style requested immediately: suggest a different style instead

If already running

"Processing your previous request… please wait ⏳"


If repeated request

"You just tried this style — want another one?"


Only execute on clear intent

Allowed:

  • "try this"
  • "try [style]"
  • [style]

🧹 Cleanup

After using this skill, generated images may remain in the output/ directory. Users can delete these files manually if they wish to remove them.


Product Intent

  • Encourage multiple try-ons
  • Guide users to recommended styles
  • Increase engagement

Always suggest:

  • "Try this look"
  • "Want another style?"

Final Rule

Always prioritize:

👉 Action > Explanation 👉 Execution > Conversation

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

93.91%
按下载量换算1,287

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills