← 返回 Skills 市场
qdsang

Niu Vehicle

作者 · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
284
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install niu-vehicle
功能描述
Connect to NIU smart electric vehicles to retrieve real-time status - battery level, charging status, remaining charge time, location, and total mileage. Als...
安全使用建议
This skill appears to do what it says (call NIU's scooter-status API using an API key), but the runtime instructions ask the agent to read local OpenClaw config files to fetch the key and use jq (not listed in metadata). Before installing: 1) Confirm the API endpoint host (ai-mcp.niu.com) is legitimate and that your NIU API key is intended for that endpoint. 2) If you don't want the agent reading ~/.openclaw/openclaw.json or /data/.clawdbot/openclaw.json, remove those files or ensure they don't contain other secrets, or supply NIU_API_KEY directly in the agent config. 3) Ensure jq is available or update the skill metadata to list it. 4) Limit the API key's scope and rotate it if you later remove the skill. If you need higher assurance, ask the publisher to declare the config paths and binaries explicitly or provide a version that only uses an explicitly supplied environment variable (no automatic file reads).
功能分析
Type: OpenClaw Skill Name: niu-vehicle Version: 0.1.0 The skill is designed to retrieve NIU electric vehicle status (battery, location, mileage) from an official-looking API endpoint (ai-mcp.niu.com). It follows standard OpenClaw patterns for API key management and provides clear instructions for the agent to handle user queries without any evidence of malicious behavior or data exfiltration.
能力评估
Purpose & Capability
The skill's purpose (fetching NIU scooter status) aligns with requiring an NIU_API_KEY and using curl to call an NIU endpoint. However, the SKILL.md instructs the agent to read local OpenClaw config files (~/.openclaw/openclaw.json and /data/.clawdbot/openclaw.json) to resolve the key even though 'required config paths' is declared as none. Also the example token-resolution command uses jq but jq is not listed in required binaries. These omissions are inconsistent with the declared metadata.
Instruction Scope
Instructions explicitly tell the agent to read local configuration files to obtain the API key and provide a shell pipeline that cats a JSON config and pipes it to jq. Reading user config files is beyond a minimal description of contacting the NIU API and is not declared up front. The only external network target is ai-mcp.niu.com (expected), but the file-read step increases the scope of data the agent touches.
Install Mechanism
This is an instruction-only skill with no install steps or code downloads, which is lowest-risk for on-disk persistence or arbitrary code execution.
Credentials
The skill declares a single primary credential (NIU_API_KEY), which is proportionate. However, the token-resolution command accesses user config files that may contain other credentials; even though the example extracts only the niu-vehicle entry via jq, the skill did not declare those config paths and did not list jq as a required binary. Reading agent config files is a higher-privilege action and should be explicitly declared.
Persistence & Privilege
The skill does not request always:true and is user-invocable; autonomous invocation is allowed (default) which is normal. Because the instructions include reading local config files, autonomous execution would let the skill access those paths without interactive confirmation — consider this when allowing autonomous invocation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install niu-vehicle
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /niu-vehicle 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of NIU smart electric vehicle status integration. - Connects to NIU scooters to retrieve real-time status: battery level, charging, remaining charge time, location, and total mileage. - Answers common user questions about scooter battery, charging, location, and mileage. - Uses environment variable or config file to securely store and resolve NIU API keys. - Provides clear instructions for setup, error handling, and example responses.
v1.0.0
- Initial release of the NIU Scooter Skill for checking NIU scooter status. - Supports real-time queries for battery level, charging info, location, remaining and total mileage. - Details how to obtain an API key and provides sample API usage and responses. - Lists supported question types, such as battery status, range, charging state, location, and mileage.
元数据
Slug niu-vehicle
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Niu Vehicle 是什么?

Connect to NIU smart electric vehicles to retrieve real-time status - battery level, charging status, remaining charge time, location, and total mileage. Als... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 284 次。

如何安装 Niu Vehicle?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install niu-vehicle」即可一键安装,无需额外配置。

Niu Vehicle 是免费的吗?

是的,Niu Vehicle 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Niu Vehicle 支持哪些平台?

Niu Vehicle 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Niu Vehicle?

由 蹬(@qdsang)开发并维护,当前版本 v0.1.0。

💬 留言讨论