Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

mockdevice-testing

Skill by facebook

MockDeviceKit simulates Meta glasses so developers can test DAT SDK integrations on iOS without physical hardware. It is aimed at developers who need repeatable tests for glasses camera, touchpad, display and permission flows.

  • Score 66
  • 599 stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install mockdevice-testing

Built from the published package, never by AI.

git clone --depth 1 https://github.com/facebook/meta-wearables-dat-ios /tmp/meta-wearables-dat-ios && mkdir -p ~/.claude/skills && cp -r /tmp/meta-wearables-dat-ios/plugins/mwdat-ios/skills/mockdevice-testing ~/.claude/skills/mockdevice-testing

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install mockdevice-testing in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

MockDeviceKit is a testing kit for iOS that simulates Meta glasses, so developers can test DAT SDK integrations without physical glasses. Developers get a simulated device through MockDeviceKit.shared and pairGlasses(model:). The simulated glasses expose camera, captouch and display services, and the kit can simulate power, fold, wear, battery, charging and thermal states.

Permission results can be controlled without the Meta AI app, and camera feeds can come from a video file, the phone's own camera or an image file. The kit is added to an Xcode target through Swift Package Manager as part of the meta-wearables-dat-ios package. It is meant for developers writing XCTest suites or testing the CameraAccess sample app.

Written from the project's SKILL.md and checked against it.

What it can do

  • MockDeviceKit.sharedEntry point for creating, pairing, unpairing and disabling simulated devices.
  • pairGlasses(model:)Creates a simulated Meta glasses device for a chosen GlassesModel case.
  • MockCameraKitSimulates a camera with a configurable video feed and photo capture.
  • MockCaptouchKitSimulates touchpad input with tap() and tapAndHold().
  • MockDisplayKitSimulates a Display surface for MWDATDisplay content.
  • MockPermissionsControls DAT permission status and request results without the Meta AI app.
  • Device state simulationSimulates powerOn, unfold, don, doff, fold and powerOff for a device.
  • Battery and thermal simulationSets battery level, charging state and thermal level on a simulated device.
  • Mock camera feedsStreams from a video file, the phone camera or a set captured image.

What you need

  • iOS
  • Swift Package Manager
  • meta-wearables-dat-ios package
  • MWDATDisplay, only for Display testing

Try asking

  • Set up a simulated Ray-Ban Meta device in my iOS XCTest base class
  • Simulate a denied camera permission and check my app's error handling
  • Use a video file as the mock camera feed for my streaming test

Good to know

  • Mock devices appear in devicesStream only after they are powered on and unfolded.
  • Permissions are simulated, not granted through the Meta AI app.
  • The video format listed is h.265 (HEVC), and the samples ship an .mp4 file.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/mwdat-ios/skills/mockdevice-testing/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to mockdevice-testing

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

mockdevice-testing: common questions

Does MockDeviceKit need physical Meta glasses?

No. The source says MockDeviceKit simulates Meta glasses behavior for development and testing without physical glasses.

Which platform does MockDeviceKit support?

The source covers iOS testing with the DAT SDK, and the setup uses Swift Package Manager and the meta-wearables-dat-ios package.

Can I simulate a Display device?

Yes. Use the metaRayBanDisplay model, add MWDATDisplay to the target, and then use the normal DeviceSession.addDisplay() API.

How do I install mockdevice-testing?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is mockdevice-testing free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is mockdevice-testing safe to use?

It scores 66 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to mockdevice-testing?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

mockdevice-testing Install

Add to stack

Loading.