Aqara官方AI技能库
概览
对于该目录来说,人类可读。在 SKILL.md 中定义。这个 README 会覆盖 SKILL.md。 一个自然语言操作技能包:账户和会话、家庭和房间、设备查询与控制(ambience_create:场景匹配、复合灯光关闭后设备控制、可选音乐、命名灯光效果)、光照预设查询和薄应用、仅固件/OTA、设备日志、场景(列表、执行、创建、快照、日志、推荐)、自动化(列表、切换、日志、推荐再创建、post_create_automation)、能源统计和户外天气。执行通过Plus Markdown进行。 该文件夹(Aqara Agent Skills/skills/aqara-agent/)。相同的布局也可以在光标项目中的 .cursor/skills/aqara-agent/ 下使用;文档中的路径总是相对于技能根节点。 1. SKILL.md(CLI 规则、方法列表、会话顺序、意图表、错误处理)。2. (从该目录获得): 3. 如 SKILL.md 所述(例如:
概述(AI 翻译)
该目录的索引,可读的**。规范行为、约束和工作流定义在SKILL.md中。该README不会覆盖SKILL.md。
这是什么
一个官方风格的技能包,适用于自然语言Aqara Open API操作:账户和会话、家庭和房间、设备查询与控制、氛围/氛围创建(ambience_create:场景匹配、复合灯光关闭然后设备控制、可选音乐、命名灯光效果)、光影预设查询和薄应用、仅固件/OTA、设备日志、场景(列表、执行、创建、快照、日志、推荐)、自动化(列表、切换、日志、推荐然后创建、NL驱动post_create_automation)、能源统计和scoped户外天气。执行通过Python的CLI脚本加上Markdown 参考程序进行。
技能根: 这个文件夹(Aqara Agent Skills/skills/aqara-agent/)。同样的布局也可以在光标项目的.cursor/skills/aqara-agent/下;文档中的路径总是相对于技能根。
目录布局(扫描)
快速入门(开发者/运营者)
- 打开规范规范: '技能。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
aqara-agent (Aqara Home AI Agent skill pack)
Human-readable index for this directory. Normative behavior, constraints, and workflows are defined in SKILL.md. This README does not override SKILL.md.
What this is
An official-style skill pack for natural-language Aqara Open API operations: account and session, homes and rooms, device inquiry and control, ambience / mood creation (ambience_create: scene match, composite lights-off then device control, optional music, named lighting effects), lighting-preset inquiry and thin apply, firmware/OTA only, device logs, scenes (list, execute, create, snapshot, logs, recommend), automations (list, toggle, logs, recommend-then-create, NL-driven post_create_automation), energy statistics, and scoped outdoor weather. Execution is via Python CLI scripts plus Markdown reference procedures.
Skill root: this folder (Aqara Agent Skills/skills/aqara-agent/). The same layout may also live under .cursor/skills/aqara-agent/ in Cursor projects; paths in docs are always relative to the skill root.
Directory layout (scanned)
aqara-agent/
├── SKILL.md # Authoritative skill spec (agents must follow this)
├── README.md # This file (index only)
├── assets/
│ ├── login_reply_prompt.json # Login URL policy, locales, official_open_login_url
│ ├── device_control_action_table.csv
│ ├── user_account.example.json # Shape template for user_account.json
│ └── user_account.json # Live credentials + home selection (sensitive; do not commit)
├── scripts/
│ ├── aqara_open_api.py # CLI: AqaraOpenAPI HTTP methods (get_* / post_*)
│ ├── save_user_account.py # Persist aqara_api_key and home fields
│ ├── runtime_utils.py # user_account load, optional base URL, UTF-8 stdio
│ └── requirements.txt
└── references/
├── aqara-account-manage.md
├── home-space-manage.md
├── devices-inquiry.md
├── devices-control.md
├── devices-config.md
├── ambience.md # ambience_create, LightingEffectAgent, save-scene payload, fast path
├── scene-manage.md
├── weather-forecast.md
├── energy-statistic.md
├── automation-manage.md
├── automation-create.md
├── scene-workflow/
│ ├── list.md
│ ├── execute.md
│ ├── recommend.md
│ ├── create.md
│ ├── snapshot.md
│ ├── execution-log.md
│ ├── failure-response.md
│ └── appendices.md
├── automation-workflow/
│ ├── list.md
│ ├── toggle.md
│ ├── recommend.md
│ ├── execution-log.md
│ └── failure-response.md
└── automation-create-workflow/
├── manifest.json
├── step-01-conditions-actions-extract.md
├── step-02-cell-info-fill.md
└── step-03-parse-config-prompt.md
Quick start (developers / operators)
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add aqara/aqara-agent-skills