DOCX
rvdbreemen/OTGW-firmware
A skill your agent uses whenever the user wants to create, read, edit, or manipulate Word documents (.docx files).
Analyze and assemble Huawei HiLink MQTT commands and device state synchronization for community adapters.
$ npx skills add xiasi0/ha-huawei-smarthome --skill huawei-hilink-adapter -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install xiasi0/ha-huawei-smarthome huawei-hilink-adapter --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/xiasi0/ha-huawei-smarthome.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/huawei-hilink-adapter .claude/skills/huawei-hilink-adapter && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "huawei-hilink-adapter" agent skill from https://github.com/xiasi0/ha-huawei-smarthome/tree/master/.claude/skills/huawei-hilink-adapter into .claude/skills/huawei-hilink-adapter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "huawei-hilink-adapter", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/xiasi0/ha-huawei-smarthome/tree/master/.claude/skills/huawei-hilink-adapterType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add xiasi0/ha-huawei-smarthome --skill huawei-hilink-adapter -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install xiasi0/ha-huawei-smarthome huawei-hilink-adapter --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xiasi0/ha-huawei-smarthome.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/huawei-hilink-adapter .agents/skills/huawei-hilink-adapter && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "huawei-hilink-adapter" agent skill from https://github.com/xiasi0/ha-huawei-smarthome/tree/master/.claude/skills/huawei-hilink-adapter into .agents/skills/huawei-hilink-adapter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "huawei-hilink-adapter", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add xiasi0/ha-huawei-smarthome --skill huawei-hilink-adapter -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install xiasi0/ha-huawei-smarthome huawei-hilink-adapter --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xiasi0/ha-huawei-smarthome.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/huawei-hilink-adapter .cursor/skills/huawei-hilink-adapter && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "huawei-hilink-adapter" agent skill from https://github.com/xiasi0/ha-huawei-smarthome/tree/master/.claude/skills/huawei-hilink-adapter into .cursor/skills/huawei-hilink-adapter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "huawei-hilink-adapter", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/xiasi0/ha-huawei-smarthome.git --path .claude/skills/huawei-hilink-adapter--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add xiasi0/ha-huawei-smarthome --skill huawei-hilink-adapter -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install xiasi0/ha-huawei-smarthome huawei-hilink-adapter --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xiasi0/ha-huawei-smarthome.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/huawei-hilink-adapter .gemini/skills/huawei-hilink-adapter && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "huawei-hilink-adapter" agent skill from https://github.com/xiasi0/ha-huawei-smarthome/tree/master/.claude/skills/huawei-hilink-adapter into .gemini/skills/huawei-hilink-adapter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "huawei-hilink-adapter", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install xiasi0/ha-huawei-smarthome huawei-hilink-adapterInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add xiasi0/ha-huawei-smarthome --skill huawei-hilink-adapter -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/xiasi0/ha-huawei-smarthome.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/huawei-hilink-adapter .github/skills/huawei-hilink-adapter && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "huawei-hilink-adapter" agent skill from https://github.com/xiasi0/ha-huawei-smarthome/tree/master/.claude/skills/huawei-hilink-adapter into .github/skills/huawei-hilink-adapter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "huawei-hilink-adapter", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add xiasi0/ha-huawei-smarthome --skill huawei-hilink-adapter -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install xiasi0/ha-huawei-smarthome huawei-hilink-adapter --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/xiasi0/ha-huawei-smarthome.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/huawei-hilink-adapter .opencode/skills/huawei-hilink-adapter && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "huawei-hilink-adapter" agent skill from https://github.com/xiasi0/ha-huawei-smarthome/tree/master/.claude/skills/huawei-hilink-adapter into .opencode/skills/huawei-hilink-adapter/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "huawei-hilink-adapter", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
huawei-hilink-adapterAnalyze and assemble Huawei HiLink MQTT commands and device state synchronization for community adapters.
Huawei Hilink Adapter is an agent skill from xiasi0/ha-huawei-smarthome. Analyze and assemble Huawei HiLink MQTT commands and device state synchronization for community adapters. Use for prodId/deviceTypeId/sid/st analysis, official service-composition rules, payload targets, command sequencing, ACK handling, and deviceDataChanged state merging.
Its SKILL.md is about 930 tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including reference files (for example `references/official/README.md`, `references/official/deviceServiceHelp.json` and `references/official/deviceServiceHelpVersion.json`).
It works with Home Assistant. The repository describes itself as: 适用于华为智慧生活设备的 Home Assistant 自定义集成。 The licence is GPL-3.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e7a5333. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are json).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Huawei Hilink Adapter loads about 933 tokens when it runs, and up to ~8.8k if it reads all its reference files. Until then it costs about 74 tokens; SKILL.md has 205 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from xiasi0/ha-huawei-smarthome at commit e7a5333, republished under its GPL-3.0 licence (© xiasi0). 205 words, ~933 tokens.
.claude/skills/huawei-hilink-adapter/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.这个 Skill 只处理华为协议层:如何从 Profile 和官方服务模型确定服务成员、组装 MQTT 命令、验证 ACK,以及同步 deviceDataChanged 状态。
按以下顺序判断协议行为:
prodId 的官方插件/运行时调用。deviceServiceHelp 和 profileDataHelp。如果高优先级证据和低优先级配置冲突,以高优先级证据为准,并记录冲突。
prodId、deviceTypeId:产品和设备类型匹配键。sid:服务实例的协议主键。命令目标和状态缓存都按 (devId, sid) 处理。st:服务类型元数据。它不是服务顺序,也不是可靠的命令顺序。characteristicName:服务内部字段名,必须来自 Profile 或真实捕获。serviceId 表达式:官方服务组合模型中的逻辑成员关系,例如 switch&brightness。services[] 顺序:当前消息携带更新的排列,不承载组合语义或发送顺序。prodId、deviceTypeId、Product Profile、云端实际服务清单和脱敏 MQTT/官方调用捕获。references/official/ 的四个预置资源,并记录版本号。sid、serviceType、characteristic、类型、权限、范围和枚举。deviceServiceHelp 按 deviceTypeId 和 trustProdIds 查找服务组合;精确产品匹配优先于设备类型匹配。& 表示同一协议能力的成员服务,不自动证明发送顺序。| 表示并列数据成员,不表示任选一个,也不表示 MQTT 顺序。profileDataHelp 确定状态字段来源和缩放,例如 temperature/current、{temperature/current}/10。sid、payload、顺序、失败策略、ACK 和状态确认条件。devId 路由,按 sid patch,按 ts 处理旧消息。云端服务命令的目标通常是:
target = /devices/{devId}/services/{sid}
body = 该 sid 的 characteristic payload官方 App 的调用层次是:
产品控制入口
→ HWMqttViewModel / HWDeviceManager
→ HWMqttRequest + HWMqttHeader
→ common_mqtt_sdk.HWMqttClient
→ MQTT Broker命令计划必须遵守:
st 不进入 target;除非真实捕获明确证明它进入 body,否则也不把 st 放入 body。sid 的 body 只包含该服务的 characteristic 数据。sid 默认单飞。order: unknown。PUBACK ≠ 业务 ACK
commandRsp = 云端命令处理结果
deviceDataChanged = 设备状态来源commandRsp.body.errcode == 0 只代表云端接受/处理成功,不应直接写入设备当前状态。
服务端返回的 requestId 可能与出站 request id 不一致。默认使用:
(connection_generation, devId, sid)作为当前单飞命令的主关联键;原始 request id 只作为辅助诊断字段。
对 deviceDataChanged:
decode envelope
→ 检查 header.notifyType
→ 按 body.devId 路由
→ 遍历 body.services[]
→ 按 sid 找状态槽
→ 只 patch data 中出现的字段
→ 按 ts 丢弃旧更新单个服务项通常具有:
{
"sid": "brightness",
"st": "brightness",
"ts": "20260901T010203Z",
"data": {"brightness": 80}
}必须做到:
(home_id, dev_id, sid) 或等价的设备范围键。sid 时逐项处理,不依赖数组位置。sid 的组合状态由上层适配器读取各自缓存后计算。遇到以下情况,停止自动写入并输出协议缺口:
sid 或 characteristic。sid。deviceServiceHelp 组合信息,没有命令顺序证据。prodId 上有不同缩放或枚举含义。deviceDataChanged/状态快照。st 或 MQTT 数组顺序猜测写入逻辑。© xiasi0, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 6 other files (references) in .claude/skills/huawei-hilink-adapter of xiasi0/ha-huawei-smarthome.
Open the folder on GitHubat commit e7a5333
Huawei Hilink Adapter next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Huawei Hilink Adapter this skillxiasi0/ha-huawei-smarthome | 135 | — | ~933 | Automated safety check: Pass | GPL-3.0 | |
| DOCXrvdbreemen/OTGW-firmware | 207 | 33 repos | ~4.3k | Automated safety check: Pass | Proprietary | |
| PPTXrvdbreemen/OTGW-firmware | 207 | 34 repos | ~2.3k | Automated safety check: Pass | Proprietary | |
| XLSXrvdbreemen/OTGW-firmware | 207 | 35 repos | ~2.9k | Automated safety check: Pass | Proprietary | |
| Sap Extension Creatorheshengtao/super-agent-party | 2.7k | — | ~6k | Automated safety check: Pass | AGPL-3.0 | |
| Ha Frontend Componentshome-assistant/frontend | 5.7k | — | ~1.2k | Automated safety check: Pass | Apache-2.0 |
rvdbreemen/OTGW-firmware
A skill your agent uses whenever the user wants to create, read, edit, or manipulate Word documents (.docx files).
rvdbreemen/OTGW-firmware
Use this skill any time a .pptx file is involved in any way — as input, output, or both.
rvdbreemen/OTGW-firmware
Use this skill any time a spreadsheet file is the primary input or output.
heshengtao/super-agent-party
Create Super Agent Party (SAP) extensions. An agent skill from heshengtao/super-agent-party.
home-assistant/frontend
Home Assistant frontend component patterns. An agent skill from home-assistant/frontend.
home-assistant/android
Home Assistant Android module and layer architecture. An agent skill from home-assistant/android.
xiasi0/ha-huawei-smarthome
Standardize pull request titles and descriptions for the ha-huawei-smarthome repository.
Works with
Analyze and assemble Huawei HiLink MQTT commands and device state synchronization for community adapters. Huawei Hilink Adapter is an agent skill from xiasi0/ha-huawei-smarthome. Analyze and assemble Huawei HiLink MQTT commands and device state synchronization for community adapters.
Huawei Hilink Adapter fits situations like: prodId/deviceTypeId/sid/st analysis; official service-composition rules; payload targets; command sequencing.
Run `npx skills add xiasi0/ha-huawei-smarthome --skill huawei-hilink-adapter -a claude-code`. Or copy the skill folder (.claude/skills/huawei-hilink-adapter in xiasi0/ha-huawei-smarthome) into .claude/skills/huawei-hilink-adapter in your project. Claude Code loads it when a task matches its description.
Run `npx skills add xiasi0/ha-huawei-smarthome --skill huawei-hilink-adapter -a codex`. Or copy the skill folder (.claude/skills/huawei-hilink-adapter in xiasi0/ha-huawei-smarthome) into .agents/skills/huawei-hilink-adapter in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add xiasi0/ha-huawei-smarthome --skill huawei-hilink-adapter -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/huawei-hilink-adapter, .gemini/skills/huawei-hilink-adapter, .github/skills/huawei-hilink-adapter and .opencode/skills/huawei-hilink-adapter in your project.
SKILL.md names no scripts, command-line tools or credentials: Huawei Hilink Adapter is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Huawei Hilink Adapter is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 933 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 7.8k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Huawei Hilink Adapter: DOCX (rvdbreemen/OTGW-firmware, 207 stars), PPTX (rvdbreemen/OTGW-firmware, 207 stars), XLSX (rvdbreemen/OTGW-firmware, 207 stars) and Sap Extension Creator (heshengtao/super-agent-party, 2.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
xiasi0 (a GitHub user) maintains it in xiasi0/ha-huawei-smarthome, which has 135 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 10, 2026.
Source: xiasi0/ha-huawei-smarthome on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.