用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/18816132863/xiaoyi-claw-omega-final --skill lock-face命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | lock-face |
| description | 智能门锁人脸识别设置技能。用于设置人脸识别相关功能,包括人脸开关、识别模式、语音提醒、回头防误开时长等。不支持查询操作。 |
本技能用于控制门锁的人脸识别相关设置,包括人脸开关、识别模式、语音提醒、回头防误开时长等。不支持查询操作。
securitySetting当用户提到以下关键词时,应加载本技能:
| 功能 | 参数 | 参数说明 | 功能作用 |
|---|---|---|---|
| 人脸识别开锁开关 | faceIdentifySwitch | 0=关闭,1=打开 | 开启后,可使用录入的管理员或成员面部识别开锁;当该开关关闭时,其他人脸识别设置不可修改 |
| 人脸识别模式 | faceDetectMode | 0=手动模式,1=自动模式(自动模式下同时支持手动模式触发) | 手动模式:触摸数字键盘,唤醒门锁进行人脸识别,可以提高门锁续航时间;自动模式:走进门锁0.5-1米处,可自动进行人脸识别,同时支持手动触发 |
| 人脸语音提醒 | faceVoiceSwitch | 0=关闭,1=打开 | 开启后,在人脸识别开锁时会有语音引导提示 |
| 回头防误开时长 | faceSleepTime | 取值范围:0, 5, 10, 20, 30, 120(秒) | 优点:关门后,人脸识别功能在设置时间内停用,可以避免出门后等电梯时,回头误开锁;缺点:关门后,在对应时间内无法自动唤醒人脸开锁,需要触摸键盘手动唤醒人脸识别 |
| 参数 | 取值范围 | 说明 |
|---|---|---|
faceIdentifySwitch | 0, 1 | 0=关闭,1=打开 |
faceDetectMode | 0, 1 | 0=手动模式,1=自动模式 |
faceVoiceSwitch | 0, 1 | 0=关闭,1=打开 |
faceSleepTime | 0, 5, 10, 20, 30, 120 | 回头防误开时长(秒) |
node common-skill/bin/smarthome-claw.js control_device \
--dev-id "xxx" \
--prod-id "xxx" \
--operation "POST" \
--sid "securitySetting" \
--data '{"faceIdentifySwitch": 1}' \
--verbose
node common-skill/bin/smarthome-claw.js control_device \
--dev-id "xxx" \
--prod-id "xxx" \
--operation "POST" \
--sid "securitySetting" \
--data '{"faceIdentifySwitch": 0}' \
--verbose
node common-skill/bin/smarthome-claw.js control_device \
--dev-id "xxx" \
--prod-id "xxx" \
--operation "POST" \
--sid "securitySetting" \
--data '{"faceDetectMode": 0}' \
--verbose
node common-skill/bin/smarthome-claw.js control_device \
--dev-id "xxx" \
--prod-id "xxx" \
--operation "POST" \
--sid "securitySetting" \
--data '{"faceDetectMode": 1}' \
--verbose
node common-skill/bin/smarthome-claw.js control_device \
--dev-id "xxx" \
--prod-id "xxx" \
--operation "POST" \
--sid "securitySetting" \
--data '{"faceVoiceSwitch": 1}' \
--verbose
node common-skill/bin/smarthome-claw.js control_device \
--dev-id "xxx" \
--prod-id "xxx" \
--operation "POST" \
--sid "securitySetting" \
--data '{"faceVoiceSwitch": 0}' \
--verbose
node common-skill/bin/smarthome-claw.js control_device \
--dev-id "xxx" \
--prod-id "xxx" \
--operation "POST" \
--sid "securitySetting" \
--data '{"faceSleepTime": 30}' \
--verbose