All resources
Guide·7 min read·Claude Code·Jellyfin

Clean Up Your TV With Claude: Both Prompts, Any TV

This is the exact setup from my video. Claude Code does all the work with three open-source GitHub repos. You just tell it your TV's brand, paste two prompts, and press a few buttons on your remote.

What you need

  • Claude Code on your computer. Open Claude and switch to Code.
  • Your computer and your TV on the same Wi-Fi.
  • Your TV's brand. Just "LG" or "Sony" is enough. Claude finds the exact model over your Wi-Fi, you don't need to go digging in the TV's menus.
  • About 15 minutes.

Claude installs everything else it needs on its own, like Python and the Android tools the new home screen is built with.

Which TVs this works on

Now here's the honest part. How far it goes depends on what your TV runs, and Claude works that out from the model it finds on your network.

  • Google TV and Android TV (Sony, TCL, Philips, Xiaomi, Hisense Android sets, Chromecast with Google TV and more): the full clean-up. The ads and the trackers get switched off and you get a brand new home screen.
  • Fire TV (Fire TV sticks and Fire TV Edition sets): the ads and the trackers get switched off. Amazon doesn't let another home screen take over, so you keep the stock one.
  • LG webOS, Samsung Tizen and Roku: it's your TV, so Claude goes as far as each one lets it. It turns on that platform's developer mode, switches off what it can, turns off every ad and tracking setting in the menus, and can block the TV's ad servers for the whole house on your Wi-Fi. Android based TVs still go the deepest.

It's your TV and you can do what you want with it. The lists behind the tool cover 489 tested models from 132 brands, and you can check yours on cleanyour.tv.

The 3 GitHub repos behind it

The first prompt points Claude at these three open-source projects. All three are MIT licensed.

  1. Gathin23/cleanyourtv is the main tool. It switches off the ad, promo and tracking apps over Wi-Fi and builds an Apple TV style home screen. It saves a backup before it touches anything, and nothing gets rooted or deleted, so one script puts it all back.
  2. nguyenduchoai/tv-vibehack is a fork built with Claude Code, with a clean tvOS-style launcher. Its themes are plain config files, so Claude can restyle your home screen without rebuilding anything.
  3. Gathin23/cleanyourtv-website is the code behind cleanyour.tv, with the TV finder and the privacy steps for TVs that aren't Android.

Step 1: Let Claude find your TV

You don't need to look anything up. Claude finds your TV on your Wi-Fi the same way a casting app does, reads its exact model and IP, and tells you what it found.

Then it tells you how to turn on developer mode for your exact TV. It's a few taps on the remote, and it's different per brand:

  • Google TV: Settings > System > About, click Android TV OS build 7 times, then turn on USB debugging in Developer options.
  • Android TV: Settings > Device Preferences > About, click Build 7 times, then turn on USB debugging.
  • Fire TV: Settings > My Fire TV > About, click the name 7 times, then turn on ADB debugging.
  • LG, Samsung, Roku and others: each has its own developer mode, and Claude walks you through the current steps for your model.

If you see a network or wireless debugging switch, turn that on too.

Step 2: Paste the first prompt

Open Claude, switch to Code and paste this. Just put your TV's brand in the brackets, Claude finds the model itself. It stops and waits whenever it needs you to press something on the TV.

Copy-paste this
My TV is an [YOUR TV BRAND, e.g. LG]. It's on the same Wi-Fi as this computer.

Clean it up for me, step by step, and wait for me whenever I need to press something on the TV.

1. Find my TV on the Wi-Fi yourself. Use the discovery protocols TVs broadcast on (SSDP/UPnP, mDNS, DIAL) to read its exact make, model and IP address. Don't make me dig the model out of the TV's menus. Tell me the model you found and let me confirm it.

2. From that model, work out the system: Google TV, Android TV, Fire TV, LG webOS, Samsung Tizen, Roku, Vizio, or Hisense VIDAA. Tell me the plan for that system before you change anything.

3. For Google TV, Android TV and Fire TV, use these open-source repos:
   - github.com/Gathin23/cleanyourtv: clone it, read its README and PROMPT.md and follow them, and look for my model in its examples folder.
   - github.com/Gathin23/cleanyourtv-website: the code behind cleanyour.tv. Use its TV finder to confirm my model.
   - github.com/nguyenduchoai/tv-vibehack: its tvOS-style launcher, if I want the Apple TV look.
   Read every script before you run it and tell me in one line what it does.

4. Turn on the right developer or debug mode for my exact TV and walk me through the few taps on the remote: USB/network debugging on Android TV, Google TV and Fire TV; Developer Mode on LG webOS; Developer mode on Samsung; the developer settings on Roku. Look up the current steps for my model if you're not sure. Then connect over the IP you already found and wait for me to approve it on the TV.

5. Before you change anything, save a full backup of the TV's current state on this computer.

