agentleFS
facebookincubatorfacebookincubator/muse-gadget-sdk/skills/gadget-sonoff-rf-bridge/SKILL.md

gadget-sonoff-rf-bridge

Skill2.6k starsChanged 24 days agoApache-2.0View on GitHub

Capture or transmit user-approved fixed-code 433 MHz actions through a stock Sonoff RF Bridge R2 using Muse Home Link. Use compatible HTTP zeroconf firmware, existing device credentials, and a confirmed channel map; not rolling codes.

1 other project uses a version of this, 1 of them edited.

Trending

More talk lately.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 13 mentionsNov 2026: 1 mention
Dec 2025Jun 2026Nov 2026
Mentions a month of the facebookincubator/muse-gadget-sdk repository that our weekly crawl found: only 14 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about facebookincubator/muse-gadget-sdk

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

6 more on GitHub

On Hacker News · 1

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when fresh discovery identifies a compatible stock Sonoff RF Bridge R2 and the user requests an approved fixed-code RF …

    line 11
  2. Very specific:

    Read and follow the Home Link networking and safety rules in ~/docs/devices/home_link.md.

    line 20
  3. Distinctive:

    Do not automatically repeat an uncertain RF transmission: some learned actions toggle state or move a device.

    line 38
  4. Distinctive:

    No companion client is required.

    line 43

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Sonoff RF Bridge R2: Fixed-Code Capture and Transmit

Use this skill when fresh discovery identifies a compatible stock Sonoff RF Bridge R2 and the user requests an approved fixed-code RF action.

Identify the Device

  • Match _ewelink._tcp, exact bridge model and firmware. The HTTP zeroconf service commonly uses 8081; use the discovered endpoint.
  • Firmware 3.x HTTP zeroconf is distinct from older WebSocket recipes. Do not infer compatibility from the radio frequency or brand alone.

Prerequisites

Read and follow the Home Link networking and safety rules in ~/docs/devices/home_link.md.

  • The bridge must already have LAN operation configured and its device ID/devicekey supplied through approved credential storage; no cloud key retrieval is part of this procedure.
  • Maintain a private, user-confirmed channel-to-action mapping. Use channels 0–15; the bridge does not provide a reliable local learned-channel inventory.
  • Confirm the physical target, channel and effect before capture or transmission, particularly doors, alarms and power outlets.

Workflow

  1. Build a fresh request envelope for each command. Derive the 16-byte AES key as the raw MD5 digest of the devicekey; use a fresh random 16-byte IV, AES-128-CBC, PKCS#7 padding and base64 ciphertext/IV.
  2. Encrypt the UTF-8 JSON command payload, then POST to the corresponding /zeroconf/<command> endpoint with sequence (millisecond string), deviceid, literal selfApikey:"123", encrypted data, encrypt:true and iv. Keep all key material out of commands and logs.
  3. For user-requested learning on a confirmed free channel N, send {"cmd":"capture","rfChl":N} to /zeroconf/capture, then ask the user to press the intended remote near the bridge. Do not overwrite an existing mapping without explicit authorization.
  4. For a known learned action, send {"cmd":"transmit","rfChl":N} to /zeroconf/transmit once. Inspect the application response, including any device error, and decode an encrypted response according to its envelope.
  5. Record a confirmed channel assignment privately after successful learning. Do not infer RF device state from the channel map or an uncertain transmit response.

Verify the Result

  • HTTP 200 is not physical proof. Confirm the intended device actually acted, using independent state feedback or the user.
  • A parseable /zeroconf/getState response is not guaranteed; an unsupported-command error does not by itself mean the key is wrong.
  • Do not automatically repeat an uncertain RF transmission: some learned actions toggle state or move a device.

Limits

  • Fixed-code 433 MHz only in this scope; no rolling-code replay, infrared or universal remote support.
  • No companion client is required; the agent may implement the documented envelope. Do not install replacement firmware, extract keys from accounts or create a cloud fallback.

Sources

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.