gadget-shelly-plugs
Skill2.6k starsChanged 25 days agoApache-2.0View on GitHub
Switch Shelly Gen 4 plugs and read supported power or energy measurements through Muse Home Link. Use the local Shelly RPC API after confirming the actual plug and attached load; not the Gen 1 protocol.
1 other project uses a version of this, 1 of them edited.
Trending
More talk lately.thin dataabout the whole repository
Most recently taken up by
- humanstoknow/skillsedited, first seen Oct 3, 2026
Who's talking about facebookincubator/muse-gadget-sdk
- @j4ck.xyz“I still wouldn't trust Meta with my personal context for agents, but what they're doing with Muse is pretty …”Bluesky · Oct 2, 2026 · 7 likes
- A Hacker News story“Open source SDK to build Muse gadgets”Hacker News · Oct 3, 2026 · 2 points
- ComBba/muse-gadget-sdk“CI preflight: wait for the installer serial close before SDK token setup”GitHub · Oct 17, 2026 · 1 reactions
- @sarubot.bsky.social“muse-gadget-sdk — Metaが放つ、ESP32やラズパイをAIガジェットへ変貌させるSDK。今週スター急増中の注目作! …”Bluesky · Oct 7, 2026 · 1 likes
- aegisfleet/tool-survey-report“feat: add survey report for Muse Gadget SDK”GitHub · Nov 9, 2026
The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 14
Talked about on GitHub, Bluesky and Hacker News (14 times).
On GitHub · 11
- Oct 17, 2026CI preflight: wait for the installer serial close before SDK token setup — ComBba/muse-gadget-sdk1 reaction · 2 comments
- Nov 9, 2026feat: add survey report for Muse Gadget SDK — aegisfleet/tool-survey-report0 reactions · 4 comments
- Oct 14, 2026Fix S3-2.06 ES7210 microphone and native USB serial console — polygoku/waveshare-amoled-206-debug0 reactions · 5 comments
- Oct 12, 2026Integration blocker: native Muse gadget command invocation — 1chris2many/muse-portal-kit0 reactions
- Oct 12, 2026Integration blocker: authoritative per-device reply correlation — 1chris2many/muse-portal-kit0 reactions · 2 comments
6 more on GitHub
- Oct 11, 2026[fork CI preflight] #181 candidate a6fd89c — ComBba/muse-gadget-sdk0 reactions · 1 comment
- Oct 11, 2026[fork CI] #179 Use the custom avatar in the UI simulator — ComBba/muse-gadget-sdk0 reactions · 1 comment
- Oct 11, 2026[fork CI] #181 Add validated avatar restore and host status — ComBba/muse-gadget-sdk0 reactions · 1 comment
- Oct 11, 2026[fork CI] #180 Validate avatar candidates before replacing the current renderer — ComBba/muse-gadget-sdk0 reactions · 1 comment
- Oct 11, 2026[fork CI] #174 Reject incomplete bench screenshots without padding pixels — ComBba/muse-gadget-sdk0 reactions · 1 comment
- Oct 11, 2026[fork CI] #177 Abort bench screenshots when USB console output stalls — ComBba/muse-gadget-sdk0 reactions · 1 comment
On Bluesky · 2
- Oct 2, 2026I still wouldn't trust Meta with my personal context for agents, but what they're doing with Muse is pretty cool & fun icl… — @j4ck.xyz7 likes and reposts
- Oct 7, 2026muse-gadget-sdk — Metaが放つ、ESP32やラズパイをAIガジェットへ変貌させるSDK。今週スター急増中の注目作! ・C言語製のESP32/Linux用SDK。センサーやオーディオをMuseエコシステムに即統合 ・AIエージェント「Muse… — @sarubot.bsky.social1 likes and repost
On Hacker News · 1
- Oct 3, 2026Open source SDK to build Muse gadgets2 points
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- humanstoknow/skills★ 175% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository48 other files it gives its agents.
- esp32/AGENTS.mdAGENTS.md
- linux/AGENTS.mdAGENTS.md
- gadget-apple-homepod-miniSkill
- gadget-apple-tv-4kSkill
- gadget-brother-printersSkill
- gadget-dyson-pure-hot-cool-hp04Skill
- gadget-ecowitt-gatewaysSkill
- gadget-elgato-key-lightSkill
- gadget-epson-printersSkill
- gadget-esphome-devicesSkill
- gadget-espsomfy-rtsSkill
- gadget-eufy-robovac-tuyaSkill
- gadget-freebox-player-popSkill
- gadget-google-castSkill
- gadget-google-home-maxSkill
- gadget-google-home-speakerSkill
- gadget-google-nest-audioSkill
- gadget-google-nest-hub-maxSkill
- gadget-google-nest-hubSkill
- gadget-google-nest-miniSkill
- gadget-google-nest-thermostatsSkill
- gadget-google-pixel-tabletSkill
- gadget-google-tv-streamerSkill
- gadget-hp-color-laserjet-pro-m254dwSkill
- gadget-irobot-roomba-braavaSkill
- gadget-lg-webos-tvsSkill
- gadget-logitech-squeezeboxSkill
- gadget-lutron-smart-bridgesSkill
- gadget-meross-smart-plugsSkill
- gadget-miele-g7566-dishwasherSkill
- gadget-moonraker-3d-printersSkill
- gadget-philips-hue-bridgesSkill
- gadget-ratgdo-v32-garage-doorSkill
- gadget-roborock-vacuumsSkill
- gadget-roku-tvs-and-playersSkill
- gadget-samsung-tizen-tvsSkill
- gadget-sonoff-rf-bridgeSkill
- gadget-sonos-speakersSkill
- gadget-teslaSkill
- gadget-tplink-kasa-ep10Skill
- gadget-tplink-kasa-ep25Skill
- gadget-tuya-wifi-devicesSkill
- gadget-unifi-network-consolesSkill
- gadget-velux-klf200Skill
- gadget-vizio-d40f-g9Skill
- gadget-wyze-rtsp-camerasSkill
- gadget-yi-hack-camerasSkill
- gadget-zigbee2mqtt-gatewaysSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 2 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Use this skill when fresh discovery identifies a Shelly Gen 4 plug and the user requests switching or power readings.
- Very specific: line 16
Read /rpc/Shelly.GetDeviceInfo and check model, app, gen, firmware and auth_en.
- Very specific: line 21
Read and follow the Home Link networking and safety rules in ~/docs/devices/home_link.md.
- Very specific: line 24
When auth_en is true, use the documented HTTP/RPC digest authentication with approved stored credentials.
- Very specific: line 29
Read /rpc/Switch.GetStatus?id=0 before acting.
- Very specific: line 32
Read Switch.GetStatus again.
- Very specific: line 36
Check output for relay state and apower for measured watts.
- Distinctive: line 42
Do not create schedules, install scripts, reset or update firmware, or modify protection thresholds under a switching request.
- Very specific: line 44
Prefer explicit on/off to /rpc/Switch.Toggle.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Shelly Plugs (Gen 4): Switching and Power Metering
Use this skill when fresh discovery identifies a Shelly Gen 4 plug and the user requests switching or power readings.
Identify the Device
- Match
_http._tcpmodel/hostname metadata such asShellyPlugUSG4-<device-id>; prefixes and names alone are insufficient. - Read
/rpc/Shelly.GetDeviceInfoand checkmodel,app,gen, firmware andauth_en. Use the current discovered IPv4/port, never a remembered DHCP address. - Gen 1 does not use this RPC path. Gen 2+ API similarity is not a claim that every device has the Gen 4 plug's capabilities.
Prerequisites
Read and follow the Home Link networking and safety rules in ~/docs/devices/home_link.md.
- Identify what is plugged in before switching, especially networking, heating, medical or other consequential loads.
- When
auth_enis true, use the documented HTTP/RPC digest authentication with approved stored credentials; the device username isadmin. Never place the password in a command.
Workflow
- Confirm identity, then read
/rpc/Shelly.GetStatusand the intended switch component. Shelly Plug US Gen 4 uses switch ID 0; confirm component IDs on other compatible hardware. - Read
/rpc/Switch.GetStatus?id=0before acting. Retainoutput,apowerand relevant fault flags. - Request the desired state with
/rpc/Switch.Set?id=0&on=trueoron=false. A write remains a state-changing action even when the vendor uses an HTTP GET endpoint. - For an explicitly requested temporary action,
Switch.Setacceptstoggle_after=<seconds>so reversal runs on the plug; explain the timer and its consequences before setting it. - Read
Switch.GetStatusagain. TheSwitch.Setreply'swas_onis the previous state, not the resulting state.
Verify the Result
- Check
outputfor relay state andapowerfor measured watts. Relay-on with zero watts may mean an idle or disconnected load, not failed control. - Report actual voltage/current/energy fields and units when exposed;
aenergytotals are in watt-hours. - On an uncertain response, read current state before retrying. Do not use toggle as a retry of an explicit on/off request.
Limits
- Do not create schedules, install scripts, reset or update firmware, or modify protection thresholds under a switching request.
- Gen 4 may expose illuminance, MQTT, BLE or Matter, but those are not assumed alternative runtime paths here.
- Prefer explicit on/off to
/rpc/Switch.Toggle; persistentSwitch.SetConfigchanges need their own requested scope.
Sources
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

