Установка
SKILL.md
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 usegesture-*/ coordinate taps — they don't apply on any TV platform. - Always
describebefore navigating 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 leavesfocusedfalse and marks the highlighted item[selected], so treat[selected]as the cursor when nothing reports[focused]. - Pass the
udidfromlist-devices— an Apple TV simulator UDID or an Android TV / Vegaserial. Dispatch is automatic from the id; the same tools drive all three.
The navigation loop
describe— find the cursor and your target (returns the focused element + all focusable ones, not a tap tree).tv-remote— move focus toward the target. Prefer one call with a path ending inselect, e.g.{button:["down","right","select"]}; count rows/columns from the frames to build the path.describeagain to confirm. On a miss, repeat.
Tools
describe {udid}— focus view: the focused /[selected]element + focusable elements with labels and normalized frames. The discovery tool — call before and after navigating. Empty tree → see the per-platform notes.tv-remote {udid, button}— D-pad / remote.buttonis one key or a whole path (run in one call). Keys:up/down/left/right,select,back,menu,home,playPause, plus media keysrewind/fastForward/next/previous/volumeUp/volumeDown/mute. Single:{button:"down"}; repeat:{button:"down", repeat:3}; path:{button:["up","right","select"]}.keyboard {udid, text}— type into the focused field (focus it withtv-remotefirst). Namedkeypresses (e.g.{key:"enter"}) work on Vega; on Apple TV / Android TV move focus withtv-remoteinstead.launch-app/restart-app/reinstall-app {udid, bundleId}—bundleIdfrom the app manifest. Vegareinstall-apptakesappPath= a.vpkg.screenshot {udid, scale?}— Apple TV viaxcrun simctl io(downscaled); Android TV / Vega host-side viaadb/screencap.
Per-platform
Apple TV (tvOS simulator)
- Boot like any iOS sim (
boot-device); the AX + HID daemons auto-start on the firstdescribe/tv-remote(first call may take a few seconds). Give the RN bundle a few seconds to render before the firstdescribe. - Media-transport / volume keys are rejected — the sim's HID stack ignores them (they work on Android TV / Vega).
- 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. describemay report zero focusables on a screen with visible tiles: manyreact-native-tvosscreens use RN's own focus engine, invisible to the OS accessibility tree.describeauto-falls-back to the full UI tree (and says so in the hint);tv-remotestill moves focus, so drive blind +screenshotto confirm.- Dev build:
adb -s <serial> reverse tcp:8081 tcp:8081, deep-link<pkg>://expo-development-client/?url=http%3A%2F%2F10.0.2.2%3A8081, dismiss the first dev-menu withadb shell input keyevent KEYCODE_DPAD_CENTER(not Back — Back exits the app).
Fire TV (Vega / VVD)
list-devicesshows aserial(use asudid) and avvdImage.boot-device {vvdImage}(e.g."tv") starts the single SDK-managed VVD; skip if one already runs.- Stop the VVD with
vega virtual-device stopin your shell. The CLI only tracks VVDs it started in the foreground, so it may report "not running" for one started viaboot-device; to restart that one useboot-device {vvdImage, force:true}(stops then re-boots). - Empty
describetree →restart-app(the automation toolkit attaches at launch), then retry. Input ignored → enable developer mode in the VVD:vsm developer-mode enable. - Editing
node_moduleshas no effect on a Release build — only Debug.vpkgbuilds load patchable JS. - Profiling / crashes →
amazon-devices-buildertools-mcpserver (analyze_perfetto_traces,get_app_hot_functions,symbolicate_acr); docs via itssearch_documentationtool.
Common gotchas
- Empty focus right after
launch-app/restart-appis the splash / loading window —describeretries internally; wait ~2-3s and retry on a cold start. - Passing a phone/tablet (
runtimeKind: "mobile") udid totv-remotefails with a clear "tvOS-only" / "Android-TV-only" error — pick a TV target fromlist-devices.
Fast Refresh (dev builds)
Needs a Debug build + Metro running. argent only connects to Metro — start Metro and port-forward yourself (any platform). Metro is fixed on :8081.
- Apple TV / Android TV: use the dev-build deep-links above;
npm startfor Metro. - Vega: build/install a Debug
.vpkg(vega device install-app -p <path>),npm start,vega device start-port-forwarding --port 8081 --forward false, thenvega device launch-app -a <appId>. Confirmhttp://localhost:8081/json/listshows aHermes React Nativetarget;.tsxedits then hot-reload.
Debugging the JS runtime (Vega)
Once that same Debug build + Metro setup is in place, the JS-runtime tools work on a Vega VVD: debugger-connect, debugger-status, debugger-evaluate, debugger-log-registry (console logs), view-network-logs, and view-network-request-details. See the argent-metro-debugger skill.
Vega's React Native forks RN 0.72 and serves the legacy Hermes inspector, so three things differ from iOS / Android:
debugger-component-tree,debugger-inspect-element,debugger-reload-metroand thereact-profiler-*/profiler-*tools are not supported. Component-tree and inspect-element are hard-blocked: they needRuntime.addBinding, which this Hermes acknowledges but never installs. The rest are simply unverified on the legacy inspector. Usedescribefor on-screen structure; with both component tools gated off, componentfile:linetracing has no path on Vega.debugger-statusreportsisNewDebugger: false.projectRootis empty (RN 0.72's Metro sends no project-root header), so lookups that resolve paths against the project root return no location.
Вставить в README
Ссылка на карточку для вашего README — без картинок и счётчиков.
[DarkPlay: argent-tv-interact](https://darkplay.ru/ai/skills/software-mansion-argent-argent-tv-interact)
Из того же репозитория
Похожие скиллы и другие разделы каталога
Самые востребованные скиллов раздела по установкам и звёздам.
find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.Соседние разделы каталога: возможно, нужный инструмент живёт там.
learning-output-styleanthropics · Интерактивный режим обучения, который запрашивает содержательные правки кода в ключевых…
ralph-wiggumanthropics · Интерактивные самореферентные циклы ИИ для итеративной разработки. Claude многократно…
ruflo-browserruvnet · Агентная автоматизация браузера на Playwright для тестирования, скрапинга и…
agent-browservercel-labs · Автоматизирует взаимодействия в браузере для веб-тестирования, заполнения форм…
alloydbanthropics · Создание, подключение и работа с базой данных и данными AlloyDB для PostgreSQL.
alloydb-omnianthropics · Создание, подключение и работа с базой данных и данными AlloyDB Omni.
cloud-sql-mysqlanthropics · Подключение и работа с базой данных Cloud SQL for MySQL и её данными.
cloud-sql-postgresqlanthropics · Создание, подключение и работа с базой данных Cloud SQL for PostgreSQL и её данными.
code-modernizationanthropics · Модернизация устаревших кодовых баз (COBOL, старые Java/C++, монолитные веб-приложения) с…
datahub-skillsanthropics · Инструментарий разработки и работы с DataHub: планирование коннекторов, ревью PR, поиск…Лучшие ИИ-инструменты для генерации видео
Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,
VEED.IOVeed
MootionMootion
Sora (OpenAI)OpenAI
viralpulse.appViralpulse
Viral Maker AIViral-makerЛучшие ИИ-инструменты для генерации текста и копирайтинга
Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра
NeuroscribeNeuroscribe
GoGPTGogpt
НейроТекстерNeuro-texter
ChatGPTOpenAI
Cosmo ScribeCosmoscribe
Memo HelperCopilot33
LibraChatLibrachatЛучшие ИИ-инструменты для генерации изображений
Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты
MagviMagvi
DALL-E 3OpenAI
SupaLabSupalab
Freestyling.aiFreestyling
ArtGeneration.meArtgeneration
BigjpgBigjpg
Художник от VKVK
Avato AI12ai
Virton AIVirton