Token导航 LogoToken导航

Agent Skill · 开发

tryhair-skill(尝试发型技巧)

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

tryhair-skill 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为调用外部服务;许可证为 MIT-0,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 6,908。

总安装 4,235周安装 173GitHub Stars 公开资料未说明下载 1,370核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.1.4

安装方式

通过对话安装

复制提示词发给支持本地命令或 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

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install tryhair-skill;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

tryhair-skill 怎么安装?

在终端执行 openclaw skills install tryhair-skill。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

tryhair-skill 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

tryhair-skill 需要什么权限?

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

tryhair-skill 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

tryhair-skill 用的人多吗?

公开数据是累计安装 4,235 次,近一周安装 173 次,下载 1,370 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

tryhair-skill 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
tryhair-skill

尝试发型技巧 · 本页

4,235—调用外部服务MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

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

平台分布

OpenClaw

93.91%
按下载量换算1,287

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

通过

权限和风险

调用外部服务

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

安装前确认

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

继续浏览同类 Skills