Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/webdriverio/desktop-mobile/agents-mdgit clone --depth 1 https://github.com/webdriverio/desktop-mobileWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.02480 | $0.02480 |
| Opus 5 | $0.01240 | $0.01240 |
| Sonnet 5 | $0.00496 | $0.00496 |
| Haiku 4.5 | $0.00248 | $0.00248 |
Grade A, and why
desktop-mobile AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
AI context file for the WebdriverIO Desktop & Mobile Testing monorepo.
Project Overview
This is a monorepo providing WebdriverIO services for automated testing of native desktop and mobile applications.
Supported Frameworks:
- Electron -
@wdio/electron-service(v10.x) - Tauri -
@wdio/tauri-service(v1.x) - Dioxus -
@wdio/dioxus-service(v1.x) - Electrobun -
@wdio/electrobun-service(v0.1.x — macOS via CEF + Windows via the native WebView2 renderer (CDP), incl. multi-window/multiremote; Linux upstream-blocked, and deeplink/multiremote blocked on the macOS CEF path — see the package README) - React Native -
@wdio/react-native-service(v1.0.0-next.x — Android + iOS; native find/tap via Appium (UiAutomator2/XCUITest);execute+mockvia Hermes CDP (debug/Metro build); full mock, deeplink, context switching, logs, parallel workers (multiremote not yet — see #446)) - Flutter -
@wdio/flutter-service(v1.0.0-next.x — Android + iOS; native find/tap via appium-flutter-driver (FLUTTERcontext);execute(Dart expression) +mock(Tier-2 cooperativewdio_flutterDart contract) via the Dart VM Service (debug/profile build); full mock, deeplink, context switching, logs, parallel workers (multiremote not yet — see #446)). Built on@wdio/native-mobile-core.
Planned: the generic @wdio/mobile-service base (ships ahead of Capacitor; React Native & Flutter converge onto it), then Capacitor and Neutralino. See ROADMAP.md for details.
Tech Stack
| Category | Technology |
|---|---|
| Language | TypeScript 5.9+ (strict mode, ESM) |
| Runtime | Node.js 24 LTS |
| Package Manager | pnpm 11.20.0+ |
| Monorepo | Turborepo 2.5+ with pnpm workspaces |
| Testing | Vitest 3.2+ (unit/integration), WebdriverIO 9.0+ (E2E) |
| Linting | Biome 2.2.5 + ESLint 9.37+ |
| Build | TypeScript compiler (dual ESM/CJS) |
Monorepo Structure
packages/
├── electron-service/ # Electron WDIO service
├── tauri-service/ # Tauri WDIO service
├── dioxus-service/ # Dioxus WDIO service
├── electrobun-service/ # Electrobun WDIO service
├── react-native-service/ # React Native WDIO service (Android + iOS via Appium + Hermes CDP)
├── flutter-service/ # Flutter WDIO service (Android + iOS via appium-flutter-driver + Dart VM Service)
├── native-mobile-core/ # Shared Appium-mobile layer (DeviceManager, MobileBaseLauncher, session/caps/deeplink/contexts/logs) — RN + Flutter
├── tauri-plugin/ # Tauri v2 plugin (Rust + JS)
├── dioxus-bridge/ # Dioxus bridge crate (Rust) — IPC, mocking, log forwarding
├── dioxus-embedded-driver/ # Dioxus in-process WebDriver server (Rust)
├── dioxus-driver/ # Dioxus external WebDriver proxy (Rust, Windows 'external' provider)
├── flutter-bridge/ # Flutter app-side contract (Dart, pub.dev wdio_flutter) — execute + mock + emitEvent
├── native-cdp-bridge/ # Shared CDP bridge — single + multi-target (electron, electrobun, RN)
├── native-utils/ # Cross-platform utilities
├── native-types/ # TypeScript type definitions
├── native-spy/ # Spy utilities for mocking
└── bundler/ # Build tool for packages
fixtures/
├── e2e-apps/ # E2E test applications
└── package-tests/ # Package integration test fixtures
e2e/ # End-to-end test suites
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 220 lines · 2,480 tokens per session scan A f27d47174af2
desktop-mobile AGENTS.md is an instructions file published in the GitHub repository webdriverio/desktop-mobile (11 stars, last pushed 6d ago), licensed MIT. It adds 2,480 tokens to every session, about $0.0124 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
buildNext
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
spec-kit AGENTS.md
Instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
langchain AGENTS.md
Instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.