6. It's my TV and I can change whatever I want on it, so go as far as the system allows. Show me the apps and services that serve ads, sponsored rows, shopping, promos and tracking, and switch off the ones I say yes to. Disable them, don't uninstall them, so we can restore. Never touch anything the TV needs to boot, update, stay on Wi-Fi, or play Netflix, YouTube, Prime Video and the other apps I use. On Google TV, check if my saved Wi-Fi depends on the setup app before you touch it.

7. Build and install the clean launcher and set it as my home screen, with my apps in the dock. On Fire TV skip this, Fire OS won't let another launcher take over.

8. For LG, Samsung, Roku and the rest, use that platform's developer mode and tooling to switch off what you can, AND turn off every ad, tracking and viewing-data setting in its own menus (cleanyour.tv has the privacy steps), AND offer to block its ad servers for the whole house with a DNS blocklist on my router.

9. When we're done, turn debugging back off on the TV, show me everything that changed, and give me the one command that puts it all back.

What Claude does with it

  1. It finds your TV on your Wi-Fi and reads its model, then tells you the plan.
  2. It walks you through turning on developer mode, then connects. A box pops up on the TV, tap Allow.
  3. It saves a backup of your TV on your computer.
  4. It shows you the list of ad, sponsored, shopping and tracking apps, and only switches off the ones you say yes to.
  5. It builds your new home screen and makes it the default.

Boom. No more sponsored rows. On a Fire TV you keep the stock home screen, and on LG, Samsung and Roku it does what that platform allows plus the settings and the network ad-blocking.

Step 3: Customize it by talking

Now you can change your home screen just by asking Claude. Try things like:

  • "Make my home screen purple."
  • "Add the weather and put Music first."
  • "Hide every app I never open."
  • "Make the dock bigger and use my own wallpaper."

It edits the launcher's theme and pushes it to your TV.

Step 4: Your own movie app (the second prompt)

This is the custom app from the video. It's Jellyfin, a free, open-source player for the movies and shows you own. Your videos stay in a folder on your computer, and Jellyfin streams them to an app on your TV over your Wi-Fi.

There's a Jellyfin app for Google TV, Android TV, Fire TV, LG, Roku and Apple TV, and most TVs with a built-in media player can see your library too.

Paste this in the same Claude chat, so it already knows your TV:

Copy-paste this
Now I want to watch the movies and shows I own on this TV, from a folder on this computer, in an app on my home screen.

Set it up with Jellyfin (github.com/jellyfin/jellyfin), free and open source:

1. Install Jellyfin Server on this computer from jellyfin.org or my package manager, start it, and make it start with the computer.

2. Ask me which folder my videos are in, then make a Movies library and a TV Shows library from it. Only add files I own, like my own videos or DRM-free purchases.

3. Keep it on my home network only. Don't open any ports to the internet.

4. Get the Jellyfin app onto my TV the right way for its system: its own app store first (Google Play, Amazon Appstore, LG Content Store, Roku Channel Store, or the App Store on Apple TV). If the store doesn't have it, install the official release from Jellyfin's GitHub over the same connection we used before. If my TV can't run the app at all, turn on Jellyfin's DLNA so the TV's own media player can see my library.

5. Sign me in on the TV, put the app first on my home screen, and play one of my files to prove it works.

6. Show me how to add a new movie: drop the file in the folder and the library picks it up.

Step 5: Put everything back

Nothing gets uninstalled, so you can always undo it. Just tell Claude "Put my TV back exactly how it was." It runs the restore from your backup and brings back the stock home screen.

Two things to know:

  • A TV update can switch some of those apps back on. Ask Claude to check your TV again and it fixes them.
  • When you're done, turn debugging back off on the TV. The prompt does this at the end, and your new home screen keeps working without it.

Before you start

This is your own TV, so you can set it up however you like. Just know that changing your TV's software can affect its warranty or support, and Jellyfin is for files you have the rights to, like your own videos or DRM-free purchases. This guide is for educational purposes.

Get the next one first

New prompts every week.

Free. The new drops and the tools behind them, before they hit the feed.

No spam · New issues Sunday · Unsubscribe anytime

Hire me for your business

Ready to invest in a custom build?

Implementation and custom builds start at $5,000 USD. Bring a specific business problem and an approved budget. Learning on your own? Keep exploring the free guides.

Frequently asked questions

Yes, it's your TV so Claude goes as far as each one lets it. Samsung (Tizen) and LG (webOS) work differently from Android, so Claude turns on that platform's developer mode, switches off what it can, turns off every ad and tracking setting in the menus, and can block the TV's ad servers on your Wi-Fi. The deepest clean-up and the new home screen are on Google TV and Android TV, using cleanyourtv.

No. Just tell Claude the brand, like "LG". It finds your TV on your Wi-Fi and reads the exact model itself, the same way a casting app finds your TV.

Yes. Apps get disabled, never uninstalled, and Claude saves a backup before it changes anything. Tell it to put your TV back and it runs the restore.

No. Claude Code runs every command. You paste two prompts and press a few buttons on your remote. If you're new to it, these Claude Code mods are a good next step.

Jellyfin is free and open source. It's not a streaming service. It plays the video files you own from your own computer, like your own videos or DRM-free purchases.