Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

lynx-devtool

БесплатноЗапускает вложенные скриптыНе проверен

Debug live Lynx apps, pages, and devices with the agent-lynx CLI or Node.js connector. Use for client/session discovery, UI snapshots and @eN ref actions…

lynx-communityот lynx-community★ 28 звёзд на GitHub

Об этом скилле

agent-lynx DevTool Skill

Interact with Lynx applications through the agent-lynx CLI.

Start Here

  1. Match the goal in the Reference Map below and read only its linked reference file before acting.
  2. Discover the target with agent-lynx list-clients and, when needed, agent-lynx list-sessions --client <clientId>.
  3. When multiple clients or sessions exist, pass explicit --client and --session flags on every command.
  4. Run the command, preserve structured stdout, and report the selected target plus any saved artifact path.

If command -v agent-lynx fails, run via pnpx:

pnpx agent-lynx <command>

For programmatic use (agent-lynx/connector), install agent-lynx in a temporary directory under /tmp rather than modifying the user's project (unless explicitly asked for a project integration), and read Library Usage first:

agent_lynx_tmp="$(mktemp -d /tmp/agent-lynx.XXXXXX)" &&
  cd "$agent_lynx_tmp" &&
  pnpm add agent-lynx

Connection Mode

Online CLI commands share a local connector daemon (127.0.0.1:21783) by default so independent CLI calls reuse one physical DebugRouter connection.

  • Snapshot/ref commands (snapshot, tap, long-press, fill, clear, scroll, get, wait, screenshot) reactlynx, and simulator require daemon mode.
  • --no-daemon bypasses the daemon for a single direct invocation. Stop the daemon (agent-lynx daemon stop) first when direct mode could compete for the same target.
  • ADB_SERVER_SOCKET, ANDROID_ADB_SERVER_ADDRESS, and ANDROID_ADB_SERVER_PORT configure only --no-daemon; daemon mode ignores them with a stderr warning.

For local bundles and page-env authoring, load lynx-simulator with agent-lynx skills get lynx-simulator.

Reference Map

Read the specific reference in the third column on demand.

Goal Primary command Reference
Discover or wait for a client list-clients, wait-for-client List Clients, Wait For Client
List page sessions list-sessions List Sessions
Open a URL open <url> Open Page
Capture element tree & act on @eN refs snapshot, tap, long-press, fill, clear, scroll, get, wait Snapshot and Ref Actions
Capture a labeled Agent screenshot screenshot [--annotate] Annotated Screenshots
Resolve a node or @eN ref to source get-source-info <nodeId|@eN> Get Source Info
Read or watch console logs get-console Get Console
Evaluate JavaScript in a Lynx VM evaluate <expression> Evaluate JavaScript
Print the browser inspector URL inspect Inspect in Browser
Inspect or toggle DevTool global switches global-switch list/get/set Global Switch
Inspect, find, link, or mutate ReactLynx components reactlynx ... ReactLynx
Send a host App command app -m <method> Supported App Methods, then the method page
Send LynxView or WebView CDP cdp -m <method> Supported CDP Methods, then the method page
Query global Lynx memory usage cdp -s -1 -m Memory.getAllMemoryUsage Memory.getAllMemoryUsage
Enumerate parsed scripts get-sources Get Sources
Capture a direct CDP screenshot take-screenshot Take Screenshot
Capture full scrollable node content take-content-screenshot Take Content Screenshot
Capture a QuickJS heap snapshot take-heap-snapshot Take Heap Snapshot
Record or query a Perfetto trace trace ... Performance Trace
Encode or decode a TASM template tasm encode/decode TASM Template Codec
Record interactions into a TestBench replay recorder start/end Recording
Manage local Lynx Simulator processes simulator ... Local Lynx Simulator
Inspect, start, or stop the local daemon daemon status/start/stop Daemon Lifecycle
Browse global options, env vars, and all commands help, <command> --help Command Reference Index
Diagnose discovery, daemon, or command failures varies Troubleshooting Index

CDP and App Boundaries

Полный SKILL.md на GitHub

Установить lynx-devtool в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

bin.mjsexamples/app.mdexamples/cdp.mdexamples/evaluating-javascript.mdexamples/get-sources.mdexamples/getting-console-logs.mdexamples/inspecting-the-dom.mdexamples/main-thread-logs-and-properties.mdexamples/open.mdexamples/programmatic-debugging.mdexamples/programmatic-touch-click-and-double-click.mdexamples/redirect-with-development-url.mdexamples/take-screenshot.mdexamples/touch-using-dom-coordinates.mdexamples/touch-using-lynx-geometry.mdexamples/touch-using-screenshot-coordinates.mdpackage.jsonreferences/app/App.CallStaticVoidMethod.mdreferences/app/App.closePage.mdreferences/app/App.openPage.mdreferences/app/index.mdreferences/cdp/css/CSS.getBackgroundColors.mdreferences/cdp/css/CSS.getComputedStyleForNode.mdreferences/cdp/css/CSS.getInlineStylesForNode.mdreferences/cdp/css/CSS.getMatchedStylesForNode.mdreferences/cdp/css/CSS.getMediaQueries.mdreferences/cdp/css/CSS.getStyleSheetText.mdreferences/cdp/css/index.mdreferences/cdp/debugger/Debugger.getPossibleBreakpoints.mdreferences/cdp/debugger/Debugger.getScriptSource.mdreferences/cdp/debugger/index.mdreferences/cdp/dom/DOM.describeNode.mdreferences/cdp/dom/DOM.disable.mdreferences/cdp/dom/DOM.discardSearchResults.mdreferences/cdp/dom/DOM.enable.mdreferences/cdp/dom/DOM.focus.mdreferences/cdp/dom/DOM.getAttributes.mdreferences/cdp/dom/DOM.getBoxModel.mdreferences/cdp/dom/DOM.getDocument.mdreferences/cdp/dom/DOM.getDocumentWithBoxModel.md

FAQ

Что делает скилл lynx-devtool?

Debug live Lynx apps, pages, and devices with the agent-lynx CLI or Node.js connector. Use for client/session discovery, UI snapshots and @eN ref actions, annotated screenshots, DOM/CSS or ReactLynx inspection, JS evaluation, console logs, and CDP/App commands on Android, iOS, or Desktop.

Как установить скилл lynx-devtool?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл lynx-devtool запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить lynx-devtool с