跳到正文
cccskills
免费在 GitHub 公开

aqara

Read and control Aqara smart home devices: plugs, switches, lights, AC, locks, curtains, scenes. Trigger phrases: aqara, aqara hub, aqara lock, aqara curtain.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md6.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Aqara

Purpose

Read device attributes and send control commands to Aqara devices through the Aqara Open Cloud API: plugs and wall switches, lights (brightness, color temperature), air conditioners, supported locks, curtain motors, and saved scenes, organized by homes and rooms. Use it when the user asks about or wants to change anything in their Aqara setup. Zigbee devices need an Aqara hub online. Commands drive real physical hardware, so writes are confirmation-gated (see Operating Rules).

Tooling

All commands go through bin/aqara.py. --region picks the regional host (open-<region>.aqara.com, e.g. us, eu, cn; default us).

Every path below is UNTESTED. The exact REST path form and the request signature headers could not be pinned from public docs at build time (see Operating Rules, open items). Verify every command against the official OpenAPI reference on first live use before trusting it.

bin/aqara.py auth --region us                         # UNTESTED: status check, list homes
bin/aqara.py homes --region us                        # UNTESTED: list homes
bin/aqara.py rooms --home <home_id> --region us       # UNTESTED: list rooms
bin/aqara.py devices --home <home_id> --region us     # UNTESTED: list devices
bin/aqara.py status --device <device_id> --region us  # UNTESTED: read device attributes

# Writes (all UNTESTED paths). Lock endpoints are HIGH: --confirm on every run:
bin/aqara.py control --device <device_id> --action on --attribute lock \
    --confirm "unlock the front door Aqara lock" --region us

# Plug/switch toggles and AC changes are MEDIUM: --confirm on first use per
# device, then proceed:
bin/aqara.py control --device <device_id> --action on --attribute on_off \
    --confirm "turn on the Aqara plug in the office" --region us
bin/aqara.py control --device <device_id> --action set --attribute ac_mode \
    --value '"cool"' --confirm "set the bedroom AC to cool" --region us

# Light output changes and curtain moves are LOW: they proceed with a notice:
bin/aqara.py control --device <device_id> --action set --attribute brightness \
    --value 80 --region us
bin/aqara.py control --device <device_id> --action up --attribute curtain \
    --region us

# Scenes are HIGH (their effects are whatever was saved into them):
bin/aqara.py scenes --home <home_id> --region us
bin/aqara.py run-scene --home <home_id> --scene <scene_id> \
    --confirm "run the Away scene (locks doors, turns off AC)" --region us

--value is JSON-parsed (80 becomes a number, '"cool"' a string). --endpoint defaults to 1; pass comma-separated ids for multi-gang devices.

Auth

  • Provider id: aqara (credential is collected as custom.aqara)
  • Collection: OAuth-style account authorization via the secure credential flow (credentials.request_api_access). Complete the authorization flow at developer.aqara.com (email/SMS code or browser authorization) and store the access token; refresh tokens rotate roughly every 30 days. The CLI sends the token as Authorization: Bearer <token>.
  • Allowed hosts: open-<region>.aqara.com (region-dependent, e.g. open-us.aqara.com)
  • Status check: bin/aqara.py auth --region <your region>

