By krzemienski
HeadSpin device control plugin — HAR-verified auth, device inventory, Appium/socket.io/Janus control planes, exploration, and bug reporting.
npx claudepluginhub krzemienski/headspin-controlHeadSpin device control for Claude Code: skills, slash commands, subagents, hooks, and a bundled MCP server (20 REST tools). Authenticate to a HeadSpin environment, enumerate and lock real devices, drive them over documented REST/Appium surfaces, and — new in 1.1 — run full capture sessions end-to-end (adb lock/shell/start/stop capture, live-validated on real devices 2026-07-03), list capture sessions, pull Waterfall issue-card reports, download session artifacts (HAR network waterfall, screen-recording MP4, device event logs), and read device time series (memory, battery, network, video-quality). Every tool is a real Bearer-REST call, live-validated against api-dev.headspin.io captured sessions on 2026-07-02 (see e2e-evidence/headspin-forge-260702/v11-report-validation/).
7-day visitors to each marketplace page
A Claude Code plugin for driving real devices on a HeadSpin
device farm: authenticate to an environment, enumerate and lock devices, connect and
control iOS / Android, capture full sessions, pull performance reports — and crawl an
app to find real accessibility / UI defects in the application under test. It drives a
live Appium wd/hub session, reads the app's accessibility tree, and flags genuine bugs
(unlabeled controls, undersized touch targets, crashes) with source + screenshot
evidence — through HeadSpin REST, Appium, socket.io, and Janus surfaces.
Every skill and the bundled MCP server call the real HeadSpin API. There are no
mocked responses. The plugin was validated against ui-dev.headspin.io /
api-dev.headspin.io using live captures from the 2026-07-02 session (base HAR +
full-body raw capture; see e2e-evidence/headspin-forge-260702/).
Roku: control WIRE is doc-sourced, but real Roku devices DO exist here. No Roku traffic appears in either capture, so the
headspin-connect-roku/headspin-control-rokuconnect/drive wire shapes come from HeadSpin's Roku/ECP docs, not observed frames. However, a liveGET /v0/deviceson 2026-07-02 returned 3 online, Appium-drivable Roku (YH001N51126312Roku Streaming Stick+,X02600RUALWE+X02600LX08J3Roku Express; driver_url on:7302). Separately, the Roku-shaped serialRFCN80FV2TAis actually a Samsung SM-G981U (Galaxy S20) on Android — not a Roku. Treat the Roku wire as doc-sourced; the devices are real.
Live-validated 2026-07-02 (
func-validation-260702b/VERDICT.md). All 6 original MCP tools were exercised against realapi-dev.headspin.io(login_details, list_devices→34, idevice_info, installer_list, lock, unlock) and the lock lifecycle was proven end-to-end. The socket.io and Janus control planes are reachable and TLS-valid but require the browser-login identity JWT / Janus secret, not the account API token — obtain them via/headspin:login. Exercising any live path needs a real HeadSpin API token for your environment, supplied via config (api_token→HS_API_TOKEN/CLAUDE_PLUGIN_OPTION_API_TOKEN).
Full-system proof — 20/20 tools live-validated 2026-07-05 (
e2e-evidence/headspin-cook-260705/VALIDATION-REPORT.md). One run exercised every MCP tool against the real API: a complete capture lifecycle on a real Galaxy S10 (lock → record → drive YouTube → stop → 6,899,682-byte MP4 + "Audio Too Quiet −30.8 LUFS" issue card + 16 time series pulled to disk), plus a live lock/unlock cycle on a real iPhone 11 proving the iOS REST reservation route. Worked examples below use those actual responses.
New in 1.1 — sessions, reports, Waterfall, device events (LIVE-VALIDATED 2026-07-02,
v11-report-validation/VERDICT.md). Bearer-REST MCP tools (20 total in 1.2.0) list capture sessions, pull the Waterfall issue card, check analysis status, read/download device time series, and download session artifacts. Validated against real captured sessions: a video session returned 31 real time series (memory, battery, net_cpu, video_quality_mos, …), a 3,124,416-byte valid MP4 screen recording (ftypmagic), and a 36 KB device.log.gz that gunzips to real iOS syslog. Two new skills (headspin-reports,headspin-waterfall) and two new commands (/headspin:sessions,/headspin:waterfall). Every example in docs/USAGE.md shows the real captured request/response.
| Type | Count | Items |
|---|---|---|
| Skills | 14 | headspin-login, headspin-list-devices, headspin-connect-ios, headspin-connect-android, headspin-connect-roku, headspin-control-ios, headspin-control-roku, headspin-connection-manager, headspin-session-manager, headspin-explore-bugs, headspin-bug-report, headspin-reports, headspin-waterfall, headspin-capture |
| Commands | 10 | /headspin:setup, /headspin:login, /headspin:devices, /headspin:connect, /headspin:control, /headspin:explore, /headspin:report, /headspin:sessions, /headspin:waterfall, /headspin:capture |
| Agents | 2 | device-explorer, bug-reporter |
| Hooks | 3 | in hooks/hooks.json (token-safety + connection-lifecycle guards) |
| MCP server | 1 | headspin (stdio, stdlib-only) at mcp/headspin_mcp_server.py |
Skills are model-invoked; Claude autonomously chains them. Commands are the explicit
user entry points and are auto-discovered from commands/. Agents come from agents/,
hooks from hooks/hooks.json, and the MCP server from .mcp.json — all standard
plugin locations.
From a marketplace (once published):
/plugin marketplace add <owner>/<marketplace-repo>
/plugin install headspin-control
Local development — add the containing directory as a local marketplace, then install:
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Claude Code marketplace entries for the plugin-safe Agentic Awesome Skills library and its compatible editorial bundles.