设备电量查询

v1.0.0

设备电量查询与播报。当用户询问电量、剩余电量、还有多少电、电池状态、耳机电量、耳机仓电量、左耳电量、右耳电量时使用此技能。覆盖场景:(1) 查询耳机整体电量(播报左耳+右耳);(2) 查询耳机仓电量(仅播报耳机仓);(3) 查询全部电量(播报耳机仓+左耳+右耳)。

0· 114·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for dory123456/device-battery-query.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "设备电量查询" (dory123456/device-battery-query) from ClawHub.
Skill page: https://clawhub.ai/dory123456/device-battery-query
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install device-battery-query

ClawHub CLI

Package manager switcher

npx clawhub@latest install device-battery-query
Security Scan
VirusTotalVirusTotal
Pending
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
The name, description, and runtime instructions consistently target querying and speaking headphone/battery information. No unrelated credentials, binaries, or system paths are requested, so the declared purpose aligns with what the skill contains.
Instruction Scope
SKILL.md defines intent keywords, selection rules, time-format rules, and playback templates—nothing instructs the agent to read unrelated files or exfiltrate data. However, it does not describe any mechanism to actually obtain battery levels (no APIs, commands, or connectors are specified), so the skill by itself is only a presentation/intent layer and requires other integrations to function.
Install Mechanism
No install spec and no code files are present (instruction-only), so nothing will be written to disk or fetched during install.
Credentials
The skill requires no environment variables, credentials, or config paths. There are no disproportionate requests for secrets or system access.
Persistence & Privilege
always is false and the skill does not request persistent/system-wide privileges or modifications. It does not attempt to auto-enable itself or change other skills' configurations.
Assessment
This skill is a safe, coherent intent-and-speech template for reporting battery states, but it does not include any code or instructions for actually retrieving battery levels from devices. Before installing or enabling it in a production agent, confirm how the agent will obtain real battery data (which device API, platform connector, or privileged permission will provide left/right/case percentages and expected runtime). Ensure any connector you enable to supply battery values has the minimal necessary permissions and that you trust it with device access. Also test the skill in a controlled setting to verify it doesn't produce canned responses when no real data source is connected.

Like a lobster shell, security has layers — review code before you run it.

latestvk979z5tjzg4cvjkc6mdjkhnb2583vzz7
114downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

设备电量查询

功能概述

查询并播报耳机设备的电量信息,包括耳机仓、左耳、右耳三个主体。

播报规则

时间格式

  • 超过 1 小时:按"X小时Y分钟"播报(例:2小时30分钟)
  • 未超过 1 小时:按"X分钟"播报(例:45分钟)
  • 不足 1 分钟:播报"不足1分钟"

播报主体选择

根据用户意图选择播报范围:

用户意图播报内容
问"耳机"电量(如"耳机还有多少电")仅播报左耳右耳
问"耳机仓/充电仓"电量(如"仓还有多少电")仅播报耳机仓
问"全部/所有设备"或笼统问"还有多少电"播报耳机仓 + 左耳 + 右耳

播报话术模板

单主体:

{主体}当前电量{百分比}%,预计还能使用{时间}。

多主体:

{主体1}电量{百分比1}%,预计还能用{时间1};{主体2}电量{百分比2}%,预计还能用{时间2}。

意图识别关键词

触发词:电量、电池、还有多少电、剩余电量、能用多久、没电了吗

主体识别:

  • 耳机/左耳/右耳 → 播报左耳 + 右耳
  • 耳机仓/充电仓/仓 → 播报耳机仓
  • 无明确主体 → 播报全部(耳机仓 + 左耳 + 右耳)

示例

用户:耳机还有多少电? 回复:左耳当前电量80%,预计还能使用3小时20分钟;右耳电量75%,预计还能用3小时5分钟。

用户:耳机仓电量多少? 回复:耳机仓当前电量60%,预计还能使用2小时15分钟。

用户:还剩多少电? 回复:耳机仓电量90%,预计还能使用5小时30分钟;左耳电量85%,预计还能用4小时10分钟;右耳电量82%,预计还能用3小时50分钟。

用户:还能用多久? 回复:耳机仓电量45%,预计还能使用1小时30分钟;左耳电量30%,预计还能用55分钟;右耳电量28%,预计还能用50分钟。

Comments

Loading comments...