debug-device-over-vusb

debug-device-over-vusb is a skill for Claude Code, Codex from kobiton/automate. It costs 176 tokens per session (7,030 once invoked), scanned A, original, MIT.

A guided workflow for connecting a real Kobiton phone or tablet to your computer through virtualUSB and debugging an app on it.

In plain words
What is it for?
Use it to install and reproduce an Android or iOS app problem on a real device, view Android logs, or make the device appear in ADB or Xcode.
Why use it?
It removes the manual work of installing the connection client, finding a device, connecting it, and cleaning up afterward. It also explains failures in plain language.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also installed under .codex/. Also seen: mentions CLAUDE.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is "My app crashes when I open the cart on a real Samsung. Debug it on a Kobiton device - the build is ./app/build/outputs/apk/debug/app-debug.apk.".

Part of the automate plugin — 6 skills, 2 commands, 1 hook, 1 MCP server shipped together

Good fit Use it to install and reproduce an Android or iOS app problem on a real device, view Android logs, or make the device appear in ADB or Xcode.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/kobiton/automate
agentmods
npx agentmods add skills/kobiton/automate/debug-device-over-vusb

Made for: Claude Code, Codex.

Or install automate, the plugin that ships this one along with the rest of its 6 skills, 2 commands, 1 hook, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for debug-device-over-vusb

