devicehubctl SKILL.md skillA

devicehubctl from christhoma/devicehubctl is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add christhoma/devicehubctl/devicehubctl@git:20261107.8c7acc1

Pins git:20261107.8c7acc1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
christhoma/devicehubctl
Path
skills/devicehubctl/SKILL.md
Versions recorded
5
Latest version
git:20261107.8c7acc1, committed Nov 7, 2026
First version recorded
Oct 28, 2026
Size
9,486 bytes
Repository stars
3
License
MIT

Fold and unfold an iPhone Duo simulator (closed, partially open, open) or sweep its hinge to any angle, rotate any iOS simulator, read the simulated screen, and tap, long-press or drag on it through Xcode 27's DeviceHub with the `devicehubctl` command-line tool. Use when a task needs a Duo pose or a hinge angle (UIHingeInteraction), Split View on a Duo, the Duo's inner display, a rotation or landscape coverage, or when idb or a simulator MCP server's tree, tap and swipe tools fail on an iPhone…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# devicehubctl

simctl has no command to rotate a simulator or change an iPhone Duo's pose.
DeviceHub, which replaced Simulator.app in Xcode 27, has no AppleScript dictionary,
and System Events sees no UI in it. `devicehubctl` reaches DeviceHub's window
through the accessibility API and presses the same buttons a person would.

If `devicehubctl` isn't on PATH, install it from
https://github.com/ChrisThoma/devicehubctl (`swift build -c release`) or ask the
user to.

## Commands

```sh
devicehubctl <udid> pose closed|partial|open   # iPhone Duo only
devicehubctl <udid> hinge <degrees> [seconds] [--fade|--continuous]   # any angle, Duo only
devicehubctl <udid> hinge timeline <degrees>[:<seconds>[:<hold>]] ...
devicehubctl <udid> hinge replay fast|medium|slow [open|close|both]   # a real Duo's fold
devicehubctl <udid> rotate [times]             # 90° right each time
devicehubctl <udid> controls                   # the bar under the device
devicehubctl <udid> press "<label>"            # any of those, e.g. Home
devicehubctl <udid> tree                       # what's on the device's screen
devicehubctl <udid> tap "<label or id>"        # tap something listed by tree
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add christhoma/devicehubctl/devicehubctl@sha256:b452a488fb940516

The line at the top of this page pins the label git:20261107.8c7acc1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_auvv3higdmuralnr.svg)](https://markdownregistry.com/a/art_auvv3higdmuralnr)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Oct 28, 2026 and Nov 7, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
git:20261107.8c7acc1 latest2026-11-07 8c7acc1 9,486 BA view · diff
git:20261107.17d58e52026-11-07 17d58e5 9,414 BA view · diff
git:20261029.3e58be22026-10-29 3e58be2 7,687 BA view · diff
git:20261029.955cf952026-10-29 955cf95 7,643 BA view · diff
git:20261028.f0bddc82026-10-28 f0bddc8 7,476 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9486 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

christhoma/devicehubctl · 3 stars · license MIT · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_auvv3higdmuralnr
GET https://markdownregistry.com/api/v1/resolve?ref=christhoma/devicehubctl/devicehubctl
GET https://markdownregistry.com/api/v1/blob/b452a488fb9405165562a59b09eb4188141b096413fbfaafe86d9b28824c131b

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

Browse by kind, by grade A, or by owner.