Skip to main content

Build

Argent Tv Interact

argentOfficialCertified

Control Apple TV (tvOS), Android TV (leanback), and Fire TV (Vega) via Argent (D-pad remote, focus tree, Vega JS debugging). Use when targeting runtimeKind "tv", platform "vega", or a TV app.

  • New
  • v1.0.1
  • No reviews yet

Capabilities

  • Tools

  • Fast Refresh (dev builds)

    Needs a Debug build + Metro running

Getting started

Full instructions

Install the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.

Instructions: SKILL.mdv1.0.1

Argent TV (Apple TV + Android TV + Fire TV)

Critical

  • A TV is focus-driven, not touch-driven. Drive every interaction with describe + tv-remote + keyboard; never use gesture-* / coordinate taps; they don't apply on any TV platform.
  • Always read the focus view before navigating (describe, or the tree the last action returned) to find the live cursor and your target; never guess focus from a screenshot. The cursor is the focused element; on Vega the toolkit often leaves focused false and marks the highlighted item [selected], so treat [selected] as the cursor when nothing reports [focused].
  • Pass the udid from list-devices: an Apple TV simulator UDID or an Android TV / Vega serial. Dispatch is automatic from the id; the same tools drive all three.
  • E2E tests: Vega only. Apple TV and Android TV have no e2e support (a tap: can pass without doing anything): report that limitation.
  • Fire TV (Vega) (platform: "vega" in list-devices): read references/vega.md before driving it. It covers booting and stopping the VVD, Fast Refresh, and debugging the JS runtime.

The navigation loop

  1. describe: find the cursor and your target.
  2. tv-remote: move focus toward the target. Prefer one call with a path ending in select, e.g. {button:["down","right","select"]}; on Vega, count rows/columns from the frames to build the path. The Apple TV / Android TV focus view is a flat list with no positions: count from the list order, and read the grid's shape from the screenshot.
  3. Read where focus landed from the focus view returned under --- Elements after action (describe) ---; call describe only when that section is missing. To wait for focus to land on Apple TV, await-ui-element {condition:"exists", selector:{text:"X", role:"focused"}}. On a miss, repeat.

Tools

describe, tv-remote and keyboard descriptions cover the TV behaviour (focus view, remote keys and paths, text-only typing). Beyond them:

  • launch-app / restart-app / reinstall-app take the bundleId from the app manifest.

Per-platform

Apple TV (tvOS simulator)

  • Boot like any iOS sim (boot-device); the first describe / tv-remote starts the AX + HID daemons (a few seconds).
  • Dev build: open-url {udid, url:"<scheme>://expo-development-client/?url=http%3A%2F%2F<HOST_IP>%3A8081"} (<HOST_IP> = your Mac's LAN IP, shown on the launcher).

Android TV (leanback emulator)

  • Boot the leanback AVD like any emulator; see argent-android-emulator-setup.
  • Dev build: open-url <scheme>://expo-development-client/?url=http%3A%2F%2F10.0.2.2%3A8081 (<scheme>: the app's URL scheme, or its package name if it sets none), then dismiss the first dev menu with tv-remote select (not back: it exits the app).

Fast Refresh (dev builds)

Needs a Debug build + Metro running. argent only connects to Metro: start Metro yourself, and forward the port where the app needs it (Android: argent-metro-debugger §1; Vega: references/vega.md).

  • Apple TV / Android TV: use the dev-build deep-links above; npm start for Metro.
  • Vega: see references/vega.md.

Explore more skills

Browse all
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

More from argent

View source →

Frequently asked questions about argent-tv-interact

What does the argent-tv-interact skill do?

Control Apple TV (tvOS), Android TV (leanback), and Fire TV (Vega) via Argent (D-pad remote, focus tree, Vega JS debugging). Use when targeting runtimeKind "tv", platform "vega", or a TV app. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the argent-tv-interact skill?

Run `npx @skills-hub-ai/cli install argent-tv-interact` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/argent-tv-interact/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does argent-tv-interact work with?

argent-tv-interact runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the argent-tv-interact skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use argent-tv-interact after installing it?

In Claude Code, type `/argent-tv-interact` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the argent-tv-interact skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.

Badge for your README

Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.

Install on Skills Hub badge preview
Markdown
[![Install on Skills Hub](https://skills-hub.ai/api/badges/skill/argent-tv-interact)](https://skills-hub.ai/skills/argent-tv-interact)
HTML
<a href="https://skills-hub.ai/skills/argent-tv-interact"><img src="https://skills-hub.ai/api/badges/skill/argent-tv-interact" alt="Install on Skills Hub"></a>

More options in the badge docs.