Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By artemnovichkovv0.3.1MITIn 1 marketplace
Lets agents fold and unfold the iPhone Duo simulator to test its inner display and screenshot each screen. Needs macOS, Xcode 27.1 or later and a booted foldable simulator.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
1 marketplace, most starred first
ios-simulator, iphone-duo, foldable-iphone, ui-testing, screenshots, hinge-angle, simulator, foldable
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Let coding agents like Claude Code and Codex fold iPhone Duo while they build and verify your app. hinge ships as an Agent Skill with a bundled CLI.
Ask the agent things like:
Xcode's Device Hub has a hidden hinge slider (hold Option), but nothing scriptable can fold the device, so an agent has no way to test the inner display. Worse, the closest tools exit 0 and change nothing, so an agent carries on as if they worked:
| You want to… | What Xcode offers | hinge |
|---|---|---|
| Fold or unfold | No simctl or devicectl command for the hinge | hinge close, open, half, hinge <degrees>, sweep |
| Know the fold happened | No public way to read the angle back; devicectl 651 has no motion command | Waits until CoreMotion reports the angle, and fails if it doesn't |
| Know which display shows the app | Nothing tells it apart from the hinge angle | hinge posture names the active display |
| Screenshot what's showing | simctl io screenshot fails with Invalid argument on a foldable | hinge screenshot captures the active display |
| Rotate | devicectl device orientation set reports success and is reverted | hinge rotate, orient |
| Target the right simulator | booted picks one of several booted simulators | Picks the only booted iPhone Duo, and never guesses |
skills/hinge is self-contained: it bundles the CLI, so the agent needs nothing else.
skills.sh (Claude Code, Codex, Cursor, and other agents):
npx skills add artemnovichkov/hinge
OpenSkills (any agent that reads AGENTS.md):
npx openskills install artemnovichkov/hinge
npx openskills sync
Claude Code plugin:
/plugin marketplace add artemnovichkov/hinge
/plugin install hinge@hinge
Manually:
git clone https://github.com/artemnovichkov/hinge.git
cp -R hinge/skills/hinge ~/.claude/skills/ # Claude Code
cp -R hinge/skills/hinge ~/.codex/skills/ # Codex
The first run compiles a small helper with Xcode's clang and caches it in ~/.cache/hinge.
The cache keeps one build per helper version and Xcode version, and nothing prunes it.
A foldable has a few traps that make a naive agent report success when nothing changed. The skill covers them:
posture instead of assuming.simctl fails with Invalid argument unless it is told which one to capture. The agent uses hinge screenshot, which captures the display that hosts the UI.hinge picks the only iPhone Duo and refuses to guess between several.devicectl reports success on a foldable but changes nothing. The agent rotates with Device Hub's own event.The same tool works without an agent: from the terminal, scripts, or CI.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub artemnovichkov/hinge --plugin hingePlugins from other owners that cover similar ground