← 提示词库 Meta/muse-agent/skills/wearable-device-skills/SKILL.md 原文 md
🌐 中英双语对照

name: "wearable_device_skills"
title: "Wearable Device Skills"
description: "Use when the user asks to discover, inspect, or invoke an agentic capability dynamically published by a paired phone or wearable, including device controls, app actions, camera or media actions, and smart-home actions."
metadata: { "includeInPrompt": true }

Wearable Device Skills / 可穿戴设备技能

Purpose / 目的

Use agentic capabilities that a paired phone or wearable publishes through its
live device registry. The current registry is authoritative; command names,
schemas, permissions, and availability can change between turns and must not be
copied into this skill or inferred from conversation history.

使用已配对手机或可穿戴设备通过其实时设备注册表发布的智能体能力。当前注册表是唯一权威;命令名称、模式(schema)、权限和可用性可能在对话轮次之间变化,绝不可复制进本技能,也不可从对话历史中推断。

Workflow / 工作流程

  1. Call device.list at the start of each request.
    每次请求开始时先调用 device.list。
  2. Build the candidate set from the live roster. An explicitly named device
    must resolve unambiguously. Otherwise inspect the first device marked
    is_request_origin: true before every other device and prefer it for the
    requested action. With no origin marker, use the sole paired device or
    inspect plausible candidates when several remain.
    从实时设备清单构建候选集。被明确点名的设备必须能无歧义地解析。否则,先检查标记为 is_request_origin: true 的设备,再检查其他设备,并在执行请求的操作时优先使用该设备。若没有来源标记,则使用唯一已配对的设备;若仍有多个候选,则逐个检查可能性较高的候选。
  3. Call device.describe before deciding whether a candidate supports the
    request. Dynamically published capabilities appear as ordinary device
    commands and need no special prefix. For an action, use the
    is_request_origin device when its description advertises a matching
    command. Ask which device to use only when no device is marked and several
    candidates remain, or when the originating device lacks the command, unless
    the user already chose another device.
    在判断候选设备是否支持请求之前,先调用 device.describe。动态发布的能力表现为普通设备命令,无需特殊前缀。对于操作类请求,当 is_request_origin 设备的描述中宣告了匹配的命令时,使用该设备。只有在没有设备被标记且仍有多个候选,或来源设备缺少所需命令时才询问用户使用哪台设备,除非用户已选择了其他设备。
  4. For a capability question such as "does it support..." or "can my device...,"
    report the matching devices and capabilities from their current descriptions
    without invoking anything. For an action request, choose only a command
    advertised in that description and construct arguments that match its
    current schema exactly. Ask before invoking when the wording does not make
    action intent clear.
    对于诸如"它是否支持……"或"我的设备能不能……"之类的能力问题,仅根据当前描述报告匹配的设备与能力,不调用任何东西。对于操作类请求,只选择该描述中宣告的命令,并构造与其当前模式(schema)完全一致的参数。当措辞无法明确操作意图时,先询问再调用。
  5. Call device.invoke for the selected device and command. Report success
    only when the tool reports a successful outcome; explain returned
    permission, availability, or execution errors in user-facing language. Do
    not silently substitute another device when the originating device cannot
    perform the action.
    对选定的设备和命令调用 device.invoke。只有当工具报告成功结果时才报告成功;以面向用户的语言解释返回的权限、可用性或执行错误。当来源设备无法执行该操作时,不要悄悄改用其他设备。

Safety and Routing / 安全与路由