What the source did
- He put his smart TV and laptop on the same Wi-Fi and gave Claude Code on Opus 5.5 his prompt plus a photo of the TV's Settings → About screen.
- Claude Code worked out how the TV takes orders. His point: most smart TVs have a remote-control API on the home network, the same one phone remote apps use.
- It wrote a tiny remote with three tools: open Netflix, press a direction or select key, and report what's on screen.
- It plugged that remote into Grok Bot as a custom plugin. In his words, Grok is the ears and the plugin is the hands.
- He pressed Allow on the TV once. After that, "Hey Grok, open Netflix" opens Netflix and the bot browses it on command. His post includes a demo video.
- He says it works on most Samsung, LG and Google TV sets from the last few years. His own was a Samsung.
“1 sentence out loud = Netflix opens and scrolls itself.”— Codez (@0xCodez), X
Summary written by Agent Cookbook from the original post. See the original for the full context. How we source recipes
Our notes
- What it takes
- Claude Code on Opus 5.5 with his full prompt and a photo of your TV's About screen, a Samsung, LG or Google TV with network remote control, a laptop on the same Wi-Fi, a Cloudflare Tunnel, and a Grok Bot plan that allows custom plugins (or his local wake-phrase fallback).
- Where it breaks
- TVs without a network remote API, macOS blocking Local Network access, Netflix profile and sign-in screens, and a tunnel that exposes more than the three remote tools.
- Human checkpoint
- You press Allow on the TV and approve each connection. It stops at profile, sign-in and payment screens and never signs in, buys or rents anything.
- Tools involved
- Grok Bot (a plan that allows custom plugins, or his local fallback), Claude Code on Opus 5.5, A smart TV with network remote control (Samsung, LG or Google TV), A laptop on the same Wi-Fi, A Cloudflare Tunnel
✓ Verified Source link checked and still live. Notes by Thomas, editor. How we verify
Get their template
Made and published by Codez. Start here; it is their original, not ours.
Approval rule
Set it up
- Put the TV and your laptop on the same Wi-Fi.
- Photograph the TV's Settings → About screen.
- Open Claude Code on Opus 5.5 and paste his full prompt (linked above) with the photo.
- Read its five-line explanation of how your TV can be controlled. If it says your TV has no network remote control, stop there.
- Let it install the library for your TV and save the current state and undo commands before it changes anything.
- Press Allow on the TV when it asks to pair.
- Let it build the three-tool remote and connect it to Grok Bot through the token-protected tunnel. If your plan can't use custom plugins, his prompt falls back to a wake phrase on the laptop.
- Run the health check, then say "Hey Grok, open Netflix" and watch the live command log.
Common failures
- A TV without network remote control. His prompt tells the agent to say so and stop, never to root or sideload.
- "No route to host" on macOS. His prompt says the terminal usually needs Local Network access.
- Profile, sign-in or payment screens on Netflix. It stops and hands those to you.
- Exposing too much. Only the three tools should be reachable through the tunnel, behind a secret token.
- A Grok Bot plan without custom plugins. Use the local wake-phrase fallback instead.
Variations
- His post links an @0xMovez article on reverse-engineering devices for more of the same approach.
- Keep the cheat sheet his prompt ends with: start, stop, re-pair the TV and revoke the plugin token.
Get the 10 best agent setups. Free.
Plus new recipes every week. One email, no spam.
Unsubscribe anytime. Privacy