README.md
[![agentmods](https://agentmods.dev/badge/skills/kobiton/automate/debug-device-over-vusb/github.svg)](https://agentmods.dev/skills/kobiton/automate/debug-device-over-vusb)
Your own site
<a href="https://agentmods.dev/skills/kobiton/automate/debug-device-over-vusb"><img src="https://agentmods.dev/badge/skills/kobiton/automate/debug-device-over-vusb/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for debug-device-over-vusb

Your own site · 80×15
<a href="https://agentmods.dev/skills/kobiton/automate/debug-device-over-vusb"><img src="https://agentmods.dev/badge/skills/kobiton/automate/debug-device-over-vusb.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 176 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,030 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00176 $0.07030
Opus 5.5 $0.00070 $0.02812
Sonnet 5.5 $0.00035 $0.01406
Haiku 4.5 $0.00018 $0.00703

Measured 3d ago against content hash 0b5e067f3bd2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debug-device-over-vusb 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 3d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/vusb-preflight.sh, scripts/vusb-preflight.test.js, scripts/vusb.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.codex/skills/debug-device-over-vusb/SKILL.md · 241 lines

How it starts

The opening of the file, as written. The whole thing — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Debug on a Real Device over virtualUSB

Overview

Attach a real Kobiton device to the user's own machine over virtualUSB and debug the user's app on it the way they would with a phone on their desk: it shows up in adb devices (Android) or Xcode's device list (iOS), so the user's normal install / reproduce / read-the-logs loop works, driven from plain language. The skill owns the whole lifecycle - client install, device discovery, connect, verification, the debug loop, and an unconditional disconnect - and reports every failure as a plain-language meaning plus the next step.

Use it when the user wants to debug or reproduce a problem locally against a real device: "debug my app on a real Pixel", "make the device show up in adb", "get logcat from a real device while I reproduce this", "see the device in Xcode", "plug a Kobiton device into my machine", or any mention of "virtualUSB" / "vusb". For exploratory testing through Kobiton's own session CLI, route to run-interactive-session instead; for an agent-driven flow that should become a test case, drive-automation-session.

Prerequisites

Runs on macOS (any architecture) and Windows (x64 under Git Bash) and needs a persistent local filesystem - it runs a locally cached client binary, reads ~/.kobiton/.credentials, and hands device access to local adb / xcrun. Linux hosts are redirected by the preflight (outcome=redirected (limitation)): tell the user to use a macOS or Windows machine, or run-interactive-session for device access from Linux. See the Skill compatibility matrix in CLAUDE.md.

Before the flow can succeed:

  • virtualUSB client - installed by this skill's own preflight (Step 1), never by the plugin's SessionStart hook or /automate:setup, so only users of this skill download it. The plugin pins one client build in skills/debug-device-over-vusb/VUSB_VERSION; the preflight fetches that build from https://public.kobiton.download/virtualusb/<version>/, verifies its published sha256, and on macOS caches the whole virtualUSB.app bundle under ~/.kobiton/vusb/<version>/. On Windows it caches the verified .msi and prints the install steps for the user (UAC, then vusb setup-adb in an administrator terminal). The wrapper ~/.kobiton/bin/vusb (symlink on macOS, exec-shim on Windows) resolves the binary by absolute path - ~/.kobiton/bin is not on PATH and must not be added.
  • Credentials file - ~/.kobiton/.credentials with KOBITON_USER, KOBITON_API_KEY, KOBITON_PORTAL in the active profile ($KOBITON_PROFILE, default default), written by /automate:setup. ~/.kobiton/bin/vusb login reads it and signs the client in with the API key; the key never appears in the transcript.
  • Kobiton MCP connection - listDevices({virtualUsb: true, …}) is how vUSB-ready devices are found. MCP tool names below are bare (listDevices); the host resolves its registered prefix.
  • Local tooling - adb on PATH for Android; Xcode command line tools (xcrun devicectl) on macOS for iOS. On Windows, adb must be installed before the one-time vusb setup-adb, and an administrator terminal that runs as another account needs adb's folder added to its own PATH (the preflight's hand-off names it).
  • Account and devices - an organization with the virtualUSB add-on and at least one private device whose host machine has virtualUSB enabled with reachable routing (virtual_usb_ready: true). Public cloud devices are never offered.
  • Administrator approval once - on macOS the first connect (and every client version bump) installs the client's background daemon via a GUI administrator dialog; over SSH or without a GUI session this cannot complete. On Windows the .msi needs UAC.

Read the full file on GitHub · 241 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 3d ago Changed · +1 lines 0b5e067f3bd2
  2. 18d ago First seen · 240 lines · 176 tokens per session scan A 2547952c9949

Subscribe to this mod's changes

debug-device-over-vusb is a skill published in the GitHub repository kobiton/automate (14 stars, last pushed 4d ago), licensed MIT. It adds 176 tokens to every session and 7,030 once invoked, about $0.0007 per session on Opus 5.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-10-02.

Related

Other skills, from other repositories

xcodebuildmcp-cli

Official skill for the XcodeBuildMCP CLI. Use when doing iOS/macOS/watchOS/tvOS/visionOS work (build, test, run, debug, log, UI automation).

getsentry/XcodeBuildMCP · 48 tokens

ios-simulator

Verify and debug native, React Native, Expo, or Flutter apps on an iOS Simulator with agent-device. Use when an agent needs to launch an app, inspect its live UI, tap, type, scroll, validate a code change, collect failure evidence, or reproduce a workflow on an iPhone or iPad Simulator.

callstack/agent-device · 69 tokens

spm-build-analysis

Analyze Swift Package Manager dependencies, package plugins, module variants, and CI-oriented build overhead that slow Xcode builds. Use when a developer suspects packages, plugins, or dependency graph shape are hurting clean or incremental build performance, mentions SPM slowness, package resolution time, build…

AvdLee/Xcode-Build-Optimization-Agent-Skill · 87 tokens

xcode-project-analyzer

Audit Xcode project configuration, build settings, scheme behavior, and script phases to find build-time improvements with explicit approval gates. Use when a developer wants project-level build analysis, slow incremental builds, guidance on target dependencies, build settings review, run script phase analysis…

AvdLee/Xcode-Build-Optimization-Agent-Skill · 72 tokens

phone-harness

Use when an agent needs to control a real phone — iPhone via Mac iPhone Mirroring or Android via adb (open apps, tap, type, swipe, OCR the screen). Android path runs on this Linux workstation (adb), targets phonefarm devices. iOS path needs macOS + iPhone Mirroring. Use for phonefarm device debugging, OTP/2FA flows…

oyi77/1ai-skills · 93 tokens

rn-agent-observer

Runtime observability for React Native/Expo apps on Android. Use when debugging RN UI, performance (FPS, JS blocking), network, re-renders, or runtime errors on a running app — understand the current screen and UI findings, capture screenshots, UI trees, ref snapshots, per-request network, CDP console/heap/CPU…

GinzaTech/rn-agent-observer · 102 tokens