/lynx:lynx-devtoolfrom lynx
Debug live Lynx apps, pages, and devices using agent-lynx CLI or Node.js connector. Supports client/session discovery, UI snapshots, ref actions, annotated screenshots, DOM/CSS/ReactLynx inspection, JS evaluation, console logs, and CDP/App commands on Android, iOS, or Desktop.
Ships in lynx. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Interact with Lynx applications through the agent-lynx CLI.
agent-lynx list-clients and, when needed, agent-lynx list-sessions --client <clientId>.--client and --session flags on every command.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
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, 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.
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 |
type is not "web"): Read Supported CDP Methods before sending raw cdp; Lynx implements a subset of standard CDP plus Lynx extensions.type: "web"): Use standard Chrome DevTools Protocol methods; Lynx-specific extensions return method not found. Check type in list-sessions rather than guessing from an HTTP/HTTPS URL.--thread main supports only Debugger.*, Runtime.*, HeapProfiler.*, and Profiler.*. Default is background.-s -1 only for app-global handlers such as Memory.getAllMemoryUsage.agent-lynx app.bin.mjs (opens in a new tab)examples/app.md (opens in a new tab)examples/cdp.md (opens in a new tab)examples/evaluating-javascript.md (opens in a new tab)examples/get-sources.md (opens in a new tab)examples/getting-console-logs.md (opens in a new tab)examples/inspecting-the-dom.md (opens in a new tab)examples/main-thread-logs-and-properties.md (opens in a new tab)examples/open.md (opens in a new tab)examples/programmatic-debugging.md (opens in a new tab)examples/programmatic-touch-click-and-double-click.md (opens in a new tab)examples/redirect-with-development-url.md (opens in a new tab)examples/take-screenshot.md (opens in a new tab)examples/touch-using-dom-coordinates.md (opens in a new tab)examples/touch-using-lynx-geometry.md (opens in a new tab)examples/touch-using-screenshot-coordinates.md (opens in a new tab)package.json (opens in a new tab)references/app/App.CallStaticVoidMethod.md (opens in a new tab)references/app/App.closePage.md (opens in a new tab)references/app/App.openPage.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
lynx-devtool, agent-lynx, mobile-debugging, ui-inspection, cdp
npx claudepluginhub lynx-community/skills --plugin lynx15 skills in this plugin
/agent-lynxagent-lynx is Lynx for your agent, providing a CLI and a set of sub-skills for your Lynx tasks: lynx-devtool: Android/iOS/Desktop DevTool/CDP/App/connector debugging, DOM/CSS/ReactLynx, UI snapshots/ref actions, annotated screenshots, sources, runtime/console logs and reload/open; lynx-trace-record/lynx-trace-analysis: performance trace capture/export/validation & analysis; lynx-recorder/lynx-recorder-fixture: Recorder/Testbench capture/replay diagnosis & fixture editing; lynx-tasm-codec: native TASM (template.js) encode/decode/compare;/lynx-api-docsAuthoritative Lynx engine references for generating, reviewing, migrating, or debugging Lynx TSX/TTML pages, CSS, layouts, selectors, and elements. Use for Lynx-specific styling and Web-to-Lynx differences; always retrieve the relevant installed docs before changing code./Other plugins' skills for the same job