Operating Rules

  1. Open item: paths and signature are unverified. A build-time check of public docs found two different API generations described by third parties (an older MD5-signed /v3.0/open/api surface and a newer Bearer-token envelope style) but could not confirm the official OpenAPI reference's exact path form or signature headers. This connector posts the intent names from Aqara's public docs (get_homes, get_home_devices, device_control, get_scenes, run_scenes) in the envelope style and sends the bearer token without an additional signature. Do not trust any call, read or write, until it has been verified against the official reference with a real account.
  2. HIGH actuations are blocked without explicit confirmation. Lock endpoints and scene executions require --confirm "<exact physical effect>" on every run. Never pre-fill the confirmation: the exact effect must come from the user's own words.
  3. MEDIUM actuations confirm on first use per device. Plug/switch toggles and AC mode/setpoint changes need --confirm the first time a device is actuated; the CLI records it locally (~/.config/muse-connectors/aqara/confirmed.json) and later runs proceed.
  4. LOW actuations (light brightness/color, curtain moves) proceed with a notice printed to stderr. No confirmation needed.
  5. A scene's physical effects are whatever the user saved into it. Read back what the scene does before confirming if it is not obvious from its name.
  6. Zigbee devices require an Aqara hub online and bound to the account.
  7. Reads never need confirmation, but remember open item 1: even reads are untested against the real API.
  8. Never exfiltrate the credential: the CLI only ever handles surrogates. Do not print, log, or transmit the token value.

Files

  • SKILL.md
  • bin/aqara.py

Maturity

🧪 Draft: written from Aqara's public developer docs and third-party references; not yet live-tested end-to-end, and the request path form plus the signature headers are unresolved open items. Treat every command as a candidate to repoint at connect time.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

<What it does, one line>. Trigger phrases: <phrases>.

中文简介正在准备中。当前显示原文说明。

gabrielmoreira/agent-skills-mirror192026年10月23日 更新

Use this skill whenever the user wants to create or improve a presentation for an academic context — conference papers, seminar talks, thesis defenses, grant briefings, lab meetings, invited lectures, or any presentation where the audience will evaluate reasoning and evidence. Triggers include: 'conference talk', 'seminar slides', 'thesis defense', 'research presentation', 'academic deck', 'academic presentation'. Also triggers when the user asks to 'make slides' in combination with academic content (e.g., 'make slides for my paper on X', 'create a presentation for my dissertation defense', 'build a deck for my grant proposal'). This skill governs CONTENT and STRUCTURE decisions. For the technical work of creating or editing the .pptx file itself, also read the pptx SKILL.md.

中文简介正在准备中。当前显示原文说明。

gabrielmoreira/agent-skills-mirror192026年10月23日 更新

adapt

免费

Shortest English alias for web-adapt / universal-web-adaptation. Use this when adapting an unfamiliar public website generically before creating any site-specific rules.

中文简介正在准备中。当前显示原文说明。

gabrielmoreira/agent-skills-mirror192026年10月23日 更新

Use this skill to audit CLI adapter projects (like opencli) for missing output fields, then batch-generate fixes and submit PRs. Turns AI agents into adapter quality reviewers.

中文简介正在准备中。当前显示原文说明。

gabrielmoreira/agent-skills-mirror192026年10月23日 更新

ads

免费

Operate professional paid advertising across Google, Meta, YouTube, LinkedIn, TikTok, Microsoft, Apple, Amazon, Reddit, Pinterest, Snapchat, and X. Use for account intake, source-grounded audits, strategy, budget and measurement planning, creative production, experiments, reporting, monitoring, and explicitly approved campaign changes. Also trigger on PPC, paid social, retail media, attribution, tracking, landing pages, cross-platform conversion totals, negative keywords or search terms, beta-feature scoring, stale platform claims, API-token or credential setup, campaign deletion, and safe Claude Ads installation or uninstall.

中文简介正在准备中。当前显示原文说明。

gabrielmoreira/agent-skills-mirror192026年10月23日 更新

Audit Amazon Ads profiles, regions, Sponsored Products, Sponsored Brands, Sponsored Display, DSP, portfolios, targeting, search terms, retail readiness, creative, budgets, ACOS, TACOS, reporting, and policy. Use for Amazon Ads, sponsored ads, Amazon PPC, ACOS, TACOS, ASIN advertising, Amazon DSP, or retail-media optimization.

中文简介正在准备中。当前显示原文说明。

gabrielmoreira/agent-skills-mirror192026年10月23日 更新

查看 gabrielmoreira 的全部技能

报告此技能的问题