agentleFS
facebookincubatorfacebookincubator/muse-gadget-sdk/skills/gadget-apple-tv-4k/SKILL.md

gadget-apple-tv-4k

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

Control Apple TV 4K remote keys, installed apps, keyboard input, and supported sleep/wake actions through Muse Home Link. Use with compatible local pyatv services and normal user-approved pairing.

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

7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when discovery and device information identify an Apple TV 4K with supported local services.

    line 11
  2. Distinctive:

    Read the connected client's feature availability.

    line 16
  3. Very specific:

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

    line 20
  4. Distinctive:

    Read device information, features, power state and available now-playing state before choosing a command.

    line 29
  5. Distinctive:

    If pairing expires or is revoked, re-establish normal pairing with the user rather than repeatedly issuing controls.

    line 38
  6. Very specific:

    Do not recommend play_url on tvOS 26.6.

    line 42
  7. Distinctive:

    No UDP media streaming, account switching, screenshots, configuration bypasses or signed-in Mac dependency.

    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

Apple TV 4K

Use this skill when discovery and device information identify an Apple TV 4K with supported local services.

Identify the Device

  • Confirm the generation, OS build and service endpoints. Example identifiers are AppleTV6,2 for first generation and AppleTV11,1 for second generation.
  • Read the connected client's feature availability; do not assume all generations, apps and firmware expose the same controls.

Prerequisites

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

  • A compatible pyatv client using HomeLink TCP transport and current discovered service data.
  • Normal user-approved on-screen PIN pairing for each required protocol, typically Companion and/or AirPlay. Store the resulting credentials securely and retain session encryption.
  • A person able to read a pairing PIN when needed. Do not print credential storage or loosen the TV's access settings as a workaround.

Workflow

  1. Reuse valid pairing credentials; if absent, request normal pairing with the user and complete the displayed PIN challenge for the chosen protocol.
  2. Read device information, features, power state and available now-playing state before choosing a command.
  3. Send only the requested supported remote key or sleep/wake action. Wake may also affect a connected display via HDMI-CEC.
  4. For app launch, obtain app identifiers from app_list and launch the selected installed app. For keyboard entry, confirm text focus and send the user's intended text using the supported keyboard API.
  5. Inspect available state after the action. The reported app is generally the now-playing app, not proof of which app is currently in the foreground.

Verify the Result

  • Confirm power or playback state where available. Remote-key success does not guarantee the intended on-screen navigation outcome.
  • For text/app actions without reliable state feedback, ask for visual confirmation rather than claiming success from an accepted command.
  • If pairing expires or is revoked, re-establish normal pairing with the user rather than repeatedly issuing controls.

Limits

  • Do not recommend play_url on tvOS 26.6; request acceptance does not ensure playback.
  • No UDP media streaming, account switching, screenshots, configuration bypasses or signed-in Mac dependency.

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.